![]() Last-ditch effort: Add another constant as the last oneĭo you see the “TRACE” constant in the DefineConstants node above? That’s not a build configuration!.Okay, so I know this sounds nonsensical from the get-go, but hear me out!įor whatever reason, Visual Studio sometimes messes up parsing the PropertyGroup your build constants live inside unless it has a Condition set up. Add a redundant condition to your PropertyGroup. ![]() Make sure your build constants exist in the project file.If not, feel free to add them – because they really do need to be there :) Should be one of the first things in the file: Make sure your configurations exist in the project file.This can be done by clicking the project file with the right mouse button, and then selecting “Edit Project File”. This guide presumes you’ve already created the configuration from the Configurations -dropdown: (Prerequisite) Make sure you have added an additional configuration.How to expose a project configuration as a build directive?
0 Comments
Leave a Reply. |