Skip to content

Commit

Permalink
Embed symbols (#3)
Browse files Browse the repository at this point in the history
* ImplicitUsings -> GlobalUsings (with some additions)

* embed symbols into the DLL
  • Loading branch information
lostmsu authored Jun 7, 2024
1 parent 2504155 commit 8444c3b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/ClassLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
<!-- The following is recommended for public projects -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<DebugSymbols>true</DebugSymbols>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<DebugType>embedded</DebugType>
</PropertyGroup>

<ItemGroup>
Expand Down
8 changes: 8 additions & 0 deletions src/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
global using System;
global using System.Collections.Generic;
global using System.Linq;
global using System.Threading;
global using System.Threading.Tasks;

// for FormattableString.Invariant
global using static System.FormattableString;
3 changes: 0 additions & 3 deletions src/ImplicitUsings.cs

This file was deleted.

0 comments on commit 8444c3b

Please sign in to comment.