Skip to content

Commit a371d9c

Browse files
Fix build
1 parent 1f464df commit a371d9c

File tree

5 files changed

+11
-0
lines changed

5 files changed

+11
-0
lines changed

src/Libraries/Microsoft.Extensions.AI.AzureAIInference/Microsoft.Extensions.AI.AzureAIInference.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
<PropertyGroup>
1717
<TargetFrameworks>$(TargetFrameworks);netstandard2.0</TargetFrameworks>
18+
<ForceLatestDotnetVersions>true</ForceLatestDotnetVersions>
1819
<NoWarn>$(NoWarn);CA1063;CA2227;SA1316;S1067;S1121;S3358</NoWarn>
1920
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2021
<DisableNETStandardCompatErrors>true</DisableNETStandardCompatErrors>

test/Libraries/Microsoft.Extensions.AI.Integration.Tests/Microsoft.Extensions.AI.Integration.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<PropertyGroup>
99
<NoWarn>$(NoWarn);CA1063;CA1861;SA1130;VSTHRD003</NoWarn>
1010
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
11+
<ForceLatestDotnetVersions>true</ForceLatestDotnetVersions>
1112
</PropertyGroup>
1213

1314
<PropertyGroup>

test/Libraries/Microsoft.Extensions.AI.Ollama.Tests/Microsoft.Extensions.AI.Ollama.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
</PropertyGroup>
66

77
<PropertyGroup>
8+
<ForceLatestDotnetVersions>true</ForceLatestDotnetVersions>
89
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
910
</PropertyGroup>
1011

test/Libraries/Microsoft.Extensions.AI.OpenAI.Tests/Microsoft.Extensions.AI.OpenAI.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
</PropertyGroup>
77

88
<PropertyGroup>
9+
<ForceLatestDotnetVersions>true</ForceLatestDotnetVersions>
910
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1011
<InjectDiagnosticAttributesOnLegacy>true</InjectDiagnosticAttributesOnLegacy>
1112
</PropertyGroup>

test/Libraries/Microsoft.Extensions.AotCompatibility.TestApp/Microsoft.Extensions.AotCompatibility.TestApp.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
<LibraryProjects Remove="$(RepoRoot)\src\Libraries\Microsoft.Extensions.Compliance.Redaction\Microsoft.Extensions.Compliance.Redaction.csproj" />
2626
<!-- https://github.com/dotnet/extensions/issues/5625 -->
2727
<LibraryProjects Remove="$(RepoRoot)\src\Libraries\Microsoft.Extensions.Http.Resilience\Microsoft.Extensions.Http.Resilience.csproj" />
28+
29+
<!-- TO DO: create a GitHub issue -->
30+
<LibraryProjects Remove="$(RepoRoot)\src\Libraries\Microsoft.Extensions.Diagnostics.Testing\Microsoft.Extensions.Diagnostics.Testing.csproj" />
31+
<LibraryProjects Remove="$(RepoRoot)\src\Libraries\Microsoft.Extensions.Http.Diagnostics\Microsoft.Extensions.Http.Diagnosticss.csproj" />
32+
<LibraryProjects Remove="$(RepoRoot)\src\Libraries\Microsoft.Extensions.Telemetry\Microsoft.Extensions.Telemetry.csproj" />
33+
<LibraryProjects Remove="$(RepoRoot)\src\Libraries\Microsoft.AspNetCore.Diagnostics.Middleware\Microsoft.AspNetCore.Diagnostics.Middleware.csproj" />
34+
<!---->
2835

2936
<TrimmerRootAssembly Include="@(LibraryProjects->'%(FileName)')" />
3037
<ProjectReference Include="@(LibraryProjects)" />

0 commit comments

Comments
 (0)