Skip to content

Commit

Permalink
升级 Microsoft.CodeAnalysis.CSharp 到最新稳定版本 4.8.0 以支持新语法
Browse files Browse the repository at this point in the history
版本 4.8.0 包含了对 C# 12 的支持:https://github.com/dotnet/roslyn/blob/main/docs/wiki/NuGet-packages.md#versioning
同时升级了 System.Memory
  • Loading branch information
SeWZC committed Jan 23, 2024
1 parent 47a8ae3 commit d1805dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/SourceFusion.Tool/SourceFusion.Tool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@

<ItemGroup>
<PackageReference Include="dotnetCampus.CommandLine.Source" Version="3.3.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.8.2" PrivateAssets="all" />
<PackageReference Include="System.Memory" Version="4.5.1" PrivateAssets="All" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" PrivateAssets="all" />
<PackageReference Include="System.Memory" Version="4.5.5" PrivateAssets="All" />
<Reference Include="System.Web"></Reference>
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.2.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageReference Include="dotnetCampus.CommandLine" Version="3.3.0" PrivateAssets="all" />
<PackageReference Include="dotnetCampus.Configurations" Version="1.2.9" PrivateAssets="all" />
<PackageReference Include="dotnetCampus.MSBuildUtils.Source" Version="1.1.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.8.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" PrivateAssets="all" />
<PackageReference Include="Walterlv.IO.PackageManagement" Version="5.9.0" PrivateAssets="all" />
</ItemGroup>

Expand All @@ -28,5 +28,5 @@
</ItemGroup>

<!-- 这是为了兼容最新版本的预览版的.NET 6构建 -->
<Target Name="GetTargetPath"/>
<Target Name="GetTargetPath" />
</Project>

0 comments on commit d1805dd

Please sign in to comment.