Hi
I am building a game for Windows 10 and I’ve noticed that Unity fails to build and run the game/app if the product name contains a ’ sign. This is quite annoying since I need this in the name.
I also get an error when building.
Error
Exception: Failed to build Visual Studio project using arguments ‘C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe “G:\Unity3D Games\2D Games\Jetpack_Tom\Builds\Testing3\Tom’s Jetpack.sln” /nologo /maxcpucount /p:Configuration=Release /p:Platform=x86 /p:SolutionDir=“G:\Unity3D Games\2D Games\Jetpack_Tom\Builds\Testing3\” /t:Build /clp:Verbosity=minimal’.
Output: UnityInstallationDir “C:\Program Files\Unity\Editor”.
UnityWSAPlayerDir “C:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport”.
UnityProjectDir “G:\Unity3D Games\2D Games\Jetpack_Tom”.
Copying unprocessed assemblies…
G:\Unity3D Games\2D Games\Jetpack_Tom\Builds\Testing3\Tom’s Jetpack\App.xaml(2,5): XamlCompiler error WMC0040: The value ‘Tom’s_Jetpack.App’ is an invalid value for ‘Class’ on object ‘Application’. Illegal character ‘’’ [G:\Unity3D Games\2D Games\Jetpack_Tom\Builds\Testing3\Tom’s Jetpack\Tom’s Jetpack.csproj]
G:\Unity3D Games\2D Games\Jetpack_Tom\Builds\Testing3\Tom’s Jetpack\MainPage.xaml(2,5): XamlCompiler error WMC0040: The value ‘Tom’s_Jetpack.MainPage’ is an invalid value for ‘Class’ on object ‘Page’. Illegal character ‘’’ [G:\Unity3D Games\2D Games\Jetpack_Tom\Builds\Testing3\Tom’s Jetpack\Tom’s Jetpack.csproj]
I’m so sorry about that mess but that is how Unity printed it…
Is there any work around this? If so, please tell me!
And if this is a bug, please fix it.
Thanks in advance!