❔ 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
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
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.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
Well yeah, if you build your project for distribution, the .csproj will not be included. It's exclusively a development construct
Is there a nuget packet for MSBuild?
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.