3F / MvsSln

🧩 Customizable VisualStudio .sln parser with project support (.vcxproj, .csproj., …). Pluggable lightweight r/w handlers at runtime, and more …
MIT License
135 stars 27 forks source link

The format `Debug` of configuration is not supported #19

Closed 3F closed 4 years ago

3F commented 4 years ago

https://github.com/3F/DllExport/issues/114

The problem is that some plugins can avoid an platform records at all:

GlobalSection(ProjectConfigurationPlatforms) = postSolution
    {CDCFC754-DC29-4F73-A4B1-C9427BD43D0D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    {CDCFC754-DC29-4F73-A4B1-C9427BD43D0D}.Debug|Any CPU.Build.0 = Debug|Any CPU
    {CDCFC754-DC29-4F73-A4B1-C9427BD43D0D}.Release|Any CPU.ActiveCfg = Release|Any CPU
    {CDCFC754-DC29-4F73-A4B1-C9427BD43D0D}.Release|Any CPU.Build.0 = Release|Any CPU
    {C44BFE7A-DBED-411A-8073-C88663B18ADC}.Debug|Any CPU.ActiveCfg = Debug
    {C44BFE7A-DBED-411A-8073-C88663B18ADC}.Release|Any CPU.ActiveCfg = Release
EndGlobalSection

Debug|Any CPU.ActiveCfg = Debug is not valid for current processing

https://github.com/3F/MvsSln/blob/7d7fb00edb48b896b0b464f19850c41e95444e58/MvsSln/Core/SlnHandlers/LProjectConfigurationPlatforms.cs#L153-L155