Skip to content

Commit

Permalink
remove unused references, suppress dependencies and include symbols f…
Browse files Browse the repository at this point in the history
…or analyzer package
  • Loading branch information
FlorianAuinger committed Mar 21, 2022
1 parent bd43e87 commit ada8975
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="FluentAssertions" Version="6.2.0" />
<PackageReference Include="Microsoft.CodeAnalysis" Version="4.0.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="xunit" Version="2.4.1" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<IncludeBuildOutput>false</IncludeBuildOutput>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis" Version="4.0.1">
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.1.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.1.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Weingartner.Json.Migration\Weingartner.Json.Migration.csproj" />
</ItemGroup>

<PropertyGroup>
<PackageId>Weingartner.Json.Migration.Analyzer</PackageId>
<IncludeBuildOutput>false</IncludeBuildOutput>
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>

<ContentTargetFolders>analyzers\dotnet\cs</ContentTargetFolders>
<TargetsForTfmSpecificContentInPackage>$(TargetsForTfmSpecificContentInPackage);_AddAnalyzersToOutput</TargetsForTfmSpecificContentInPackage>
Expand All @@ -41,5 +43,7 @@
<AdditionalFiles Include="AnalyzerReleases.Unshipped.md" />
</ItemGroup>

<Import Project="..\Weingartner.Migration.Common.Shared\Weingartner.Migration.Common.Shared.projitems" Label="Shared" />

</Project>

1 change: 1 addition & 0 deletions Weingartner.Json.Migration.sln
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
Weingartner.Migration.Common.Shared\Weingartner.Migration.Common.Shared.projitems*{567ecd20-eb97-4a30-a5b2-0889d1609491}*SharedItemsImports = 5
Weingartner.Migration.Common.Shared\Weingartner.Migration.Common.Shared.projitems*{630bac68-a278-4bce-abf1-6c864b141aa0}*SharedItemsImports = 5
Weingartner.Migration.Common.Shared\Weingartner.Migration.Common.Shared.projitems*{d1ebb04a-a30b-43a6-a1a7-945bcfdf8ef0}*SharedItemsImports = 13
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
24 changes: 24 additions & 0 deletions scripts/build.fsx.lock
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,19 @@ NUGET
FSharp.Core (>= 4.7.2)
System.Reactive (>= 5.0)
FSharp.Core (4.7.2)
Microsoft.Bcl.AsyncInterfaces (6.0)
System.Threading.Tasks.Extensions (>= 4.5.4)
Microsoft.Build (17.1)
Microsoft.Build.Framework (>= 17.1)
Microsoft.NET.StringTools (>= 1.0)
Microsoft.Win32.Registry (>= 4.3)
System.Collections.Immutable (>= 5.0)
System.Configuration.ConfigurationManager (>= 4.7)
System.Reflection.Metadata (>= 1.6)
System.Security.Principal.Windows (>= 4.7)
System.Text.Encoding.CodePages (>= 4.0.1)
System.Text.Json (>= 6.0)
System.Threading.Tasks.Dataflow (>= 6.0)
Microsoft.Build.Framework (17.1)
Microsoft.Win32.Registry (>= 4.3)
System.Security.Permissions (>= 4.7)
Expand Down Expand Up @@ -214,6 +226,18 @@ NUGET
System.Text.Encoding.CodePages (6.0)
System.Memory (>= 4.5.4)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Text.Encodings.Web (6.0)
System.Buffers (>= 4.5.1)
System.Memory (>= 4.5.4)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Text.Json (6.0.2)
Microsoft.Bcl.AsyncInterfaces (>= 6.0)
System.Buffers (>= 4.5.1)
System.Memory (>= 4.5.4)
System.Numerics.Vectors (>= 4.5)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Text.Encodings.Web (>= 6.0)
System.Threading.Tasks.Extensions (>= 4.5.4)
System.Threading.Tasks.Dataflow (6.0)
System.Threading.Tasks.Extensions (4.5.4)
System.Runtime.CompilerServices.Unsafe (>= 4.5.3)
Expand Down

0 comments on commit ada8975

Please sign in to comment.