CSharp:Project
lastmod 2024-08-27created 2020-11-128 edits
Categories
.NET Categories
TargetFramework
- Select the .NET Core version to use - .NET Core | Microsoft Docs
- Target frameworks in SDK-style projects - .NET | Microsoft Docs
Latest versions
The following table defines the most common target frameworks, how they're referenced, and which version of .NET Standard they implement. These target framework versions are the latest stable versions. Prerelease versions aren't shown. A TFM (target framework moniker) is a standardized token format for specifying the target framework of a .NET app or library.
| Target framework | Latest stable version | TFM (target framework moniker) | Implemented .NET Standard version |
| 2.1 | netstandard2.1 | N/A | |
| 3.1 | netcoreapp3.1 | 2.1 | |
| 4.8 | net48 | 2.0 |
Example
godot example:
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Godot.NET.Sdk/3.2.3">
<PropertyGroup>
<ProjectGuid>{3D2D5DB4-B5C8-49AB-9671-40CCF377C9D2}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>EduPiano</RootNamespace>
<AssemblyName>EduPiano</AssemblyName>
<GodotProjectGeneratorVersion>1.0.0.0</GodotProjectGeneratorVersion>
<TargetFramework>netcoreapp3.1</TargetFramework>
<!--The following properties were overriden during migration to prevent errors.
Enabling them may require other manual changes to the project and its files.-->
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<Deterministic>false</Deterministic>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
</ItemGroup>
<ItemGroup>
<Compile Include="Piano.cs" />
<Compile Include="Pitch\MicSpectrum.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Manufaktura.Controls" Version="1.4.1" />
</ItemGroup>
</Project>
Pages that link here