Skip to content

Commit

Permalink
Embed symbols in assembly, drop .snupkg
Browse files Browse the repository at this point in the history
Since we're generating portable symbols, these are WAY smaller than
full PDBs used to be. Their size contribution to the package are
negligible and for convenience, it's more common nowadays to just
embed the symbols always in the assembly itself. In particular for
a library that is not deployed to production apps, this makes
perfect sense.

So stop generating the (effectively legacy) .snupkg.
  • Loading branch information
kzu authored and stakx committed Nov 10, 2020
1 parent 5da774c commit aea6c79
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Moq/Moq.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<TargetFrameworks>net45;netstandard2.0</TargetFrameworks>
<AssemblyName>Moq</AssemblyName>
<DebugSymbols>True</DebugSymbols>
<DebugType>portable</DebugType>
<DebugType>embedded</DebugType>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
<GenerateDocumentation>true</GenerateDocumentation>
<NoWarn>0419</NoWarn>
Expand All @@ -35,8 +35,7 @@
<PackageTags>moq;tdd;mocking;mocks;unittesting;agile;unittest</PackageTags>
<PackageProjectUrl>https://github.com/moq/moq4</PackageProjectUrl>
<RepositoryUrl>https://github.com/moq/moq4</RepositoryUrl>
<IncludeSymbols>True</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<IncludeSymbols>false</IncludeSymbols>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit aea6c79

Please sign in to comment.