Skip to content

Commit 7bcc735

Browse files
committed
Update to net6
1 parent 035876e commit 7bcc735

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

AutofacGeoProcessor/AutofacGeoProcessor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<RootNamespace>J4JSoftware.GeoProcessor</RootNamespace>
66
<AssemblyName>J4JSoftware.GeoProcessor.Autofac</AssemblyName>
77
<Nullable>enable</Nullable>

GeoProcessor/GeoProcessor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<RootNamespace>J4JSoftware.GeoProcessor</RootNamespace>
66
<AssemblyName>J4JSoftware.GeoProcessor</AssemblyName>
77
<Nullable>enable</Nullable>

GeoProcessorApp/GeoProcessorApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
<AssemblyName>J4JSoftware.GeoProcessorApp</AssemblyName>
77
<RootNamespace>J4JSoftware.GeoProcessor</RootNamespace>
88
<Nullable>enable</Nullable>

GeoProcessorApp/Program.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,17 @@ private static async Task Main( string[] args )
7373
return;
7474
}
7575

76-
var builder = hostConfig.CreateHostBuilder();
76+
//var builder = hostConfig.CreateHostBuilder();
7777

78-
if( builder == null )
79-
{
80-
Console.WriteLine("Failed to create host builder.");
81-
Environment.ExitCode = -1;
78+
//if( builder == null )
79+
//{
80+
// Console.WriteLine("Failed to create host builder.");
81+
// Environment.ExitCode = -1;
8282

83-
return;
84-
}
83+
// return;
84+
//}
8585

86-
Host = builder.Build();
86+
Host = hostConfig.Build();
8787

8888
if ( Host == null )
8989
{

GeoProcessorWPF/GeoProcessorWPF.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>WinExe</OutputType>
5-
<TargetFramework>net5.0-windows</TargetFramework>
5+
<TargetFramework>net6.0-windows</TargetFramework>
66
<AssemblyName>J4JSoftware.GeoProcessorWPF</AssemblyName>
77
<UseWPF>true</UseWPF>
88
<RootNamespace>J4JSoftware.GeoProcessor</RootNamespace>

Test.GeoProcessor/Test.GeoProcessor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<IsPackable>false</IsPackable>
77
<UserSecretsId>c4df8534-ac60-47de-83c9-d12433053249</UserSecretsId>

0 commit comments

Comments
 (0)