« Csharp 8 » : différence entre les versions
De Banane Atomic
Aller à la navigationAller à la recherche
(→Liens) |
(→Liens) |
||
Ligne 3 : | Ligne 3 : | ||
* [https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-8 What's new in C# 8.0] | * [https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-8 What's new in C# 8.0] | ||
* [https://docs.microsoft.com/en-gb/dotnet/csharp/language-reference/configure-language-version C# language versioning] | * [https://docs.microsoft.com/en-gb/dotnet/csharp/language-reference/configure-language-version C# language versioning] | ||
= .NET Framework = | |||
The {{boxx|C# 8}} / {{boxx|.NET Framework}} combination is not officially supported by Microsoft.<br> | |||
It can be forced by editing the csproj file. | |||
<filebox fn='MyProject.csproj'> | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
<PropertyGroup> | |||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> | |||
<LangVersion>8.0</LangVersion> | |||
</filebox> |
Version du 4 mars 2020 à 15:20
Liens
.NET Framework
The C# 8 / .NET Framework combination is not officially supported by Microsoft.
It can be forced by editing the csproj file.
MyProject.csproj |
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> <LangVersion>8.0</LangVersion> |