【发布时间】:2021-01-21 08:59:52
【问题描述】:
这是我在 Monogame 论坛上发布的 post 的副本。我希望这里有人可以提供帮助。
我终于能够使用 Rider IDE 在 Linux 上构建由 Visual-Studio 创建的游戏。我的着色器使用 InfinitespaceStudios.Pipeline 包成功编译,该包将着色器发送到远程 Windows 服务器进行编译。但是我不喜欢我的项目依赖于外部源,所以我一直试图让我的着色器在没有它的情况下编译。按照 Monogame “getting started” 指南中的说明,我安装了 Wine。所以我现在已经移除了对 Infinitespace 的依赖。
现在,当我打开 Content Builder Editor 并构建我的着色器时,一切都成功了。没有警告也没有错误。但是,当我在 IDE(Rider)中构建项目时,每个着色器都会出现一个非常无用的错误:
BlackAndWhite.fx: [] Processor 'EffectProcessor' had unexpected failure!
随后出现此错误:
MonoGame.Content.Builder.targets(90, 5): [MSB3073] The command "/usr/bin/mono "/usr/lib/mono/xbuild/MonoGame/v3.0/Tools/MGCB.exe" /@:"/home/andy/Development/Point-and-Click-Adventure/PACE/Content/Content.mgcb" /platform:DesktopGL /outputDir:"/home/andy/Development/Point-and-Click-Adventure/PACAdventure/Content/bin/DesktopGL" /intermediateDir:"/home/andy/Development/Point-and-Click-Adventure/PACAdventure/Content/obj/DesktopGL" /quiet" exited with code 3.
有谁知道问题出在哪里?
【问题讨论】: