Sharpmake is an open-source C#-based solution for generating project definition files, such as Visual Studio projects and solutions, GNU makefiles, Xcode projects, etc.
Apache License 2.0
922
stars
168
forks
source link
Added Configuration.Name and Configuration.Platform into output .csproj #360
Configuration Names and Platforms are now generated inside the .csproj description and now show up as proper configurations in visual studio .
Changes include:
Modification to ProjectDescription in Csproj.Template to no longer contain PropertyGroup begin/end tags
Added ConfigurationsItemBegin ConfigurationsItemEntry ConfigurationsItemEnd properties for generating configuration names
Added PlatformsItemBegin PlatformsItemEntry PlatformsItemEnd properties for generating platforms for project configurations
Modification to how ProjectDescription is generated when Generate() is called.
First it writes a PropertyGroupStart, writes ProjectDescription then writes ConfigurationItemBeing/Entry/End items and PlatformsItemBegin/Entry/End items and finally writes a PropertyGroupEnd
Issue: #359
This is my attempt at fixing this issue.
Configuration Names and Platforms are now generated inside the .csproj description and now show up as proper configurations in visual studio .
Changes include: