Csproj.Sdk.Void 1.1.0

<Sdk Name="Csproj.Sdk.Void" Version="1.1.0" />                
For projects that support Sdk, copy this XML node into the project file to reference the package.

Csproj.Sdk is msbuild SDK collection for C# project (.csproj file) to migrate legacy-style project to newer SDK-style format.

Csproj.Sdk.Void

How to Migrate .csproj to SDK-Style

For example, use Csproj.Sdk.Void as an SDK for your .csproj.

<Project Sdk="Csproj.Sdk.Void/1.1.0">
    ...
    ... original file contents except for <Project> tag ...
    ...
</Project>

[!NOTE] Version prefix (/1.1.0) must be specified to activate internal nuget resolver.

This will make project sdk-style and allow setting nullability for whole project by adding <Nullable>enable</Nullable> to .csproj. Surprisingly, nullability setting is not recognized by Visual Studio if Project tag doesn't have Sdk attribute!!

See: <Nullable> has no effect in old-style csproj

Available SDKs

Csproj.Sdk.Void

src/Csproj.Sdk.Void/

This SDK will not do anything, is just for converting legacy-style project to sdk-style.

Csproj.Sdk.Unity.VisualStudio

T.B.D.

Unity Integration

To migrate Unity project to sdk-style format, see Unity/README.md

Note: Unity's Visual Studio Editor package changelog describes that adding support generation of SDK-style project, but unfortunately, it still generates legacy-style format with some changes such as project header updated to <Project ToolsVersion="Current">. (actually it is sdk-importing-legacy-style project)

And also sdk-importing-style format generation is only performed when External Script Editor is set to VS Code. Unity is still generating legacy-format for Visual Studio environment.

 
 

Devnote

MSBuildSdk Package Development Reference

There are no well-describing documents about MSBuildSdk package development. See the following source code for reference instead.

MSBuild SDKs https://github.com/microsoft/MSBuildSdks/tree/main/src

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETCore 0.0

    • No dependencies.
  • .NETCore 4.5

    • No dependencies.
  • .NETCore 4.5.1

    • No dependencies.
  • .NETCoreApp 1.0

    • No dependencies.
  • .NETCoreApp 1.1

    • No dependencies.
  • .NETCoreApp 2.0

    • No dependencies.
  • .NETCoreApp 2.1

    • No dependencies.
  • .NETCoreApp 2.2

    • No dependencies.
  • .NETCoreApp 3.0

    • No dependencies.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 1.1

    • No dependencies.
  • .NETFramework 2.0

    • No dependencies.
  • .NETFramework 3.5

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.0.3

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.5.1

    • No dependencies.
  • .NETFramework 4.5.2

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETFramework 4.7

    • No dependencies.
  • .NETFramework 4.7.1

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • .NETFramework 4.8.1

    • No dependencies.
  • .NETMicroFramework 0.0

    • No dependencies.
  • .NETStandard 0.0

    • No dependencies.
  • .NETStandard 1.0

    • No dependencies.
  • .NETStandard 1.1

    • No dependencies.
  • .NETStandard 1.2

    • No dependencies.
  • .NETStandard 1.3

    • No dependencies.
  • .NETStandard 1.4

    • No dependencies.
  • .NETStandard 1.5

    • No dependencies.
  • .NETStandard 1.6

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • Silverlight 4.0

    • No dependencies.
  • Silverlight 5.0

    • No dependencies.
  • UAP 0.0

    • No dependencies.
  • UAP 10.0

    • No dependencies.
  • WindowsPhone 0.0

    • No dependencies.
  • WindowsPhone 7.0

    • No dependencies.
  • WindowsPhone 7.5

    • No dependencies.
  • WindowsPhone 8.0

    • No dependencies.
  • WindowsPhone 8.1

    • No dependencies.
  • WindowsPhoneApp 8.1

    • 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.1.0 2,187 7/15/2024
1.0.1 109 7/13/2024
1.0.0 121 7/13/2024