微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Monogames Spritefont在Mac OS上创建错误

如何解决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 举报,一经查实,本站将立刻删除。