DotNET: Difference between revisions

YoshiRulz (talk | contribs)
Bring example more in line with Nixpkgs manual re: NuGet deps; don't suggest copying hash from failed build log
YoshiRulz (talk | contribs)
Copyedit non-.NET Core section for clarity and add some details re: Mono
Line 46: Line 46:
== Building non-.NET Core packages ==
== Building non-.NET Core packages ==


Keep in mind that building non-.NET Core projects (ie. projects that don't build using the <code>dotnet</code> CLI tool) is not well supported. For those projects, you have to work on a custom derivation or override the <code>buildDotnetModule</code> build steps.
Keep in mind that building projects which don't use the .NET SDK (formerly the .NET Core SDK) and its <code>dotnet</code> CLI tool isn't supported.
For those projects, you'll have to heavily customise the <code>buildDotnetModule</code> build steps, or write a custom derivation.
 
Projects which target .NET Standard or .NET Framework (incl. Mono), but still use the new project structure and SDK, work as expected.
Just remember to add `mono` to `buildInputs` and generate a wrapper script in `postInstall`.


== Building ASP.NET packages ==
== Building ASP.NET packages ==