Skip to content

Commit 512e76b

Browse files
committed
Try toolset package?
1 parent fd2db0c commit 512e76b

File tree

8 files changed

+9
-1
lines changed

8 files changed

+9
-1
lines changed

dotnet/Directory.Packages.props

+2-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@
150150
<!-- Symbols -->
151151
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
152152
<!-- Toolset -->
153-
<PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0-preview.24415.1" />
153+
<PackageVersion Include="Microsoft.Net.Compilers.Toolset" Version="4.12.0" />
154+
<PackageVersion Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0" />
154155
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers">
155156
<PrivateAssets>all</PrivateAssets>
156157
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

dotnet/samples/Concepts/Concepts.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
</PropertyGroup>
1515

1616
<ItemGroup>
17+
<PackageReference Include="Microsoft.Net.Compilers.Toolset" />
1718
<PackageReference Include="Docker.DotNet" />
1819
<PackageReference Include="Microsoft.Extensions.AI.OpenAI" />
1920
<PackageReference Include="Microsoft.ML.Tokenizers.Data.Cl100kBase" />

dotnet/samples/Demos/AIModelRouter/AIModelRouter.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13+
<PackageReference Include="Microsoft.Net.Compilers.Toolset" />
1314
<PackageReference Include="Azure.Identity" />
1415
<PackageReference Include="Microsoft.Extensions.Configuration" />
1516
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" />

dotnet/samples/Demos/CopilotAgentPlugins/CopilotAgentPluginsDemoSample/CopilotAgentPluginsDemoSample.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
</ItemGroup>
4242

4343
<ItemGroup>
44+
<PackageReference Include="Microsoft.Net.Compilers.Toolset" />
4445
<PackageReference Include="Microsoft.Extensions.Configuration"/>
4546
<PackageReference Include="Microsoft.Extensions.Configuration.Json"/>
4647
<PackageReference Include="Microsoft.Extensions.Logging"/>

dotnet/samples/Demos/OllamaFunctionCalling/OllamaFunctionCalling.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10+
<PackageReference Include="Microsoft.Net.Compilers.Toolset" />
1011
<ProjectReference Include="..\..\..\src\Connectors\Connectors.Ollama\Connectors.Ollama.csproj" />
1112
<ProjectReference Include="..\..\..\src\SemanticKernel.Abstractions\SemanticKernel.Abstractions.csproj" />
1213
</ItemGroup>

dotnet/src/Connectors/Connectors.Ollama.UnitTests/Connectors.Ollama.UnitTests.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
</PropertyGroup>
1515

1616
<ItemGroup>
17+
<PackageReference Include="Microsoft.Net.Compilers.Toolset" />
1718
<PackageReference Include="Microsoft.NET.Test.Sdk" />
1819
<PackageReference Include="Moq" />
1920
<PackageReference Include="OllamaSharp">

dotnet/src/Connectors/Connectors.Ollama/Connectors.Ollama.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
<PackageReference Include="OllamaSharp">
2828
<ExcludeAssets>analyzers</ExcludeAssets>
2929
</PackageReference>
30+
<PackageReference Include="Microsoft.Net.Compilers.Toolset" />
3031
</ItemGroup>
3132

3233
<ItemGroup>

dotnet/src/IntegrationTests/IntegrationTests.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
<None Remove="skills\FunSkill\Joke\skprompt.txt" />
4242
</ItemGroup>
4343
<ItemGroup>
44+
<PackageReference Include="Microsoft.Net.Compilers.Toolset" />
4445
<PackageReference Include="Azure.Identity" />
4546
<PackageReference Include="Microsoft.Extensions.Configuration" />
4647
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" />

0 commit comments

Comments
 (0)