我在 Visual Studio Professional 2013 中使用 Update 3 构建/部署我的 Windows Phone 应用程序。出现以下控制台输出:
1>------ Build started: Project: CapturingVideos, Configuration: Debug ARM ------
2>------ Deploy started: Project: CapturingVideos, Configuration: Debug ARM ------
2>Deploying to Phone Internal Storage...
2>Creating a new clean layout...
2>Copying files: Total <1 mb to layout...
2>Checking whether required frameworks are installed...
2>Warning : DEP0810 : This app references Microsoft.Phone.WinJS.2.1, version
1.0.9651.0, found in your SDK, but you have a higher version of
Microsoft.Phone.WinJS.2.1 installed on the target machine, 1.0.9651.40228. If you
continue to run this application, it will run against the currently installed version,
Microsoft.Phone.WinJS.2.1, version 1.0.9651.40228. Consider updating your SDK to match
the version of Microsoft.Phone.WinJS.2.1 that is installed.
http://go.microsoft.com/fwlink/?LinkId=260891
2>Registering the application to run from layout...
我很好奇警告建议我将参考从 WinJS.2.1 v1.0.9651.0 更新到 v1.0.9651.40228。所以我下载并安装了Visual Studio 2013 Extensions for the Windows Library for JavaScript。重新启动操作系统和 VS 2013 后,我尝试从空白模板创建一个新的 Windows Phone 项目。我希望 References 文件夹包含适用于 JavaScript 2.1 v1.0.9651.40228 的 Windows 库。但是,它仍然只指向旧版本,即 v1.0.9651.0。我是在错误的轨道上还是我错过了什么?请指出正确的方向。谢谢!