diff --git a/src/Sentry.Compiler.Extensions/Sentry.Compiler.Extensions.csproj b/src/Sentry.Compiler.Extensions/Sentry.Compiler.Extensions.csproj index 047ca032ed..9fb31748a3 100644 --- a/src/Sentry.Compiler.Extensions/Sentry.Compiler.Extensions.csproj +++ b/src/Sentry.Compiler.Extensions/Sentry.Compiler.Extensions.csproj @@ -15,7 +15,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/src/Sentry/Sentry.csproj b/src/Sentry/Sentry.csproj index dd16001de7..52878bbaf9 100644 --- a/src/Sentry/Sentry.csproj +++ b/src/Sentry/Sentry.csproj @@ -189,7 +189,20 @@ OutputItemType="Analyzer" ReferenceOutputAssembly="false" PrivateAssets="all" - Pack="true" - PackagePath="analyzers/dotnet/cs" /> + SetTargetFramework="TargetFramework=netstandard2.0" /> + + + $(BeforePack);PackSentryCompilerExtensions + + + + + + true + analyzers\dotnet\roslyn4.3\cs + + + +