Skip to content

Fix warning " warning NU5118: File 'Microsoft.AspNetCore.AzureAppServices.HostingStartup.deps.json' is not added because the package already contains file 'Microsoft.AspNetCore.AzureAppServices.HostingStartup.deps.json'" #22248

Closed
@wtgodbe

Description

@wtgodbe

Part of #22240

Happens during the SiteExtension build. Full warning text below:

F:\workspace_work\1\s.dotnet\sdk\5.0.100-preview.5.20258.4\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(198,5): warning NU5118: File 'F:\workspace_work\1\s.packages\Microsoft.AspNetCore.AzureAppServices.SiteExtension.5.0.x64\5.0.0-preview-6-20275-3\content\additionaldeps\shared\Microsoft.AspNetCore.App\5.0.0\Microsoft.AspNetCore.AzureAppServices.HostingStartup.deps.json' is not added because the package already contains file 'content\additionaldeps\shared\Microsoft.AspNetCore.App\5.0.0\Microsoft.AspNetCore.AzureAppServices.HostingStartup.deps.json' [F:\workspace_work\1\s\src\SiteExtensions\LoggingAggregate\src\Microsoft.AspNetCore.AzureAppServices.SiteExtension\Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj]

F:\workspace_work\1\s.dotnet\sdk\5.0.100-preview.5.20258.4\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(198,5): warning NU5118: File 'F:\workspace_work\1\s.packages\Microsoft.AspNetCore.AzureAppServices.SiteExtension.3.1.x86\3.1.3-servicing-20163-14\content\additionaldeps\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.AzureAppServices.HostingStartup.deps.json' is not added because the package already contains file 'content\additionaldeps\shared\Microsoft.AspNetCore.App\3.1.0\Microsoft.AspNetCore.AzureAppServices.HostingStartup.deps.json' [F:\workspace_work\1\s\src\SiteExtensions\LoggingAggregate\src\Microsoft.AspNetCore.AzureAppServices.SiteExtension\Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj]

Metadata

Metadata

Labels

DoneThis issue has been fixedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions