Skip to content

Commit fa7733a

Browse files
committed
Use source package.
1 parent fba0db1 commit fa7733a

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

PropertyChangedAnalyzers/PropertyChangedAnalyzers.csproj

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@
1313
<AnalysisLevel>latest</AnalysisLevel>
1414
</PropertyGroup>
1515

16+
<!-- Specific to packing an analyzer -->
1617
<PropertyGroup>
17-
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
18-
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
19-
<IncludeBuildOutput>false</IncludeBuildOutput>
2018
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
19+
<DevelopmentDependency>true</DevelopmentDependency>
20+
<IncludeBuildOutput>false</IncludeBuildOutput>
21+
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
22+
<AppendTargetFrameworkToOutputDirectory>false</AppendTargetFrameworkToOutputDirectory>
2123
</PropertyGroup>
2224

2325
<PropertyGroup>
2426
<Version>3.2.3</Version>
25-
<DevelopmentDependency>true</DevelopmentDependency>
2627
<Authors>Johan Larsson</Authors>
2728
<Description>Roslyn analyzers for INotifyPropertyChanged.</Description>
2829
<PackageTags>INotifyPropertyChanged Roslyn Diagnostic Analyzer DotnetAnalyzers</PackageTags>
@@ -59,20 +60,20 @@
5960

6061
<ItemGroup>
6162
<PackageReference Include="Gu.Analyzers" Version="2.0.0" PrivateAssets="all" />
62-
<PackageReference Include="Gu.Roslyn.Extensions" Version="0.16.0" />
63+
<PackageReference Include="Gu.Roslyn.Extensions.Source" Version="0.16.0" />
6364
<PackageReference Include="IDisposableAnalyzers" Version="4.0.0" PrivateAssets="all" />
6465
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.0.1" />
6566
<PackageReference Include="ReflectionAnalyzers" Version="0.3.0" PrivateAssets="all" />
6667
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.354" PrivateAssets="all" />
6768
</ItemGroup>
6869

6970
<ItemGroup>
70-
<PackageDownload Include="Microsoft.NETCore.App.Ref" Version="[3.1.0]" />
71+
<PackageDownload Include="Microsoft.NETCore.App.Ref" Version="[5.0.0]" />
7172
<PackageReference Include="TunnelVisionLabs.ReferenceAssemblyAnnotator" Version="1.0.0-alpha.160" PrivateAssets="all" />
7273
</ItemGroup>
7374

7475
<ItemGroup>
7576
<None Update="tools\*" Pack="true" PackagePath="" />
76-
<None Include="$(OutputPath)\$(AssemblyName).dll;$(OutputPath)\Gu.Roslyn.Extensions.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
77+
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
7778
</ItemGroup>
7879
</Project>

0 commit comments

Comments
 (0)