Browse Source

Using .NET 8

Piotr Czajkowski 5 months ago
parent
commit
b3e8bdf900
2 changed files with 16 additions and 10 deletions
  1. 4 4
      ProcessFiles/ProcessFiles.csproj
  2. 12 6
      ProcessFilesTests/ProcessFilesTests.csproj

+ 4 - 4
ProcessFiles/ProcessFiles.csproj

@@ -2,8 +2,8 @@
 
 	<PropertyGroup>
 		<Nullable>enable</Nullable>
-		<TargetFramework>net6.0</TargetFramework>
-		<Version>0.1.0</Version>
+		<TargetFramework>net8.0</TargetFramework>
+		<Version>0.2.0</Version>
 		<Title>ProcessFiles</Title>
 		<Authors>Piotr Czajkowski</Authors>
 		<Description>Easily process files from command line arguments</Description>
@@ -16,7 +16,7 @@
 	</PropertyGroup>
 
 	<ItemGroup>
-		<None Include="../README.md" Pack="true" PackagePath=""/>
-		<None Include="../LICENSE.md" Pack="true" PackagePath=""/>
+		<None Include="../README.md" Pack="true" PackagePath="" />
+		<None Include="../LICENSE.md" Pack="true" PackagePath="" />
 	</ItemGroup>
 </Project>

+ 12 - 6
ProcessFilesTests/ProcessFilesTests.csproj

@@ -1,7 +1,7 @@
-<Project Sdk="Microsoft.NET.Sdk">
+<Project Sdk="Microsoft.NET.Sdk">
 
   <PropertyGroup>
-    <TargetFramework>net6.0</TargetFramework>
+    <TargetFramework>net8.0</TargetFramework>
 
     <IsPackable>false</IsPackable>
 
@@ -23,10 +23,16 @@
   </ItemGroup>
 
   <ItemGroup>
-    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
-    <PackageReference Include="xunit" Version="2.4.0" />
-    <PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
-    <PackageReference Include="coverlet.collector" Version="1.0.1" />
+    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
+    <PackageReference Include="xunit" Version="2.9.2" />
+    <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
+      <PrivateAssets>all</PrivateAssets>
+      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+    </PackageReference>
+    <PackageReference Include="coverlet.collector" Version="6.0.2">
+      <PrivateAssets>all</PrivateAssets>
+      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
+    </PackageReference>
   </ItemGroup>
 
   <ItemGroup>