Skip to content

Commit 85f7685

Browse files
Update SDK (#48908)
* Update SDK * Fix trimming annotation error * Supress RID resolution warning --------- Co-authored-by: Steve Sanderson <[email protected]>
1 parent 1a56bdb commit 85f7685

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

eng/tools/GenerateFiles/Directory.Build.props.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,11 @@
88
<!-- Temporarily hardcoded to true -->
99
<SuppressGenerateILCompilerExplicitPackageReferenceWarning>true</SuppressGenerateILCompilerExplicitPackageReferenceWarning>
1010
</PropertyGroup>
11+
12+
<!-- Ignore warning about RID resolution rules changing in .NET 8 Preview 6 -->
13+
<!-- Needed until https://github.com/ericsink/SQLitePCL.raw/issues/543 is fixed -->
14+
<!-- See https://github.com/dotnet/aspnetcore/pull/48908#issuecomment-1601894643 -->
15+
<ItemGroup>
16+
<RuntimeHostConfigurationOption Include="System.Runtime.Loader.UseRidGraph" Value="true" />
17+
</ItemGroup>
1118
</Project>

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"sdk": {
3-
"version": "8.0.100-preview.6.23305.3"
3+
"version": "8.0.100-preview.7.23321.23"
44
},
55
"tools": {
6-
"dotnet": "8.0.100-preview.6.23305.3",
6+
"dotnet": "8.0.100-preview.7.23321.23",
77
"runtimes": {
88
"dotnet/x86": [
99
"$(MicrosoftNETCoreBrowserDebugHostTransportVersion)"

src/Middleware/Spa/SpaProxy/src/SpaHostingStartup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void Configure(IWebHostBuilder builder)
3131
});
3232

3333
[UnconditionalSuppressMessageAttribute("Trimming", "IL2026", Justification = "Configuration object's public properties are preserved.")]
34-
static void ConfigureOptions<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)] T>(IServiceCollection services, IConfigurationSection section)
34+
static void ConfigureOptions<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] T>(IServiceCollection services, IConfigurationSection section)
3535
where T : class
3636
{
3737
services.Configure<T>(section);

0 commit comments

Comments
 (0)