Building Better NuGet Packages

preview_player
Показать описание
In this NuGet tutorial, learn how to set common package tags in your csproj, enable deterministic builds, enable SourceLink for your packages and validate them using dotnet validate and NuGet Package Explorer.

🔗 Video Links 🔗
_________________________

😁 Connect With Me 😁
________________________________

📖 Chapters 📖
__________________

0:00 - Beginners Guide To Building Better NuGet Packages
0:35 - How to setup a NuGet Package project
01:10 - How to add NuGet Package Tags
03:54 - How to add a license to a NuGet Package
05:04 - How to add a logo to your NuGet Package
06:12 - Reviewing our work so far
06:53 - How to enable Dotnet Deterministic Builds
08:36 - How to use SourceLink in .NET projects
11:45 - Validating your NuGet Package with NuGet Package Explorer
13:27 - Validating your NuGet Package using dotnet validate

#CodeWithStu #dotnet #csharp
Рекомендации по теме
Комментарии
Автор

If I do this, will I be able to jump into the sources of the packages using "Go to definition" ??

rolandow
Автор

great work I search all over the internet of one week after all I found the solution here

samynathan
Автор

Is there a way to debug NuGet packages using symbol/source server with PDBs? What is a better mechanism to debug NuGets? Embedding the source?

wpbest
Автор

I have a pretty up-to-date copy of Visual Studio, but it's ignoring a lot of tags like <Deterministic> and <EmbedUntrackedResources>. Intellisense doesn't recognize them, and if I set <Deterministic> to true, it still builds in a non-deterministic way. What would be the most likely reason for this?

panzercrisis
Автор

Everything is clear, but it's definitely not for junior)

Vlad-ibiv