Visual Studio Mac - 无法导入简单Web服务SLN [英] Visual Studio Mac - Failure to import Simple web service SLN
问题描述
您好,
Hello,
 我尝试通过导入简单的网站/网络服务来尝试Visual Studio MAC测试版,但是在构建时出现以下错误:
I attempted to try the Visual Studio MAC beta by importing a simple website / web-service, but I get the following error when building:
/ Users / **** / Code / ConsumerWebsite /FW/FW/FW.csproj(3,3):错误MSB4019:导入的项目"/Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/xbuild/Microsoft/VisualStudio/v15.0 /WebApplications/Microsoft.WebApplication.targets"找不到
。确认< Import>中的路径声明是正确的,并且该文件存在于磁盘上。 (MSB4019)(FW)
/Users/****/Code/ConsumerWebsite/FW/FW/FW.csproj(3,3): Error MSB4019: The imported project "/Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/xbuild/Microsoft/VisualStudio/v15.0/WebApplications/Microsoft.WebApplication.targets" was not
found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. (MSB4019) (FW)
&NBSP;任何人都有任何想法如何在测试版中解决这个问题?
Anyone have any ideas how to address this issue in the beta?
干杯,
-Randy
推荐答案
嗨兰迪,
谢谢您在MSDN论坛上发帖。
Thank you for posting in MSDN forum.
>> /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/xbuild/Microsoft/VisualStudio/v15.0 /WebApplications/Microsoft.WebApplication.targets"没找到。
>>/Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/xbuild/Microsoft/VisualStudio/v15.0/WebApplications/Microsoft.WebApplication.targets" was not found.
您有两种选择。您可以从开发框中复制Microsoft.WebApplication.targets,也可以在Mac计算机上安装Visual Studio。最简单的解决方案是复制文件,确保完全重现目录结构。
You have two options. You could copy Microsoft.WebApplication.targets from your development box, or you could install Visual Studio on your Mac machine. The simplest solution is to copy the file, making sure to reproduce the directory structure exactly.
最好的问候,
这篇关于Visual Studio Mac - 无法导入简单Web服务SLN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!