简体   繁体   中英

I'm starting an Unity project however my coding environment has problems loading the project file

Two most prominent error messages I get are those:

Failed to load project file 'c:\\Forest\\Assembly-CSharp.csproj'.

I'll also mention that I changed the omnisharp.path to latest and have installed mono in futile hopes it might help

c:\\Users\\myusername.vscode\\extensions\\ms-dotnettools.csharp-1.23.13.omnisharp\\1.37.14-beta.3.msbuild\\Current\\Bin\\Microsoft.Common.CurrentVersion.targets(1217,5):
Error: The reference assemblies for .NETFramework,Version=v4.7.1 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks

I don't know if it's the core of the problem I'm having but I tried to reinstall the developer package mentioned.

My operating system is Windows 10

好吧,我确实在 Visual Studio(不是代码)中打开了项目,然后它告诉我我使用了错误版本的 .NET Framework 开发包,在我下载了正确的版本后,问题得到了解决,所以谢谢大家的回答

您是否尝试过在对象上创建脚本?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM