dotnet-campus / SourceYard

Add a NuGet package only for dll reference? By using dotnetCampus.SourceYard, you can pack a NuGet package with source code. By installing the new source code package, all source codes behaviors just like it is in your project.
MIT License
51 stars 12 forks source link
dotnet-core nuget roslyn

dotnetCampus.SourceYard

Build NuGet

Add a NuGet package only for dll reference? By using dotnetCampus.SourceYard, you can pack a NuGet package with source code. By installing the new source code package, all source codes behaviors just like it is in your project.

Getting Started

Packing a source NuGet package

Using NuGet tool to install dotnetCampus.SourceYard to your project

PM> Install-Package dotnetCampus.SourceYard 

Or

dotnet add package dotnetCampus.SourceYard

And then you should build your project and you will find the *.Source.version.nupkg file in your package output folder

Remark

The package with 0.1.19035-alpha version will break the double package reference project.

If you want to support the double package reference project, you can use the package with 0.1.19033-alpha version.

Documentation

简体中文

NuGet shared source packages Microsoft Docs

Contributing

PRs Welcome

If you would like to contribute, feel free to create a Pull Request, or give us Bug Report.

Roadmap

Check out this Roadmap to learn about our development plans for 2021.

Thanks