Skip to content

Commit 7c9f1e2

Browse files
committed
Package analyzer with sentry nuget
1 parent d79cf1f commit 7c9f1e2

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

src/Sentry/Sentry.csproj

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,6 @@
106106
This file contains targets that are invoked during the end-user's build.
107107
The same file is included twice, so it ends up being used for both direct and transitive package references to Sentry.
108108
-->
109-
<ItemGroup>
110-
<None Include="buildTransitive\Sentry.targets" Pack="true" PackagePath="buildTransitive\Sentry.targets" />
111-
<None Include="buildTransitive\Sentry.targets" Pack="true" PackagePath="build\Sentry.targets" />
112-
</ItemGroup>
113109

114110
<ItemGroup>
115111
<Using Include="Sentry.Protocol.Envelopes.ISerializable" Alias="ISerializable" />
@@ -195,4 +191,17 @@
195191
<InternalsVisibleTo Include="Sentry.Analyzers.Tests" PublicKey="$(SentryPublicKey)" />
196192
</ItemGroup>
197193

194+
<ItemGroup>
195+
<None Include="buildTransitive\Sentry.targets" Pack="true" PackagePath="buildTransitive\Sentry.targets" />
196+
<None Include="buildTransitive\Sentry.targets" Pack="true" PackagePath="build\Sentry.targets" />
197+
<None Include="buildTransitive\Sentry.Analyzers.targets" Pack="true" PackagePath="buildTransitive\Sentry.Analyzers.targets" />
198+
<None Include="buildTransitive\Sentry.Analyzers.targets" Pack="true" PackagePath="build\Sentry.Analyzers.targets" />
199+
</ItemGroup>
200+
201+
<ItemGroup>
202+
<None Include="..\Sentry.Analyzers\bin\Release\netstandard2.0\Sentry.Analyzers.dll"
203+
Pack="true"
204+
PackagePath="analyzers/dotnet/cs"
205+
Visible="false" />
206+
</ItemGroup>
198207
</Project>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project>
2+
<ItemGroup>
3+
<CompilerVisibleProperty Include="PublishAot" />
4+
<CompilerVisibleProperty Include="UseDotNetNativeToolchain" />
5+
<CompilerVisibleProperty Include="PublishTrimmed" />
6+
<CompilerVisibleProperty Include="DisableSentrySourceGenerator" />
7+
<CompilerVisibleProperty Include="Configuration" />
8+
</ItemGroup>
9+
</Project>

0 commit comments

Comments
 (0)