Skip to content

Commit 7887fac

Browse files
committed
Remove analyzer temporary
1 parent ed7eecf commit 7887fac

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Directory.Build.props

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project>
2+
<!-- OllamaSharp.SourceGenerators uses Roslyn analyzer 4.12.0.0 which is available only from .NET 9+ SDK. This can be
3+
deleted once we upgrade to .NET 9. Need to remove the analyzer explicitly for this otherwise it does not remove it. -->
4+
<Target Name="RemoveOllamaAnalyzer" BeforeTargets="CoreCompile">
5+
<ItemGroup>
6+
<Analyzer Remove="@(Analyzer)" Condition="'%(Filename)' == 'OllamaSharp.SourceGenerators'" />
7+
</ItemGroup>
8+
</Target>
9+
</Project>

DotNest.Core.SDK.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1717
NuGet.config = NuGet.config
1818
Readme.md = Readme.md
1919
renovate.json5 = renovate.json5
20+
Directory.Build.props = Directory.Build.props
2021
EndProjectSection
2122
EndProject
2223
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{7E3915D4-E24A-45FD-887C-3CB4F445C30B}"

0 commit comments

Comments
 (0)