2

我在 Visual Studio Express 2012 for Windows Phone 中,并遵循位于以下链接的 MiniBrowser 教程:

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

遵循所有说明后,一旦我进入说明的“运行您的应用程序”部分,在第 1 步“构建”下,将生成以下错误:

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

这些错误是什么意思?

4

1 回答 1

0

看起来当 Visual Studio Express 2012 for Windows Phone 安装在我的计算机上时,它会将项目文件夹与应用程序放在同一个硬盘上。出于某种原因,为了编译它,解决方案是在不同的硬盘驱动器上重新创建项目,然后从那里开始工作。

感谢大家的帮助!

于 2012-12-14T02:13:24.167 回答