Skip to content

Commit aee9e4b

Browse files
authored
Merge pull request #10 from cbenard/cbenard/update-net8.0
Update to .NET 8.0 and update documentation
2 parents 25664df + 63b7f41 commit aee9e4b

File tree

7 files changed

+25
-40
lines changed

7 files changed

+25
-40
lines changed

Algorithms/Algorithms.csproj

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
3+
<TargetFramework>net8.0</TargetFramework>
54
<ImplicitUsings>enable</ImplicitUsings>
65
<Nullable>enable</Nullable>
76
</PropertyGroup>
8-
97
<ItemGroup>
108
<ProjectReference Include="..\MazeGrid\MazeGrid.csproj" />
119
</ItemGroup>
12-
13-
</Project>
10+
</Project>

DrawMaze/DrawMaze.csproj

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
43
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
65
<ImplicitUsings>enable</ImplicitUsings>
76
<Nullable>enable</Nullable>
87
</PropertyGroup>
9-
108
<ItemGroup>
119
<PackageReference Include="ninject" Version="3.3.6" />
1210
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.5" />
1311
</ItemGroup>
14-
1512
<ItemGroup>
1613
<ProjectReference Include="..\Algorithms\Algorithms.csproj" />
1714
<ProjectReference Include="..\MazeGeneration\MazeGeneration.csproj" />
1815
<ProjectReference Include="..\MazeGrid\MazeGrid.csproj" />
1916
</ItemGroup>
20-
21-
</Project>
17+
</Project>
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
3+
<TargetFramework>net8.0</TargetFramework>
54
<ImplicitUsings>enable</ImplicitUsings>
65
<Nullable>enable</Nullable>
76
</PropertyGroup>
8-
97
<ItemGroup>
108
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.5" />
119
</ItemGroup>
12-
1310
<ItemGroup>
1411
<ProjectReference Include="..\Algorithms\Algorithms.csproj" />
1512
<ProjectReference Include="..\MazeGrid\MazeGrid.csproj" />
1613
</ItemGroup>
17-
18-
</Project>
14+
</Project>

MazeGrid/MazeGrid.csproj

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
3+
<TargetFramework>net8.0</TargetFramework>
54
<ImplicitUsings>enable</ImplicitUsings>
65
<Nullable>enable</Nullable>
76
</PropertyGroup>
8-
97
<ItemGroup>
108
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.5" />
119
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="2.1.4" />
1210
</ItemGroup>
13-
14-
</Project>
11+
</Project>

MazeWeb/MazeWeb.csproj

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
2-
32
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
3+
<TargetFramework>net8.0</TargetFramework>
54
<Nullable>enable</Nullable>
65
<ImplicitUsings>enable</ImplicitUsings>
76
</PropertyGroup>
8-
97
<ItemGroup>
108
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.5" />
119
</ItemGroup>
12-
1310
<ItemGroup>
1411
<ProjectReference Include="..\Algorithms\Algorithms.csproj" />
1512
<ProjectReference Include="..\MazeGeneration\MazeGeneration.csproj" />
1613
<ProjectReference Include="..\MazeGrid\MazeGrid.csproj" />
1714
</ItemGroup>
18-
19-
</Project>
15+
</Project>

Mazes.sln

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
1+
22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 16
44
VisualStudioVersion = 16.0.30114.105
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Algorithms", "Algorithms\Algorithms.csproj", "{96A047A8-4AD0-44D7-9A70-2792ED073FA7}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Algorithms", "Algorithms\Algorithms.csproj", "{96A047A8-4AD0-44D7-9A70-2792ED073FA7}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DrawMaze", "DrawMaze\DrawMaze.csproj", "{93B7827F-240D-4815-A447-F96A190FCA0B}"
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DrawMaze", "DrawMaze\DrawMaze.csproj", "{93B7827F-240D-4815-A447-F96A190FCA0B}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MazeGeneration", "MazeGeneration\MazeGeneration.csproj", "{9338EF70-7200-462B-88A8-022A0A564099}"
10+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MazeGeneration", "MazeGeneration\MazeGeneration.csproj", "{9338EF70-7200-462B-88A8-022A0A564099}"
1111
EndProject
12-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MazeGrid", "MazeGrid\MazeGrid.csproj", "{7319442C-2C5B-4698-B2DD-DBCFC166C43F}"
12+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MazeGrid", "MazeGrid\MazeGrid.csproj", "{7319442C-2C5B-4698-B2DD-DBCFC166C43F}"
1313
EndProject
14-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MazeWeb", "MazeWeb\MazeWeb.csproj", "{A8045066-1F1C-4783-A487-C72416486561}"
14+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MazeWeb", "MazeWeb\MazeWeb.csproj", "{A8045066-1F1C-4783-A487-C72416486561}"
1515
EndProject
1616
Global
1717
GlobalSection(SolutionConfigurationPlatforms) = preSolution

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
# mazes-for-programmers
2-
Coding along with "Mazes for Programmers" by Jamis Buck
2+
Coding along with "Mazes for Programmers" by ~~Jamis Buck~~
33

44
Updates:
5-
**July 2022**
6-
* Upgraded code to .NET 6.0.
7-
* Changed from using System.Drawing to ImageSharp package. This takes care of the cross-platform issues noted below (GDI+ is no longer required (which is good because GDI+ is not supported in .NET 6 for non-Windows platforms).)
8-
* Addes scaling for output images. Smaller grids have larger cells; larger grids have smaller cells. This makes the image generation faster for larger grids.
5+
**August 2024**
6+
* Upgraded code to .NET 8.0.
7+
8+
**July 2022**
9+
* Upgraded code to .NET 6.0.
10+
* Changed from using System.Drawing to ImageSharp package. This takes care of the cross-platform issues noted below (GDI+ is no longer required (which is good because GDI+ is not supported in .NET 6 for non-Windows platforms).)
11+
* Adds scaling for output images. Smaller grids have larger cells; larger grids have smaller cells. This makes the image generation faster for larger grids.
912

1013
**Jan 2020**:
1114
* Moved code to .NET Core and added a web interface.
1215
* Running the "MazeWeb" project provides a parameterized way to generate mazes. Graphical mazes are shown in the browser.
1316

14-
**Cross-Platform Note**:
17+
~~**Cross-Platform Note**:~~
1518
~~This project uses GDI+. If you're running on macOS or Linux and you get a GDI+ error, just follow the advice in this article: [SOLVED: System.Drawing .NETCore on Mac, GDIPlus Exception](https://medium.com/@hudsonmendes/solved-system-drawing-netcore-on-mac-gdiplus-exception-c455ab3655a2)~~
1619

1720
**Articles**

0 commit comments

Comments
 (0)