Skip to content

Commit 8444c3b

Browse files
authored
Embed symbols (#3)
* ImplicitUsings -> GlobalUsings (with some additions) * embed symbols into the DLL
1 parent 2504155 commit 8444c3b

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

src/ClassLib.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
<!-- The following is recommended for public projects -->
1515
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1616
<DebugSymbols>true</DebugSymbols>
17-
<IncludeSymbols>true</IncludeSymbols>
18-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
17+
<DebugType>embedded</DebugType>
1918
</PropertyGroup>
2019

2120
<ItemGroup>

src/GlobalUsings.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
global using System;
2+
global using System.Collections.Generic;
3+
global using System.Linq;
4+
global using System.Threading;
5+
global using System.Threading.Tasks;
6+
7+
// for FormattableString.Invariant
8+
global using static System.FormattableString;

src/ImplicitUsings.cs

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)