C
C#11mo ago
MrScautHD

❔ Is there a way to override a Variable in the .csproj by a project that is reference this project?

Is there a way to override a Variable in the .csproj by a project that is reference this project?
6 Replies
senox13
senox1311mo ago
Oh hey, I recognize you 👋 It seems like you can override .csproj properties using a .targets file? It might help if you specify exactly what you want to override https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-your-build
Accord
Accord11mo ago
Was 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.
MrScautHD
MrScautHD11mo ago
oh ok But just API user can override it so that no player of the game... can change this variable just the developers but not in the final product
senox13
senox1311mo ago
Well yeah, if you build your project for distribution, the .csproj will not be included. It's exclusively a development construct
MrScautHD
MrScautHD11mo ago
Is there a nuget packet for MSBuild?
Accord
Accord11mo ago
Was 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.