我找不到与此类似的东西,故障排除似乎也没有丢失许可证的类似问题。
如何获得此许可证文件以及在何处添加许可证文件,因为这可能是导致整个构建失败的问题?
任何见解都会受到赞赏。
alex31@Air3:~$ `brew install scriptcs`
==> Installing dependencies for scriptcs: mono
==> Installing scriptcs dependency: mono
==> Downloading https://download.mono-project.com/sources/mono/mono-6.4.0.198.ta
Already downloaded: /home/alex31/.cache/Homebrew/downloads/0f5bd5d4725f08bae7e853625da4da3ccdbb326dfa62820ffd3410b49ea6d64b--mono-6.4.0.198.tar.xz
==> ./configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/mono/6.4.0.198 --disa
==> make
==> make install
==> Cloning https://github.com/mono/msbuild.git
Updating /home/alex31/.cache/Homebrew/mono--msbuild--git
=> Checking out revision ad9c9926a76e3db0d2b878a24d44446d73640d19
HEAD is now at ad9c9926 Merge pull request #109 from radical/roslyn-bump-2019-02
HEAD is now at ad9c9926 Merge pull request #109 from radical/roslyn-bump-2019-02
==> ./eng/cibuild_bootstrapped_msbuild.sh --host_type mono --configuration Relea
Last 15 lines from /home/alex31/.cache/Homebrew/Logs/mono/04.cibuild_bootstrapped_msbuild.sh:
/tmp/mono--msbuild-20191101-2457-1g9gbaz/.packages/microsoft.dotnet.arcade.sdk/1.0.0-beta.19207.1
/tools/RepositoryValidation.proj(29,5): error : No license file found in '/tmp/mono--msbuild-20191101-2457-1g9gbaz/'.
Xunit.NetCore.Extensions -> /tmp/mono--msbuild-20191101-2457-1g9gbaz/artifacts /bin/Xunit.NetCore.Extensions/Release-MONO/net472/Xunit.NetCore.Extensions.dll
Dependency -> /tmp/mono--msbuild-20191101-2457-1g9gbaz/artifacts/bin/Samples/Dependency/Release-MONO/net472/Dependency.dll
PortableTask -> /tmp/mono--msbuild-20191101-2457-1g9gbaz/artifacts/bin/Samples/PortableTask /Release-MONO/netstandard1.3/PortableTask.dll
TaskUsageLogger -> /tmp/mono--msbuild-20191101-2457-1g9gbaz/artifacts/bin/Samples/TaskUsageLogger/Release-MONO/net472/TaskUsageLogger.dll
XmlFileLogger -> /tmp/mono--msbuild-20191101-2457-1g9gbaz/artifacts/bin/Samples/XmlFileLogger/Release-MONO/net472/XmlFileLogger.dll
Build FAILED.
/tmp/mono--msbuild-20191101-2457-1g9gbaz/.packages/microsoft.dotnet.arcade.sdk/1.0.0-beta.19207.1
/tools/RepositoryValidation.proj(29,5): error : No license file found in '/tmp/mono- -msbuiild20191101-2457-1g9gbaz/'.
0 Warning(s)
1 Error(s)
Time Elapsed 00:11:11.71
Build failed (exit code '1').
READ THIS: https://docs.brew.sh/Troubleshooting
答案 0 :(得分:0)
Linuxbrew的单声道安装存在问题,因此我希望它很快能够正常工作。这是Linuxbrew维护者一个月前所说的:
是的,几周前我放弃了单声道。让我们关闭它,以后可以根据需要进行处理。我们无法一次解决所有问题。 Source
另外,似乎实际的问题出在单声道公式中的msbuild部分。
我对Linuxbrew并不了解,但是也许您可以尝试install mono separately然后安装带有--ignore-dependencies
标志的脚本?可能无法使用,但值得尝试。我还将检查msbuild是否与mono一起安装,如果没有,请与.NET Core一起安装。
您还有一个选择,就是遵循scriptcs GitHub存储库上的官方指南。他们指示您安装Scriptcs版本管理器(SVM),然后使用它来安装最新版本的Scriptcs。这样,您就可以绕过整个Linuxbrew内容。您可以找到说明here。