![](/img/trans.png)
[英]Error MSB4025. The project file could not be loaded. Data at the root level is invalid
[英]problem on vscode on manjaro linux, error MSB4025:
整个错误
/home/ninjamanthing/C#/projak/HELLP.cs:错误 MSB4025:无法加载项目文件。 无法加载文件或程序集“System.Security.Permissions,Version=4.0.3.0,Culture=neutral,PublicKeyToken=cc7b13ffcd2ddd51”。 该系统找不到指定的文件。 /home/ninjamanthing/C#/projak/HELLP.cs: 错误 MSB4025:
我在网上找不到任何东西,而且我对 C# 的了解还不够,无法尝试解决这个问题
我对 C# 很陌生
我认为我遇到了类似的问题:
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.
/home/aloisdg/Source/extLauncher/ExtLauncher/ExtLauncher.fsproj : error MSB4025: The project file could not be loaded. Could not load file or assembly 'System.Security.Permissions, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
/home/aloisdg/Source/extLauncher/ExtLauncher/ExtLauncher.fsproj : error MSB4025:
Build FAILED.
/home/aloisdg/Source/extLauncher/ExtLauncher/ExtLauncher.fsproj : error MSB4025: The project file could not be loaded. Could not load file or assembly 'System.Security.Permissions, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
/home/aloisdg/Source/extLauncher/ExtLauncher/ExtLauncher.fsproj : error MSB4025:
0 Warning(s)
1 Error(s)
就我而言,问题是因为我有一个无效的 fsproj。 看看你的 csproj 是否正确。 如果您使用的是像 git 这样的源代码管理器,请检查您的差异。然后,您可以将它传递给 xml 验证器,然后使用文档逐行检查它。 祝你好运。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.