本文介绍了为什么我的项目不会建立的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它习惯于构建正常但有错误。我把它们固定在一起并制作了一个新版本。现在我的新项目不会在Visual Studio中构建

It used to Build fine but there where errors. I fixed them in unity and made a new build. Now my new project won't build in Visual Studio

这是我的错误日志 -  

this is my error log - 

E:\ Aidan \ Studio 22 \未命名项目\新Unity项目\Builds\Windows v2 \New folder \Space Survival\Space Survival.csproj(277,9):错误MSB3073:命令"&"E:\ Aidan \ Studio 22 \ Unnamed Project \New Unity Project \ Builds \ new folder \Unity \Tools \AssemblyConverter.exe"
-platform = uap -lock =" E:\ Aidan \ Studio 22 \Unnamed Project \New Unity Project\Builds\Windows v2 \New folder\Space Survival\project。 lock.json" -bits = 32 -configuration = Debug -removeDebuggableAttribute = False -uwpsdk = 10.0.14393.0 -path ="。" -path =" D:\Program
Files \Unity\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\dotnet\ARM\Debug" "E:\ Aidan \ Studio 22 \ Unnamed Project \New Unity Project \Builds\Windows v2 \New folder \Space Survival \Assembly-CSharp-firstpass.dll" "E:\ Aidan \ Studio 22 \Unnamed
Project \New Unity Project\Builds\Windows v2 \New folder \Space Survival \Assembly-CSharp.dll" "E:\ Aidan \ Studio 22 \ Unnamed Project \New Unity Project \Builds\Windows v2 \New folder \Space Survival \Assembly-UnityScript.dll" "E:\ Aidan \ Studio 22 \Unnamed
Project \New Unity Project\Builds\Windows v2 \New folder \ Space Survival\UnityEngine.dll" "E:\ Aidan \ Studio 22 \ Unnamed Project \New Unity Project \Builds\Windows v2 \New folder \Space Survival\UnityEngine.Analytics.dll" "E:\ Aidan \ Studio 22 \Unnamed
Project \New Unity Project\Builds\Windows v2 \New folder \Space Survival\UnityEngine.UI.dll" "E:\ Aidan \ Studio 22 \ Unnamed Project \New Unity Project \ Builds \ theWindows v2 \New folder \ Space Survival\UnityEngine.Networking.dll""退出代码3.

E:\Aidan\Studio 22\Unnamed Project\New Unity Project\Builds\Windows v2\New folder\Space Survival\Space Survival.csproj(277,9): error MSB3073: The command ""E:\Aidan\Studio 22\Unnamed Project\New Unity Project\Builds\New folder\Unity\Tools\AssemblyConverter.exe" -platform=uap -lock="E:\Aidan\Studio 22\Unnamed Project\New Unity Project\Builds\Windows v2\New folder\Space Survival\project.lock.json" -bits=32 -configuration=Debug -removeDebuggableAttribute=False -uwpsdk=10.0.14393.0 -path="." -path="D:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\dotnet\ARM\Debug" "E:\Aidan\Studio 22\Unnamed Project\New Unity Project\Builds\Windows v2\New folder\Space Survival\Assembly-CSharp-firstpass.dll" "E:\Aidan\Studio 22\Unnamed Project\New Unity Project\Builds\Windows v2\New folder\Space Survival\Assembly-CSharp.dll" "E:\Aidan\Studio 22\Unnamed Project\New Unity Project\Builds\Windows v2\New folder\Space Survival\Assembly-UnityScript.dll" "E:\Aidan\Studio 22\Unnamed Project\New Unity Project\Builds\Windows v2\New folder\Space Survival\UnityEngine.dll" "E:\Aidan\Studio 22\Unnamed Project\New Unity Project\Builds\Windows v2\New folder\Space Survival\UnityEngine.Analytics.dll" "E:\Aidan\Studio 22\Unnamed Project\New Unity Project\Builds\Windows v2\New folder\Space Survival\UnityEngine.UI.dll" "E:\Aidan\Studio 22\Unnamed Project\New Unity Project\Builds\Windows v2\New folder\Space Survival\UnityEngine.Networking.dll"" exited with code 3.

推荐答案

根据错误日志,有在PropertyGroup中出了问题。

According to the error log, there are something wrong in the PropertyGroup.

您可以修改预构建,您可以从Properties-> Build中找到它
活动 - >预建活动

You can modify your pre-build where you can found it from Properties->Build Events->Pre-Build Event.

修改并再试一次。

祝你好运,

Fletch


这篇关于为什么我的项目不会建立的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 13:44