2012-12-13 73 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-开发 我希望这有助于! –

相关问题