0

我按照步驟獲得了一個新的here,但繼續得到如下所述的相同錯誤。有效的方法是創建一個新密鑰,將其移動到bld \ Debug \ platforms \ windows8並將其重命名以匹配已存在的名稱爲CordovaApp_TemporaryKey.pfx的證書的名稱。只有這樣我才能夠進行調試。所以我認爲一切都很好,但花了幾個小時後,我又遇到了同樣的錯誤,必須重新制作一份新的證書。所以這次我確定過期日期設置爲明年,但是,唉,它只會在幾個小時後過期,我再次得到相同的錯誤。我當然可以繼續製作新證書並重新命名它們,但似乎有可能導致它過期如此迅速,任何想法?這現在已經發生好幾次了,所以要麼是因爲我的環境或者我在這裏錯過了一些東西。CordovaApp_TemporaryKey.pfx僅在幾個小時後消失:退出代碼2

Error 3 C:\path\to\build.bat: Command failed with exit code 2 C:\path\to\EXEC Warning 1 The certificate specified has expired. For more information about renewing certificates, see http://go.microsoft.com/fwlink/?LinkID=241478. [C:\path\to\CordovaApp.jsproj] C:\path\to\Microsoft.AppXPackage.Targets Error 2 The certificate specified has expired. For more information about renewing certificates, see http://go.microsoft.com/fwlink/?LinkID=241478. [C:\path\to\CordovaApp.jsproj] C:\path\to\Microsoft.AppXPackage.Targets Error 4 The command ""C:\path\to\vs-cli" build --platform "Windows-x64" --configuration "Debug" --projectDir . --projectName "ohdh" --language "en-US" "--x64"" exited with code 8. C:\path\to\Microsoft.MDA.targets

回答

相關問題