Monogames Spritefont在Mac OS上创建错误

问题描述

在将简单的Spritefont添加到项目错误内容后,MSB3073将出现在编译过程中。目前尚不清楚出什么问题了,有人可以帮忙吗?我使用Mac OS High Sierra和Visual Studio for Mac2019。要加载内容,我使用了dotnet-mgcb-editor程序包。 Monogame版本3.8.0.1641

错误消息:

/Users/XXX/.nuget/packages/monogame.content.builder.task/3.8.0.1641/build/MonoGame.Content.Builder.Task.targets(5,5): Error MSB3073: 

The command "dotnet /Users/XXX/.nuget/packages/monogame.content.builder.task/3.8.0.1641/build/../tools/netcoreapp3.1/any/mgcb.dll 

/quiet /@:"/Users/XXX/Desktop/monogame/MyProject/Content/Content.mgcb" /platform:DesktopGL 

/outputDir:"/Users/XXX/Desktop/monogame/MyProject/Content/bin/DesktopGL/Content" 

/intermediateDir:"/Users/XXX/Desktop/monogame/MyProject/Content/obj/DesktopGL/Content" 

/workingDir:"/Users/XXXX/Desktop/monogame/MyProject/Content/"" exited with code 134. (MSB3073) (MyProject)

Content.mgcb的内容

#----------------------------- Global Properties ----------------------------#

/outputDir:bin/$(Platform)
/intermediateDir:obj/$(Platform)
/platform:DesktopGL
/config:
/profile:Reach
/compress:False

#-------------------------------- References --------------------------------#


#---------------------------------- Content ---------------------------------#

#begin score2.spritefont
/importer:FontDescriptionImporter
/processor:FontDescriptionProcessor
/processorParam:PremultiplyAlpha=True
/processorParam:TextureFormat=Compressed
/build:score2.spritefont

感谢帮助!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)