Skip to content

Commit 272ff5f

Browse files
committed
Move viewer demo into seperate project
Update system.drawing to 8.0.
1 parent 1e56824 commit 272ff5f

12 files changed

+132
-329
lines changed

Diff for: ImageFormats.sln

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.30114.105
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.7.34202.233
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageFormats", "ImageFormats\ImageFormats.csproj", "{4713BD50-7E76-45BE-B8D9-EA0FC8B1DCE5}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ImageFormats", "ImageFormats\ImageFormats.csproj", "{4713BD50-7E76-45BE-B8D9-EA0FC8B1DCE5}"
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{5265BB5D-31A9-482C-AD53-DC42D36AC86F}"
99
ProjectSection(SolutionItems) = preProject
@@ -12,6 +12,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1212
README.md = README.md
1313
EndProjectSection
1414
EndProject
15+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImageViewer", "ImageViewer\ImageViewer.csproj", "{086C2417-4926-4470-ABD1-5809844E6DE1}"
16+
EndProject
1517
Global
1618
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1719
Debug|Any CPU = Debug|Any CPU
@@ -22,6 +24,10 @@ Global
2224
{4713BD50-7E76-45BE-B8D9-EA0FC8B1DCE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
2325
{4713BD50-7E76-45BE-B8D9-EA0FC8B1DCE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
2426
{4713BD50-7E76-45BE-B8D9-EA0FC8B1DCE5}.Release|Any CPU.Build.0 = Release|Any CPU
27+
{086C2417-4926-4470-ABD1-5809844E6DE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
28+
{086C2417-4926-4470-ABD1-5809844E6DE1}.Debug|Any CPU.Build.0 = Debug|Any CPU
29+
{086C2417-4926-4470-ABD1-5809844E6DE1}.Release|Any CPU.ActiveCfg = Release|Any CPU
30+
{086C2417-4926-4470-ABD1-5809844E6DE1}.Release|Any CPU.Build.0 = Release|Any CPU
2531
EndGlobalSection
2632
GlobalSection(SolutionProperties) = preSolution
2733
HideSolutionNode = FALSE

Diff for: ImageFormats/FormMain1.Designer.cs

-289
This file was deleted.

Diff for: ImageFormats/ImageFormats.csproj

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@
77
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
88
<Title>ImageFormats</Title>
99
<Authors>Warrem Galyen</Authors>
10-
<Copyright>Copyright © Warren Galyen, 2021-2023</Copyright>
10+
<Copyright>Copyright © Warren Galyen, 2020-2023</Copyright>
1111
<PackageProjectUrl>https://mechanikadesign.com</PackageProjectUrl>
1212
<RepositoryUrl>https://github.com/warrengalyen/imageformats</RepositoryUrl>
1313
<Description>Library for decoding old and obscure image formats.</Description>
14+
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
1415
</PropertyGroup>
1516

1617
<ItemGroup>
17-
<PackageReference Include="System.Drawing.Common" Version="5.0.3" />
18+
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
19+
<PackageReference Include="System.Resources.Extensions" Version="8.0.0" />
1820
</ItemGroup>
1921

2022
</Project>
File renamed without changes.

Diff for: ImageFormats/FormMain.cs renamed to ImageViewer/FormMain.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Mechanika.ImageFormats.Properties;
1+
using ImageViewer.Properties;
22
using System;
33
using System.Diagnostics;
44
using System.Drawing;
File renamed without changes.

Diff for: ImageViewer/ImageViewer.csproj

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>WinExe</OutputType>
5+
<TargetFramework>net6.0-windows</TargetFramework>
6+
<UseWindowsForms>true</UseWindowsForms>
7+
<AppDesignerFolder>Properties</AppDesignerFolder>
8+
<RootNamespace>ImageViewer</RootNamespace>
9+
<AssemblyName>ImageViewer</AssemblyName>
10+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
11+
<Title>ImageViewer</Title>
12+
<Authors>Warren Galyen</Authors>
13+
<Description></Description>
14+
<Copyright>Copyright © Warren Galyen, 2020-2023</Copyright>
15+
</PropertyGroup>
16+
17+
<ItemGroup>
18+
<None Include="Properties\Settings.settings">
19+
<Generator>SettingsSingleFileGenerator</Generator>
20+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
21+
</None>
22+
</ItemGroup>
23+
24+
<ItemGroup>
25+
<ProjectReference Include="..\ImageFormats\ImageFormats.csproj" />
26+
</ItemGroup>
27+
28+
</Project>
File renamed without changes.

0 commit comments

Comments
 (0)