4

我下载了WinObjCGitHub 的文件并按照所有步骤操作。当我尝试构建项目时,我遇到了这个问题(使用 Visual Studio Community 2015)

这是两个错误:

Severity    Code    Description Project File    Line
Warning MSB3245 Could not resolve this reference. Could not locate the assembly "XamlCompositorCS". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. WOCCatalog (WOCCatalog\WOCCatalog)  C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets 1819


Severity    Code    Description Project File    Line
Error   LNK1181 cannot open input file 'OpenGLES.lib'   WOCCatalog (WOCCatalog\WOCCatalog)  D:\WinObjC-master\samples\WOCCatalog\WOCCatalog.vsimporter\WOCCatalog-WinStore10\LINK

1

我该如何解决?

4

3 回答 3

2

在 WinObjC/build/build.sln 中打开包含的解决方案

选择构建/构建解决方案

于 2015-08-09T14:16:41.490 回答
1

您要么需要下载预构建的 SDK(在 github 中的“Releases”下查看),要么根据上述评论:

在 WinObjC/build/build.sln 中打开包含的解决方案 选择构建/构建解决方案

于 2015-08-10T17:51:54.863 回答
0

1.下载最新发布版本

2.打开...\WinObjC\build\build.sln

ps:如果使用虚拟机(如PD),请确保所有文件都存放在Windows文件夹(如c:\somewhere)而不是Mac文件夹(如\\Mac\Home\Desktop)

3.vs 2015 update1 可能会提示安装 wp8/8.1 工具。

4.构建您的解决方案(选择构建/构建解决方案)。

于 2015-12-10T05:47:24.967 回答