Skip to content

Commit e04d9dd

Browse files
Copilotstephentoub
andcommitted
Fix CI build failures by removing direct Analyzer reference that expects pre-built DLL
Co-authored-by: stephentoub <[email protected]>
1 parent a5b8d2b commit e04d9dd

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/ModelContextProtocol.Core/ModelContextProtocol.Core.csproj

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,8 @@
5151
<ItemGroup>
5252
<ProjectReference Include="..\ModelContextProtocol.SourceGenerators\ModelContextProtocol.SourceGenerators.csproj"
5353
OutputItemType="Analyzer"
54-
ReferenceOutputAssembly="false" />
55-
</ItemGroup>
56-
57-
<!-- Direct analyzer reference for build-time source generation -->
58-
<ItemGroup>
59-
<Analyzer Include="$(ArtifactsDir)bin\ModelContextProtocol.SourceGenerators\netstandard2.0\ModelContextProtocol.SourceGenerators.dll" />
54+
ReferenceOutputAssembly="false"
55+
SetTargetFramework="TargetFramework=netstandard2.0" />
6056
</ItemGroup>
6157

6258
<!-- Package the analyzer DLL into the NuGet package -->

0 commit comments

Comments
 (0)