diff --git a/src/ComputeSharp.Core.SourceGenerators/ComputeSharp.Core.SourceGenerators.csproj b/src/ComputeSharp.Core.SourceGenerators/ComputeSharp.Core.SourceGenerators.csproj index 6f9be687..00a1b79d 100644 --- a/src/ComputeSharp.Core.SourceGenerators/ComputeSharp.Core.SourceGenerators.csproj +++ b/src/ComputeSharp.Core.SourceGenerators/ComputeSharp.Core.SourceGenerators.csproj @@ -2,10 +2,6 @@ netstandard2.0 - - - $(DefineConstants);SOURCE_GENERATOR - diff --git a/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj b/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj index 3f9d8158..196b2bdc 100644 --- a/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj +++ b/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj @@ -4,10 +4,6 @@ $(NoWarn);CS1591;CS0649;CS1574 - - $(DefineConstants);SOURCE_GENERATOR - - diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 00d7ce1c..82e682af 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -38,6 +38,9 @@ + + $(DefineConstants);SOURCE_GENERATOR + false @@ -69,9 +72,9 @@ - + all build;analyzers