nanoFramework.NET.Sdk 1.0.0-preview.11

Prefix Reserved
This is a prerelease version of nanoFramework.NET.Sdk.
dotnet add package nanoFramework.NET.Sdk --version 1.0.0-preview.11
                    
NuGet\Install-Package nanoFramework.NET.Sdk -Version 1.0.0-preview.11
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="nanoFramework.NET.Sdk" Version="1.0.0-preview.11">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="nanoFramework.NET.Sdk" Version="1.0.0-preview.11" />
                    
Directory.Packages.props
<PackageReference Include="nanoFramework.NET.Sdk">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add nanoFramework.NET.Sdk --version 1.0.0-preview.11
                    
#r "nuget: nanoFramework.NET.Sdk, 1.0.0-preview.11"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package nanoFramework.NET.Sdk@1.0.0-preview.11
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=nanoFramework.NET.Sdk&version=1.0.0-preview.11&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=nanoFramework.NET.Sdk&version=1.0.0-preview.11&prerelease
                    
Install as a Cake Tool

nanoFramework.Sdk

MSBuild SDK package for .NET nanoFramework projects. Enables building nanoFramework class libraries and applications using dotnet build and standard SDK-style project files.

Overview

This SDK replaces the legacy MSBuild infrastructure previously bundled inside the Visual Studio extension (VSIX). It packages the nanoFramework build pipeline — C# compilation, metadata processing (IL→PE), resource generation, and binary output — into a standard NuGet-distributed MSBuild SDK.

Usage

Create an SDK-style project file (.csproj):

<Project Sdk="nanoFramework.Sdk/0.1.0">

  <PropertyGroup>
    <OutputType>Library</OutputType>
    <RootNamespace>MyLibrary</RootNamespace>
    <AssemblyName>MyLibrary</AssemblyName>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="nanoFramework.CoreLibrary" Version="2.0.0-preview.52" />
  </ItemGroup>

</Project>

Build with the dotnet CLI:

dotnet build
dotnet pack

Or pin the SDK version in global.json:

{
  "msbuild-sdks": {
    "nanoFramework.Sdk": "0.1.0"
  }
}

Project Structure

nanoFramework.NET.Sdk/             SDK NuGet package (Sdk.props / Sdk.targets)
nanoFramework.Tools.BuildTasks/     Custom MSBuild tasks (resource gen, binary output, etc.)

Tools

The dotnet nano umbrella CLI and the nano-migrate project migrator (with the companion SDK-migration skill) live in the nanoframework/nf-tools repository, under tools/nano and tools/migrate.

Development

dotnet build
dotnet pack nanoFramework.NET.Sdk\nanoFramework.NET.Sdk.csproj

The resulting .nupkg can be tested locally by adding its output directory as a NuGet source.

License

See LICENSE file for details.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-preview.11 74 6/26/2026
1.0.0-preview.9 69 6/25/2026
1.0.0-preview.4 65 6/24/2026
1.0.0-preview.3 70 6/24/2026