Skip to content

Commit 4c01569

Browse files
Copilotstephentoub
andcommitted
Fix analyzer packaging - use $(Configuration) in path as SourceGenerators outputs to Debug/netstandard2.0
Co-authored-by: stephentoub <[email protected]>
1 parent 7376e58 commit 4c01569

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ModelContextProtocol.Core/ModelContextProtocol.Core.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@
5757
</ItemGroup>
5858

5959
<!-- Package the analyzer DLL into the NuGet package -->
60+
<!-- The SourceGenerators project uses IsRoslynComponent which outputs to bin/Debug/netstandard2.0 without Configuration in the path -->
6061
<ItemGroup>
61-
<None Include="$(ArtifactsDir)bin\ModelContextProtocol.SourceGenerators\netstandard2.0\ModelContextProtocol.SourceGenerators.dll"
62+
<None Include="$(ArtifactsDir)bin\ModelContextProtocol.SourceGenerators\$(Configuration)\netstandard2.0\ModelContextProtocol.SourceGenerators.dll"
6263
Pack="true"
6364
PackagePath="analyzers/dotnet/cs"
6465
Visible="false" />

0 commit comments

Comments
 (0)