Skip to content
8 changes: 4 additions & 4 deletions eng/Version.Details.props
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ This file should be imported by eng/Versions.props
<optimizationwindows_ntx64MIBCRuntimePackageVersion>1.0.0-prerelease.25502.1</optimizationwindows_ntx64MIBCRuntimePackageVersion>
<optimizationwindows_ntx86MIBCRuntimePackageVersion>1.0.0-prerelease.25502.1</optimizationwindows_ntx86MIBCRuntimePackageVersion>
<!-- dotnet/msbuild dependencies -->
<MicrosoftBuildPackageVersion>17.12.36</MicrosoftBuildPackageVersion>
<MicrosoftBuildFrameworkPackageVersion>17.12.36</MicrosoftBuildFrameworkPackageVersion>
<MicrosoftBuildTasksCorePackageVersion>17.12.36</MicrosoftBuildTasksCorePackageVersion>
<MicrosoftBuildUtilitiesCorePackageVersion>17.12.36</MicrosoftBuildUtilitiesCorePackageVersion>
<MicrosoftBuildPackageVersion>17.12.50</MicrosoftBuildPackageVersion>
<MicrosoftBuildFrameworkPackageVersion>17.12.50</MicrosoftBuildFrameworkPackageVersion>
<MicrosoftBuildTasksCorePackageVersion>17.12.50</MicrosoftBuildTasksCorePackageVersion>
<MicrosoftBuildUtilitiesCorePackageVersion>17.12.50</MicrosoftBuildUtilitiesCorePackageVersion>
</PropertyGroup>
<!--Property group for alternate package version names-->
<PropertyGroup>
Expand Down
16 changes: 8 additions & 8 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -424,21 +424,21 @@
</Dependency>
<!-- Dependencies required for source build to lift to the previously-source-built version. -->
<!-- These versions are manually updated -->
<Dependency Name="Microsoft.Build" Version="17.12.36" Label="Manual">
<Dependency Name="Microsoft.Build" Version="17.12.50" Label="Manual">
<Uri>https://github.com/dotnet/msbuild</Uri>
<Sha>d1cce8d7cc03c23a4f1bad8e9240714fd9d199a3</Sha>
<Sha>465c45808f0e9f3c32eb145101eeeccdc29d39e6</Sha>
</Dependency>
<Dependency Name="Microsoft.Build.Framework" Version="17.12.36" Label="Manual">
<Dependency Name="Microsoft.Build.Framework" Version="17.12.50" Label="Manual">
<Uri>https://github.com/dotnet/msbuild</Uri>
<Sha>d1cce8d7cc03c23a4f1bad8e9240714fd9d199a3</Sha>
<Sha>465c45808f0e9f3c32eb145101eeeccdc29d39e6</Sha>
</Dependency>
<Dependency Name="Microsoft.Build.Tasks.Core" Version="17.12.36" Label="Manual">
<Dependency Name="Microsoft.Build.Tasks.Core" Version="17.12.50" Label="Manual">
<Uri>https://github.com/dotnet/msbuild</Uri>
<Sha>d1cce8d7cc03c23a4f1bad8e9240714fd9d199a3</Sha>
<Sha>465c45808f0e9f3c32eb145101eeeccdc29d39e6</Sha>
</Dependency>
<Dependency Name="Microsoft.Build.Utilities.Core" Version="17.12.36" Label="Manual">
<Dependency Name="Microsoft.Build.Utilities.Core" Version="17.12.50" Label="Manual">
<Uri>https://github.com/dotnet/msbuild</Uri>
<Sha>d1cce8d7cc03c23a4f1bad8e9240714fd9d199a3</Sha>
<Sha>465c45808f0e9f3c32eb145101eeeccdc29d39e6</Sha>
</Dependency>
<Dependency Name="NuGet.Frameworks" Version="7.0.0-preview.1.1610" Label="Manual">
<Uri>https://github.com/dotnet/dotnet</Uri>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,31 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Hosting" Version="2.2.0" >
<PackageReference Include="Microsoft.AspNetCore.Hosting" Version="2.3.0" >
<AllowExplicitReference>true</AllowExplicitReference>
</PackageReference>
<PackageReference Include="Microsoft.AspNetCore.ResponseCompression" Version="2.2.0" >
<PackageReference Include="Microsoft.AspNetCore.ResponseCompression" Version="2.3.0" >
<AllowExplicitReference>true</AllowExplicitReference>
</PackageReference>
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="2.2.0" >
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="2.3.0" >
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect this won't work as I think InProcess support was added in 2.2.

This csproj exists to test ANCM compatibility with older TFMs. Is there a way to change it to target the oldest supported TFM that is not 2.3?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of these packages were discontinued after 2.2, so I'm not sure - the only update we need to make is kestrel.core, so maybe I'll try just updating that one

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, that doesn't work - would it be sufficient to multitarget DefaultNetCoreTargetFramework and CurrentLtsTargetFramework, and remove all the 2.x PackageRefs?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No because we want to target an older TFM to verify back-compat. Those are the same values currently

<DefaultNetCoreTargetFramework>net10.0</DefaultNetCoreTargetFramework>
<!-- this should usually match for LTS builds, and be off-by-one otherwise;
example use-case here is OOB packages where Aspire wants to be able to consume
new features specific to OOB -->
<CurrentLtsTargetFramework>net10.0</CurrentLtsTargetFramework>

Ideally, it'd target net8.0 right now.

<AllowExplicitReference>true</AllowExplicitReference>
</PackageReference>
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.2.0" >
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="2.3.0" >
<AllowExplicitReference>true</AllowExplicitReference>
</PackageReference>
<PackageReference Include="Microsoft.AspNetCore.HttpsPolicy" Version="2.2.0" >
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel.Core" Version="2.3.6" >
<AllowExplicitReference>true</AllowExplicitReference>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="2.2.0" >
<PackageReference Include="Microsoft.AspNetCore.HttpsPolicy" Version="2.3.0" >
<AllowExplicitReference>true</AllowExplicitReference>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.2.0" >
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" >
<AllowExplicitReference>true</AllowExplicitReference>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="2.2.0" >
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.1" >
<AllowExplicitReference>true</AllowExplicitReference>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.1" >
<AllowExplicitReference>true</AllowExplicitReference>
</PackageReference>
<Reference Include="xunit.assert" />
Expand Down
Loading