Author Topic: VS needs to massage project name in VS2019 solution  (Read 972 times)

Marcel

  • Senior Community Member
  • Posts: 261
  • Hero Points: 26
VS needs to massage project name in VS2019 solution
« on: May 12, 2021, 03:53:50 PM »
If the project name contains a dot or a bunch of other special characters, VS needs to replace them with an underscore when calling msbuild [-target argument].  This call will otherwise fail:

Code: [Select]
msbuild C:\vs2019stuff\Project.Library\library.sln /t:Project.Library /p:Configuration=Debug "/p:Platform=Any CPU" /nologo /v:m

Should become

Code: [Select]
msbuild C:\vs2019stuff\Project.Library\library.sln /t:Project_Library /p:Configuration=Debug "/p:Platform=Any CPU" /nologo /v:m



https://docs.microsoft.com/en-us/visualstudio/msbuild/how-to-build-specific-targets-in-solutions-by-using-msbuild-exe?view=vs-2019
« Last Edit: May 12, 2021, 03:55:21 PM by Marcel »

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6864
  • Hero Points: 528
Re: VS needs to massage project name in VS2019 solution
« Reply #1 on: May 12, 2021, 09:06:45 PM »
Thanks. We will look into this

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6864
  • Hero Points: 528
Re: VS needs to massage project name in VS2019 solution
« Reply #2 on: May 13, 2021, 06:34:44 PM »
Fixed for 25.0.2. Hopefully to be released by end of may. Thanks for posting