Skip to content

Commit

Permalink
Update TargetFramework to net7.0
Browse files Browse the repository at this point in the history
Updated the 'TargetFramework' from 'netcoreapp2.0' to 'net7.0' in all project files to ensure compatibility with the latest version of .NET. This should provide better performance and enable us to use the latest features offered by .NET 7.0. These changes were applied to the Algorithms.csproj, UnitTest.csproj, and DataStructures.csproj files. The C-Sharp-Algorithms solution file was also updated correspondingly.
  • Loading branch information
ivandrofly committed Jul 22, 2023
1 parent 4740c6b commit 33d7e27
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
5 changes: 2 additions & 3 deletions Algorithms/Algorithms.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\DataStructures\DataStructures.csproj" />
</ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions C-Sharp-Algorithms.sln
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26430.6
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataStructures", "DataStructures\DataStructures.csproj", "{A5923854-69FB-4BD0-90E3-702E1D488AFC}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DataStructures", "DataStructures\DataStructures.csproj", "{A5923854-69FB-4BD0-90E3-702E1D488AFC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Algorithms", "Algorithms\Algorithms.csproj", "{7CE43796-3845-4F4D-9A8D-C09B8552F42E}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Algorithms", "Algorithms\Algorithms.csproj", "{7CE43796-3845-4F4D-9A8D-C09B8552F42E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnitTest", "UnitTest\UnitTest.csproj", "{78061D74-A872-4D4B-AF06-92EAC2EDF185}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnitTest", "UnitTest\UnitTest.csproj", "{78061D74-A872-4D4B-AF06-92EAC2EDF185}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
5 changes: 2 additions & 3 deletions DataStructures/DataStructures.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<EmbeddedResource Include="Data\PrimesDocument_10K.csv">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
Expand Down
9 changes: 3 additions & 6 deletions UnitTest/UnitTest.csproj
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Algorithms\Algorithms.csproj" />
<!--<ProjectReference Include="..\DataStructures\DataStructures.csproj" />-->
</ItemGroup>

<ItemGroup>
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
</ItemGroup>
</Project>
</Project>

0 comments on commit 33d7e27

Please sign in to comment.