错误信息
严重性 代码 说明 项目 文件 行 禁止显示状态
错误 MSB3073 命令“dotnet "C:UsersAdministrator.nugetpackagesmicrosoft.extensions.apidescription.server .3.0-preview7.19365.7uild/../tools/dotnet-getdocument.dll" --assembly "G:workDyCommunityBuysrcCommunityBuy.ApiinDebug
etcoreapp2.2CommunityBuy.Api.dll" --file-list "objCommunityBuy.Api.OpenApiFiles.cache" --framework ".NETCoreApp,Version=v2.2" --output "obj" --project "CommunityBuy.Api" --assets-file "G:workDyCommunityBuysrcCommunityBuy.Apiobjproject.assets.json" --platform "AnyCPU" ”已退出,代码为 7。 CommunityBuy.Api C:UsersAdministrator.nugetpackagesmicrosoft.extensions.apidescription.server .3.0-preview7.19365.7uildMicrosoft.Extensions.ApiDescription.Server.targets 41
解决办法:
删除掉文件:C:UsersAdministrator.nugetpackagesmicrosoft.extensions.apidescription.server .3.0-preview7.19365.7uildMicrosoft.Extensions.ApiDescription.Server.targets
重新编译,问题解决。