Nuget Package

Overview of nuget package usage in altinn studio

This page is constantly updated on the use of nuget package in altinn studio.

Nuget Package

Altinn Studio publishes nuget package to share common libraries between different solutions. You can read more about nuget here.

Following nuget packages are published and are available for download [here] (

Procedure for Nuget Packages

  1. Implement all changes necessary in the Nuget Package project e.g. Storage.Interface.csproj.
  2. Submit PR on these changes only. No implementation on other projects should be included.
  3. Once PR approved and changes are merged into master; create and deploy new Nuget Package based on master branch.
  4. Continue with implementation, referencing the updated Nuget wherever it is needed.
  5. Remember to update all outdated references to the Nuget and check that all tests run successfully before submitting a final PR.

Create Nuget Package

Detailed documentation on how to create a nuget package, guidelines etc can be found here.

An example of nuget package creation in altinn studio

Example : Create Altinn.Platform.Storage.Interface nuget package

Set Project Properties

  1. Open Altinn.Platform.Storage solution

  2. Right click on Storage.Interface project and select properties. You will see the screen below Project Properties

  3. Choose Package, add the package details such as id, version, description, author, company and tags.

  4. Save the changes

  5. Choose release mode

  6. Right click on Storage.Interface and select “Pack”

  7. The package will now be created in “C:\Repos\altinn-studio\src\Altinn.Platform\Altinn.Platform.Storage\Storage.Interface\bin\Release”

  8. Go to commandline, navigate to the release path

  9. run “dotnet nuget push Altinn.Platform.Storage.Interface.1.0.1-alpha.nupkg -k [nuget api key] -s"

  10. Your package will now be published to