MultiTarget类图书馆在Team Foundation 2017上给出了构建错误。

问题描述 投票:0回答:1
我有一个针对net481和net8.0的类库 我在代理服务器上安装了Visual Studio 2022,以构建项目的Net 8.0版本。

现在我有以下错误的错误:

CSC : error CS0006: Metadata file '..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll' could not be found [c:\TF-Agents\Agent2017-002\_work\1\s\System\Core\Core.csproj::TargetFramework=net481] 2025-02-19T10:54:22.1816296Z CSC : error CS0006: Metadata file '..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll' could not be found [c:\TF-Agents\Agent2017-002\_work\1\s\System\Core\Core.csproj::TargetFramework=net481] 2025-02-19T10:54:22.1816296Z CSC : error CS0006: Metadata file '..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll' could not be found [c:\TF-Agents\Agent2017-002\_work\1\s\System\Core\Core.csproj::TargetFramework=net8.0] 2025-02-19T10:54:22.1816296Z CSC : error CS0006: Metadata file '..\..\packages\Microsoft.CodeAnalysis.Analyzers.1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll' could not be found [c:\TF-Agents\Agent2017-002\_work\1\s\System\Core\Core.csproj::TargetFramework=net8.0]

任何可能带来问题的建议?
我已经将Nuget Codedom软件包升级到了最新版本

c# tfsbuild multitargeting tfs-2017
1个回答
0
投票

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.