Skip to content

Commit 23c78c7

Browse files
.NET 8 Support (#66)
* Initial .NET 8 support Still some more work to do * Remove unnecessary packages, maybe fix appveyor? * Form1 fix alignment of controls * CommandLine fix * Create appveyor.yml * Update appveyor.yml * Exception fix * Fix a bunch of build warnings --------- Co-authored-by: Ty Conner <[email protected]>
1 parent ba8bd27 commit 23c78c7

23 files changed

+1254
-1806
lines changed

Be.Windows.Forms.HexBox/AssemblyInfo.cs

Lines changed: 0 additions & 70 deletions
This file was deleted.
Lines changed: 13 additions & 197 deletions
Original file line numberDiff line numberDiff line change
@@ -1,211 +1,27 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
33
<PropertyGroup>
4-
<ProjectType>Local</ProjectType>
5-
<ProductVersion>9.0.30729</ProductVersion>
6-
<SchemaVersion>2.0</SchemaVersion>
7-
<ProjectGuid>{26C5F25F-B450-4CAF-AD8B-B8D11AE73457}</ProjectGuid>
8-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
9-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
10-
<ApplicationIcon>
11-
</ApplicationIcon>
12-
<AssemblyKeyContainerName>
13-
</AssemblyKeyContainerName>
14-
<AssemblyName>Be.Windows.Forms.HexBox</AssemblyName>
15-
<AssemblyOriginatorKeyFile>HexBox.snk</AssemblyOriginatorKeyFile>
16-
<DefaultClientScript>JScript</DefaultClientScript>
17-
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
18-
<DefaultTargetSchema>IE50</DefaultTargetSchema>
19-
<DelaySign>false</DelaySign>
204
<OutputType>Library</OutputType>
5+
<TargetFramework>net8.0-windows</TargetFramework>
6+
<UseWindowsForms>true</UseWindowsForms>
217
<RootNamespace>Be.Windows.Forms</RootNamespace>
22-
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
23-
<StartupObject>
24-
</StartupObject>
25-
<FileUpgradeFlags>
26-
</FileUpgradeFlags>
27-
<UpgradeBackupLocation>
28-
</UpgradeBackupLocation>
29-
<OldToolsVersion>3.5</OldToolsVersion>
30-
<SignAssembly>true</SignAssembly>
31-
<IsWebBootstrapper>false</IsWebBootstrapper>
32-
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
33-
<PublishUrl>publish\</PublishUrl>
34-
<Install>true</Install>
35-
<InstallFrom>Disk</InstallFrom>
36-
<UpdateEnabled>false</UpdateEnabled>
37-
<UpdateMode>Foreground</UpdateMode>
38-
<UpdateInterval>7</UpdateInterval>
39-
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
40-
<UpdatePeriodically>false</UpdatePeriodically>
41-
<UpdateRequired>false</UpdateRequired>
42-
<MapFileExtensions>true</MapFileExtensions>
43-
<ApplicationRevision>0</ApplicationRevision>
44-
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
45-
<UseApplicationTrust>false</UseApplicationTrust>
46-
<BootstrapperEnabled>true</BootstrapperEnabled>
47-
<TargetFrameworkProfile />
48-
</PropertyGroup>
49-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
50-
<OutputPath>bin\Debug\</OutputPath>
51-
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
52-
<BaseAddress>285212672</BaseAddress>
53-
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
54-
<ConfigurationOverrideFile>
55-
</ConfigurationOverrideFile>
56-
<DefineConstants>DEBUG;TRACE</DefineConstants>
57-
<DocumentationFile>Be.Windows.Forms.HexBox.xml</DocumentationFile>
58-
<DebugSymbols>true</DebugSymbols>
59-
<FileAlignment>4096</FileAlignment>
60-
<NoStdLib>false</NoStdLib>
61-
<NoWarn>
62-
</NoWarn>
63-
<Optimize>false</Optimize>
64-
<RegisterForComInterop>false</RegisterForComInterop>
65-
<RemoveIntegerChecks>false</RemoveIntegerChecks>
66-
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
67-
<WarningLevel>4</WarningLevel>
68-
<DebugType>full</DebugType>
69-
<ErrorReport>prompt</ErrorReport>
70-
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
71-
<Prefer32Bit>false</Prefer32Bit>
72-
</PropertyGroup>
73-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
74-
<OutputPath>bin\Release\</OutputPath>
75-
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
76-
<BaseAddress>285212672</BaseAddress>
77-
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
78-
<ConfigurationOverrideFile>
79-
</ConfigurationOverrideFile>
80-
<DefineConstants>TRACE</DefineConstants>
81-
<DocumentationFile>
82-
</DocumentationFile>
83-
<DebugSymbols>false</DebugSymbols>
84-
<FileAlignment>4096</FileAlignment>
85-
<NoStdLib>false</NoStdLib>
86-
<NoWarn>
87-
</NoWarn>
88-
<Optimize>true</Optimize>
89-
<RegisterForComInterop>false</RegisterForComInterop>
90-
<RemoveIntegerChecks>false</RemoveIntegerChecks>
91-
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
92-
<WarningLevel>4</WarningLevel>
93-
<DebugType>none</DebugType>
94-
<ErrorReport>prompt</ErrorReport>
95-
<CodeAnalysisRuleSet>BasicCorrectnessRules.ruleset</CodeAnalysisRuleSet>
96-
<Prefer32Bit>false</Prefer32Bit>
978
</PropertyGroup>
9+
9810
<ItemGroup>
99-
<Reference Include="System">
100-
<Name>System</Name>
101-
</Reference>
102-
<Reference Include="System.Data">
103-
<Name>System.Data</Name>
104-
</Reference>
105-
<Reference Include="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
106-
<SpecificVersion>False</SpecificVersion>
107-
</Reference>
108-
<Reference Include="System.Drawing.Design" />
109-
<Reference Include="System.Windows.Forms">
110-
<Name>System.Windows.Forms</Name>
111-
</Reference>
112-
<Reference Include="System.Xml">
113-
<Name>System.XML</Name>
114-
</Reference>
115-
</ItemGroup>
116-
<ItemGroup>
117-
<Compile Include="AssemblyInfo.cs">
118-
<SubType>Code</SubType>
119-
</Compile>
120-
<Compile Include="BuiltInContextMenu.cs">
11+
<Compile Update="BuiltInContextMenu.cs">
12112
<SubType>Component</SubType>
12213
</Compile>
123-
<Compile Include="ByteCollection.cs">
124-
<SubType>Code</SubType>
125-
</Compile>
126-
<Compile Include="BytePositionInfo.cs" />
127-
<Compile Include="DataBlock.cs">
128-
<SubType>Code</SubType>
129-
</Compile>
130-
<Compile Include="DataMap.cs">
131-
<SubType>Code</SubType>
132-
</Compile>
133-
<Compile Include="DynamicByteProvider.cs">
134-
<SubType>Code</SubType>
135-
</Compile>
136-
<Compile Include="DynamicFileByteProvider.cs">
137-
<SubType>Code</SubType>
138-
</Compile>
139-
<Compile Include="FileByteProvider.cs">
140-
<SubType>Code</SubType>
141-
</Compile>
142-
<Compile Include="FileDataBlock.cs">
143-
<SubType>Code</SubType>
144-
</Compile>
145-
<Compile Include="FindOptions.cs" />
146-
<Compile Include="HexBox.cs">
14+
<Compile Update="HexBox.cs">
14715
<SubType>Component</SubType>
14816
</Compile>
149-
<Compile Include="HexCasing.cs" />
150-
<Compile Include="ByteCharConverters.cs" />
151-
<Compile Include="IByteProvider.cs">
152-
<SubType>Code</SubType>
153-
</Compile>
154-
<Compile Include="MemoryDataBlock.cs">
155-
<SubType>Code</SubType>
156-
</Compile>
157-
<Compile Include="NativeMethods.cs">
158-
<SubType>Code</SubType>
159-
</Compile>
160-
<Compile Include="Properties\Resources.Designer.cs">
161-
<AutoGen>True</AutoGen>
162-
<DesignTime>True</DesignTime>
163-
<DependentUpon>Resources.resx</DependentUpon>
164-
</Compile>
165-
<Compile Include="Util.cs" />
16617
<EmbeddedResource Include="HexBox.bmp" />
167-
<EmbeddedResource Include="HexBox.resx">
168-
<DependentUpon>HexBox.cs</DependentUpon>
169-
<SubType>Designer</SubType>
170-
</EmbeddedResource>
171-
<EmbeddedResource Include="Properties\Resources.resx">
172-
<Generator>ResXFileCodeGenerator</Generator>
173-
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
174-
</EmbeddedResource>
175-
<None Include="HexBox.snk" />
176-
</ItemGroup>
177-
<ItemGroup>
178-
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
179-
<Visible>False</Visible>
180-
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
181-
<Install>false</Install>
182-
</BootstrapperPackage>
183-
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
184-
<Visible>False</Visible>
185-
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
186-
<Install>true</Install>
187-
</BootstrapperPackage>
188-
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
189-
<Visible>False</Visible>
190-
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
191-
<Install>false</Install>
192-
</BootstrapperPackage>
193-
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
194-
<Visible>False</Visible>
195-
<ProductName>.NET Framework 3.5</ProductName>
196-
<Install>false</Install>
197-
</BootstrapperPackage>
198-
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
199-
<Visible>False</Visible>
200-
<ProductName>.NET Framework 3.5 SP1</ProductName>
201-
<Install>false</Install>
202-
</BootstrapperPackage>
20318
</ItemGroup>
204-
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
19+
20520
<PropertyGroup>
206-
<PreBuildEvent>
207-
</PreBuildEvent>
208-
<PostBuildEvent>
209-
</PostBuildEvent>
21+
<AssemblyTitle>Be.Windows.Forms.HexBox</AssemblyTitle>
22+
<Description>hex edit control %28C# DOTNET%29</Description>
23+
<Company>Be</Company>
24+
<Product>Be.Windows.Forms.HexBox</Product>
21025
</PropertyGroup>
26+
21127
</Project>

Be.Windows.Forms.HexBox/Be.Windows.Forms.HexBox.csproj.user

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)