gpt4 book ai didi

msbuild - 全新安装时 GAC 缺少 netstandard.dll

转载 作者:行者123 更新时间:2023-12-05 06:34:19 30 4
gpt4 key购买 nike

我尝试使用 MSBuild 支持设置干净的 CI 构建代理。我用 Build Tools for Visual Studio 2017component directory list

Start-Process -Wait -PassThru -FilePath vs_BuildTools.exe -ArgumentList '--add Microsoft.VisualStudio.Workload.NetCoreBuildTools \
--add Microsoft.VisualStudio.Workload.WebBuildTools \
--add Microsoft.VisualStudio.Workload.MSBuildTools \
--add Microsoft.Net.Component.4.5.1.TargetingPack \
--add Microsoft.Net.Component.4.5.2.TargetingPack \
--add Microsoft.Net.Component.4.5.TargetingPack \
--add Microsoft.Net.Component.4.6.TargetingPack \
--add Microsoft.Net.Component.4.TargetingPack \
--add Microsoft.Net.ComponentGroup.TargetingPacks.Common \
--add Microsoft.Net.Component.3.5.DeveloperTools \
--add Microsoft.Net.Component.4.6.2.SDK \
--add Microsoft.Net.Component.4.6.2.TargetingPack \
--add Microsoft.Net.Component.4.7.1.SDK \
--add Microsoft.Net.Component.4.7.1.TargetingPack \
--add Microsoft.Net.Component.4.7.SDK \
--add Microsoft.Net.Component.4.7.TargetingPack \
--add Microsoft.Net.ComponentGroup.4.6.2.DeveloperTools \
--add Microsoft.Net.ComponentGroup.4.7.1.DeveloperTools \
--add Microsoft.Net.ComponentGroup.4.7.DeveloperTools \
--quiet \
--nocache \
--wait'

*代码片段是 Dockerfile 的一部分

我希望 netstandard.dll 位于 GAC (c:\Windows\Microsoft.NET\assembly\GAC_MSIL\netstandard)。我应该另外安装哪个包?

最佳答案

我已经单独安装了 .NET Framework,现在可以使用了。 Full Dockerfile

关于msbuild - 全新安装时 GAC 缺少 netstandard.dll,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50324167/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com