-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
The DLL size increase is not large, platforms where this package would be deployed can support it, and it improves debuggability by default. See discussion at dotnet/docs#9110 (comment) and dotnet/sdk#2679 (comment).
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,11 +12,10 @@ | |
<PackageIconUrl>https://mysql-net.github.io/MySqlConnector/img/logo.png</PackageIconUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<RepositoryUrl>https://github.com/mysql-net/MySqlConnector.git</RepositoryUrl> | ||
<DebugType>portable</DebugType> | ||
<DebugType>embedded</DebugType> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
bgrainger
Author
Member
|
||
<LangVersion>latest</LangVersion> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
|
1 comment
on commit 2ff0a1a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great to hear that, thanks! I like embedded for those reasons too, but we settled on portable. Tooling support was better.
The guidance is to
embedadd the portable pdb files in the NuGet package, not set embed the pdb files in the dll files which is what<DebugType>embedded</DebugType>
does.