Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
- Add package feeds for Aspire for .NET 9.
- Fix incorrect container base image for .NET 9.
  • Loading branch information
martincostello committed Apr 30, 2024
1 parent 208dbd2 commit 08d49e9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,22 @@
<configuration>
<packageSources>
<clear />
<add key="aspire" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json" />
<add key="aspnet-contrib" value="https://www.myget.org/F/aspnet-contrib/api/v3/index.json" />
<add key="azure-sdk-for-net" value="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json" />
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
</packageSources>
<packageSourceMapping>
<packageSource key="aspire">
<package pattern="Aspire.*" />
</packageSource>
<packageSource key="aspnet-contrib">
<package pattern="AspNet.Security.OAuth.*" />
</packageSource>
<packageSource key="azure-sdk-for-net">
<package pattern="Azure.*" />
</packageSource>
<packageSource key="dotnet-eng">
<package pattern="Microsoft.DotNet.XliffTasks" />
</packageSource>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<IsAspireHost>true</IsAspireHost>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" />
Expand Down
2 changes: 1 addition & 1 deletion src/LondonTravel.Site/LondonTravel.Site.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</PropertyGroup>
<PropertyGroup>
<!-- TODO Remove if https://github.com/dotnet/sdk/issues/40500 implemented or when no longer only in nightly -->
<ContainerBaseImage>mcr.microsoft.com/dotnet/nightly/runtime-deps:8.0-noble-chiseled-extra</ContainerBaseImage>
<ContainerBaseImage>mcr.microsoft.com/dotnet/nightly/runtime-deps:9.0-noble-chiseled-extra</ContainerBaseImage>
<ContainerFamily>noble-chiseled-extra</ContainerFamily>
</PropertyGroup>
<ItemGroup>
Expand Down

0 comments on commit 08d49e9

Please sign in to comment.