From fe1a4f6b92b54760458955cb896ca6629c45187a Mon Sep 17 00:00:00 2001 From: walterlv Date: Wed, 3 Sep 2025 19:48:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E5=86=99=E7=A1=AE=E5=AE=9E?= =?UTF-8?q?=E4=B8=8D=E5=BD=B1=E5=93=8D=EF=BC=8C=E6=88=91=E4=BB=AC=E6=8D=A2?= =?UTF-8?q?=E4=B8=80=E4=B8=8B=E5=A4=A7=E5=B0=8F=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 +++++++------- .../DotNetCampus.LatestCSharpFeatures.csproj | 2 +- .../DotNetCampus.LatestCSharpFeatures.Tests.csproj | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 4240e6d..6934738 100644 --- a/README.md +++ b/README.md @@ -7,24 +7,24 @@ [zh-hans]: /docs/README.zh-hans.md [zh-hant]: /docs/README.zh-hant.md -[![NuGet](https://img.shields.io/nuget/v/dotnetCampus.LatestCSharpFeatures.svg)](https://www.nuget.org/packages/dotnetCampus.LatestCSharpFeatures) +[![NuGet](https://img.shields.io/nuget/v/DotNetCampus.LatestCSharpFeatures.svg)](https://www.nuget.org/packages/DotNetCampus.LatestCSharpFeatures) -This open-source project provides a NuGet package, dotnetCampus.LatestCSharpFeatures, which allows you to use the latest C# language features in older versions of .NET, including the old .NET Framework, .NET Standard, and older versions of .NET Core App and .NET. +This open-source project provides a NuGet package, DotNetCampus.LatestCSharpFeatures, which allows you to use the latest C# language features in older versions of .NET, including the old .NET Framework, .NET Standard, and older versions of .NET Core App and .NET. ## How to Use -Simply install the dotnetCampus.LatestCSharpFeatures NuGet package. +Simply install the DotNetCampus.LatestCSharpFeatures NuGet package. ```xml - - + ``` If you want these new language features to also be effective for other projects that reference this project, you can add a conditional compilation symbol in the csproj file: ```xml - $(DefineConstants);USE_PUBLIC_LATEST_CSHARP_FEATURES @@ -46,4 +46,4 @@ We welcome feedback and contributions from all users. If you encounter any probl If you wish to participate in the development of the project, you are also very welcome! You can Fork this repository and then submit a Pull Request. -Thank you for your support and help with dotnetCampus.LatestCSharpFeatures! +Thank you for your support and help with DotNetCampus.LatestCSharpFeatures! diff --git a/src/DotNetCampus.LatestCSharpFeatures/DotNetCampus.LatestCSharpFeatures.csproj b/src/DotNetCampus.LatestCSharpFeatures/DotNetCampus.LatestCSharpFeatures.csproj index cfd172b..d9edc26 100644 --- a/src/DotNetCampus.LatestCSharpFeatures/DotNetCampus.LatestCSharpFeatures.csproj +++ b/src/DotNetCampus.LatestCSharpFeatures/DotNetCampus.LatestCSharpFeatures.csproj @@ -3,7 +3,7 @@ net8.0;netstandard2.0;net40 true - dotnetCampus.LatestCSharpFeatures + DotNetCampus.LatestCSharpFeatures True System.Diagnostics.CodeAnalysis This comprehensive package provides support for the latest C# language features in your project, enabling older .NET projects to use newer C# language constructs. Currently includes support for 'nullable', 'init', and 'required' keywords. The types introduced are internal, confining these features to the project itself without affecting other projects that reference it. By installing this package, you get all the newest C# features in one place, eliminating the need to install separate packages for each feature. Future updates will include more new features as they are released. diff --git a/tests/DotNetCampus.LatestCSharpFeatures.Tests/DotNetCampus.LatestCSharpFeatures.Tests.csproj b/tests/DotNetCampus.LatestCSharpFeatures.Tests/DotNetCampus.LatestCSharpFeatures.Tests.csproj index 6adf277..54ddf97 100644 --- a/tests/DotNetCampus.LatestCSharpFeatures.Tests/DotNetCampus.LatestCSharpFeatures.Tests.csproj +++ b/tests/DotNetCampus.LatestCSharpFeatures.Tests/DotNetCampus.LatestCSharpFeatures.Tests.csproj @@ -17,7 +17,7 @@ - +