其他分享
首页 > 其他分享> > Unity Build settings 后,用vs来调用Hololens模拟器出现 : .csproj(331,9): error MSB3073:

Unity Build settings 后,用vs来调用Hololens模拟器出现 : .csproj(331,9): error MSB3073:

作者:互联网

原文链接:https://www.jianshu.com/p/622e5ccefd55

然而在一切即将完成,却发现报了一长串错误,如下:

1>\\Mac\Home\Desktop\HololensProjects\MedicalTraning\MedicalTraning.csproj(331,9): error MSB3073: 命令“"\\Mac\Home\Desktop\HololensProjects\Unity\Tools\AssemblyConverter.exe" -platform=uap -lock="\\Mac\Home\Desktop\HololensProjects\MedicalTraning\project.lock.json" -bits=32 -configuration=Release -removeDebuggableAttribute=False -uwpsdk=10.0.15063.0 -path="." -path="C:\Program Files\Unity5.6.1\Unity\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\dotnet\x86\Release" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\Assembly-CSharp-firstpass.dll" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\Assembly-CSharp.dll" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\UnityEngine.dll" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\UnityEngine.Analytics.dll" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\nunit.framework.dll" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\UnityEngine.UI.dll" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\DOTween46.dll" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\UnityEngine.HoloLens.dll" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\DOTween50.dll" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\DemiLib.dll" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\DOTween43.dll" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\Vuforia.UnityExtensions.dll" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\UnityEngine.Networking.dll" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\DOTween.dll" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\HoloLensXboxController.dll" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\DOTweenPro.dll" "\\Mac\Home\Desktop\HololensProjects\MedicalTraning\UnityEngine.VR.dll"”已退出,代码为 1。

我一度陷入崩溃,开始完全看不出头绪,找了一圈。最后找到大概是win10SDK的问题,解决方法如下:

在发布出来的工程中找到所有project.lock.json文件,打开,把其中“UAP,Version=v10.0.xxxxx" 这一项改为“UAP,Version=v10.0"保存,ok

标签:HololensProjects,settings,Hololens,csproj,Desktop,Mac,Home,dll,MedicalTraning
来源: https://blog.csdn.net/weixin_41597991/article/details/100941186