ā MSBuild is it possible to set a additonal property?
Hello i tried already:
Main Project:
Project that referencing this ^^
But idk why i does not work
Do i use the right nuget packet?
2 Replies
no?
wich one need i to use?
oh
how can i get that one for doing the build thing?
š
oh so i do not place it there?
Well that is what i use right now should fine right?
so i just need to get the right nuget packet
?
do i not need MSBuild for it?
oh
But why does it not work then?
That is my full .csproj
And with this project i try to override the value
i made a method in Sparkle ( Main project ):
and when i set it in the Test project to true
<EnableMyFeature>true</EnableMyFeature>
i can still not call this method
thx š
is there no other way?
Because then i set it with a command
cuold i not override it with a project variable
because i saw allot of users that did it like that
so get this fixed in future?
so, is there already a issue made on github?
oh ok
well i did it now like that:
š
oh but i can not use the Headless variable
in the project that refernce to this
ah thx
btw just a question is it possible to mark methods as headless with a attribute
i know something like that exists
but that is just working on methods
and not for classes
Or would it possible to do my own and remove all classes and methods from the the compiler?
oh ok
because if i write everywhere #if.... it could go messy
and a atttribute look very fine for that
but both would amazing
or is there a attribute that can check if a variable true?
a normal boolWas this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.