2012-12-13 92 views
2

我在Visual Studio Express的2012年Windows Phone和遵循位於以下鏈接的迷你瀏覽器教程:如何從Visual Studio Express 2012 for Windows Phone修復這些錯誤?

http://msdn.microsoft.com/en-US/library/windowsphone/develop/ff402526(v=vs.105).aspx

以下所有的指令後,有一次我去「運行你的應用程序」部分的指令下,生成以下錯誤:

Error 1 The name "LocalizedStrings" does not exist in the namespace "clr-namespace:MiniBrowser". c:\users\avery_000\documents\visual studio 2012\Projects\MiniBrowser\MiniBrowser\App.xaml 1 1 MiniBrowser 

Error 2 The name "LocalizedStrings" does not exist in the namespace "clr-namespace:MiniBrowser". c:\users\avery_000\documents\visual studio 2012\Projects\MiniBrowser\MiniBrowser\App.xaml 10 9 MiniBrowser 

Error 3 The build stopped unexpectedly because of an internal failure. 
Microsoft.Build.Exceptions.BuildAbortedException: Build was canceled. Failed to successfully launch or connect to a child MSBuild.exe process. Verify that the MSBuild.exe "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" launches successfully, and that it is loading the same microsoft.build.dll that the launching process loaded. If the location seems incorrect, try specifying the correct location in the BuildParameters object, or with the MSBUILD_EXE_PATH environment variable. 
    at Microsoft.Build.BackEnd.NodeProviderOutOfProc.CreateNode(Int32 nodeId, INodePacketFactory factory, NodeConfiguration configuration) 
    at Microsoft.Build.BackEnd.NodeManager.AttemptCreateNode(INodeProvider nodeProvider, NodeConfiguration nodeConfiguration) 
    at Microsoft.Build.BackEnd.NodeManager.CreateNode(NodeConfiguration configuration, NodeAffinity nodeAffinity) 
    at Microsoft.Build.Execution.BuildManager.PerformSchedulingActions(IEnumerable`1 responses) 
    at Microsoft.Build.Execution.BuildManager.HandleNewRequest(Int32 node, BuildRequestBlocker blocker) 
    at Microsoft.Build.Execution.BuildManager.IssueRequestToScheduler(BuildSubmission submission, Boolean allowMainThreadBuild, BuildRequestBlocker blocker) c:\users\avery_000\documents\visual studio 2012\Projects\MiniBrowser\MiniBrowser\MiniBrowser.csproj MiniBrowser 

這些錯誤是什麼意思?

+0

您的解決方案中是否包含LocalizedStrings.cs文件?看起來好像它可能還沒有生成,或者您正在使用Windows Phone 7模板(如果您正確地按照教程,則不應該這樣做)? –

+0

謝謝你的建議。我最終回到了教程的開始部分,並在每一步之後進行構建,直到我能夠找出問題出在哪裏。 –

回答

0

看起來像我的電腦上安裝Visual Studio Express 2012 for Windows Phone時,它將項目文件夾放到與應用程序相同的硬盤上。出於某種原因,爲了得到這個編譯的解決方案,是在不同的硬盤驅動器上重新創建項目,並從那裏開始工作。

感謝大家的幫助!

+0

那麼,我已經成功地設置了我的Windows Phone開發環境!爲了防止任何人對這個主題進行搜索,我創建了一篇博客文章,Windows Phone 8開發的6個步驟。 http://averysmith.pro/blog/6-steps-to-windows-phon e-8-開發 我希望這有助於! –

相關問題