Hi
I just tried to make a build of my Windows 10 game and I got this big error. The most useful information I could get was "Cannot import the key file ‘WSATestCertificate.pfx’. The key file may be password protected. To correct this, try to import the certificate manually into the current user’s personal certificate store. " I have no idea how to import this thing. I’ve never gotten this error before either.
Full 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\Testing6\Toms Jetpack.sln" /nologo /maxcpucount /p:Configuration=Release /p:Platform=x86 /p:SolutionDir="G:\\Unity3D Games\\2D Games\\Jetpack_Tom\\Builds\\Testing6\\" /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...
Running AssemblyConverter...
AssemblyConverter done.
Toms Jetpack -> G:\Unity3D Games\2D Games\Jetpack_Tom\Builds\Testing6\Toms Jetpack\bin\x86\Release\Toms Jetpack.exe
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(1854,5): warning APPX0105: Cannot import the key file 'WSATestCertificate.pfx'. The key file may be password protected. To correct this, try to import the certificate manually into the current user's personal certificate store. [G:\Unity3D Games\2D Games\Jetpack_Tom\Builds\Testing6\Toms Jetpack\Toms Jetpack.csproj]
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(1854,5): warning APPX0107: The certificate specified is not valid for signing. For more information about valid certificates, see http://go.microsoft.com/fwlink/?LinkID=241478. [G:\Unity3D Games\2D Games\Jetpack_Tom\Builds\Testing6\Toms Jetpack\Toms Jetpack.csproj]
Toms Jetpack -> G:\Unity3D Games\2D Games\Jetpack_Tom\Builds\Testing6\Toms Jetpack\AppPackages\Toms Jetpack_1.0.0.0_x86_Test\Toms Jetpack_1.0.0.0_x86.appx
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(2465,5): error APPX0105: Cannot import the key file 'WSATestCertificate.pfx'. The key file may be password protected. To correct this, try to import the certificate manually into the current user's personal certificate store. [G:\Unity3D Games\2D Games\Jetpack_Tom\Builds\Testing6\Toms Jetpack\Toms Jetpack.csproj]
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(2465,5): error APPX0107: The certificate specified is not valid for signing. For more information about valid certificates, see http://go.microsoft.com/fwlink/?LinkID=241478. [G:\Unity3D Games\2D Games\Jetpack_Tom\Builds\Testing6\Toms Jetpack\Toms Jetpack.csproj]
(…I am so sorry for that mess of a error…)
If it helps anything the build was set to Development Build.
Any help how I can solve this is greatly appreciated!