我正在尝试在Visual Studio 2019中使用C#创建一个新的Monogame项目,但每次我创建一个新项目时,都会出现以下错误:
Error MSB3073 - The command "dotnet C:\Users\<name>\.nuget\packages\monogame.content.builder.task\3.8.0.1641\build\\..\tools\netcoreapp3.1\any\mgcb.dll /quiet /@:"E:\Programming\Locally-stored projects\C Family\C#\Monogame -OxygOS\Game1\Game1\Content\Content.mgcb" /platform:DesktopGL /outputDir:"E:/Programming/Locally-stored projects/C Family/C#/Monogame - OxygOS/Game1/Game1/Content/bin/DesktopGL/Content" /intermediateDir:"E:/Programming/Locally-stored projects/C Family/C#/Monogame - OxygOS/Game1/Game1/Content/obj/DesktopGL/Content" /workingDir:"E:/Programming/Locally-stored projects/C Family/C#/Monogame - OxygOS/Game1/Game1/Content/"" exited with code 1. Game1 C:\Users\<name>\.nuget\packages\monogame.content.builder.task\3.8.0.1641\build\MonoGame.Content.Builder.Task.targets 138
项目中的唯一文件是作为Monogame跨平台模板的一部分自动创建的文件。
我已经在Google和Stack Overflow上查找了,虽然有答案,但都没有帮助到我。
如果我在创建帖子时弄错了什么,那就抱歉了,这是我第一次在Stack Overflow上提问:D 如果我哪里弄乱了格式,那就提前道歉了。