diff --git a/src/ThisAssembly.AssemblyInfo/ThisAssembly.AssemblyInfo.csproj b/src/ThisAssembly.AssemblyInfo/ThisAssembly.AssemblyInfo.csproj index abe5ba3d..51518b83 100644 --- a/src/ThisAssembly.AssemblyInfo/ThisAssembly.AssemblyInfo.csproj +++ b/src/ThisAssembly.AssemblyInfo/ThisAssembly.AssemblyInfo.csproj @@ -6,7 +6,6 @@ true analyzers/dotnet/roslyn$(ThisAssemblyMinimumRoslynVersion) - $(MSBuildThisFileDirectory)..\SponsorLink\SponsorLink.Analyzer.targets @@ -29,6 +28,11 @@ on the `ThisAssembly.Info` class. + + $(MSBuildThisFileDirectory)..\SponsorLink\SponsorLink.Analyzer.targets + ThisAssembly;$(PackageId) + + diff --git a/src/ThisAssembly.Constants/ThisAssembly.Constants.csproj b/src/ThisAssembly.Constants/ThisAssembly.Constants.csproj index bf86ef86..57857208 100644 --- a/src/ThisAssembly.Constants/ThisAssembly.Constants.csproj +++ b/src/ThisAssembly.Constants/ThisAssembly.Constants.csproj @@ -4,7 +4,6 @@ netstandard2.0 latest true - $(MSBuildThisFileDirectory)..\SponsorLink\SponsorLink.Analyzer.targets @@ -38,6 +37,12 @@ C#: + + $(MSBuildThisFileDirectory)..\SponsorLink\SponsorLink.Analyzer.targets + + ThisAssembly;ThisAssembly.Git;ThisAssembly.Metadata;$(PackageId) + + diff --git a/src/ThisAssembly.Project/ThisAssembly.Project.csproj b/src/ThisAssembly.Project/ThisAssembly.Project.csproj index 5f60d6f9..0d01d54e 100644 --- a/src/ThisAssembly.Project/ThisAssembly.Project.csproj +++ b/src/ThisAssembly.Project/ThisAssembly.Project.csproj @@ -4,7 +4,6 @@ netstandard2.0 latest true - $(MSBuildThisFileDirectory)..\SponsorLink\SponsorLink.Analyzer.targets @@ -38,6 +37,11 @@ C#: + + $(MSBuildThisFileDirectory)..\SponsorLink\SponsorLink.Analyzer.targets + ThisAssembly;$(PackageId) + + diff --git a/src/ThisAssembly.Resources/ThisAssembly.Resources.csproj b/src/ThisAssembly.Resources/ThisAssembly.Resources.csproj index 9989c2fc..a0dc7d98 100644 --- a/src/ThisAssembly.Resources/ThisAssembly.Resources.csproj +++ b/src/ThisAssembly.Resources/ThisAssembly.Resources.csproj @@ -8,7 +8,6 @@ ThisAssembly.Resource - $(MSBuildThisFileDirectory)..\SponsorLink\SponsorLink.Analyzer.targets @@ -19,6 +18,11 @@ + + $(MSBuildThisFileDirectory)..\SponsorLink\SponsorLink.Analyzer.targets + ThisAssembly;$(PackageId) + + diff --git a/src/ThisAssembly.Strings/ThisAssembly.Strings.csproj b/src/ThisAssembly.Strings/ThisAssembly.Strings.csproj index 44dcb871..67aa5c75 100644 --- a/src/ThisAssembly.Strings/ThisAssembly.Strings.csproj +++ b/src/ThisAssembly.Strings/ThisAssembly.Strings.csproj @@ -4,7 +4,6 @@ netstandard2.0 latest true - $(MSBuildThisFileDirectory)..\SponsorLink\SponsorLink.Analyzer.targets @@ -24,6 +23,11 @@ such as "Hello {name}". + + $(MSBuildThisFileDirectory)..\SponsorLink\SponsorLink.Analyzer.targets + ThisAssembly;$(PackageId) + +