C
C#16mo 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
senox1316mo 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
Accord16mo 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
MrScautHDOP16mo 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
senox1316mo ago
Well yeah, if you build your project for distribution, the .csproj will not be included. It's exclusively a development construct
MrScautHD
MrScautHDOP16mo ago
Is there a nuget packet for MSBuild?
Accord
Accord16mo 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.
Want results from more Discord servers?
Add your server