Page 2 of 2

Re: Opening included samples gives "Invalid Markup" in Visual Studio

Posted: 25 May 2021, 14:29
by HateDread
Glad it finally worked, I don't know what could have happened to your Visual Studio solution.
Thanks to Git, I can look at how the sln changed. Here's a sample from before/after opening the Configuration Manager:
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 14.0.25420.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Samples.Scoreboard", "..\Src\Packages\Samples\Scoreboard\Projects\windows_x86_64\Samples.Scoreboard.vcxproj", "{02630D63-F00F-342C-8E4A-E398E27F31A7}"
	ProjectSection(ProjectDependencies) = postProject
		{BF1FCA08-6BD8-3A23-9497-637054BE665A} = {BF1FCA08-6BD8-3A23-9497-637054BE665A}
	EndProjectSection
EndProject
After:
# Visual Studio Version 16
VisualStudioVersion = 16.0.30804.86
MinimumVisualStudioVersion = 14.0.25420.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Scoreboard", "..\Src\Packages\Samples\Scoreboard\Projects\windows_x86_64\Samples.Scoreboard.vcxproj", "{02630D63-F00F-342C-8E4A-E398E27F31A7}"
	ProjectSection(ProjectDependencies) = postProject
		{BF1FCA08-6BD8-3A23-9497-637054BE665A} = {BF1FCA08-6BD8-3A23-9497-637054BE665A}
	EndProjectSection
EndProject
It seemed to remove the "Samples." part of the project names. Not sure why, but thought I'd share.

Re: Opening included samples gives "Invalid Markup" in Visual Studio

Posted: 27 May 2021, 14:43
by jsantos
This is super weird because changing the project name (why is Visual doing that...) shouldn't affect at all.