latest dotnet, buildable with dotnet cli tool

start prepping for multi os build workflows by allowing us to build
with the newer `dotnet` cross platform tooling, this also just upgrades
us to the latest dotnet lts

i also started cleaning up the csproj file so it's a bit more clear
to read for external parties, and hopefully easier to read. part of this
was just done by the dotnet upgradeassistant, part of it was required to
make it work without warnings on the latest dotnet build, other parts
were just me cleaning up best practices (like removing the home
directory of a certain user :) they can still specify it manually if
they need too).
This commit is contained in:
Cynthia
2024-02-06 12:23:00 -08:00
parent 0fe8b381c1
commit 9470d1a5ef
3 changed files with 47 additions and 231 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.6.33829.357
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AC_e-Reader_Card_Creator", "AC_e-Reader_Card_Creator\AC_e-Reader_Card_Creator.csproj", "{61E3E092-ADF9-4613-B6FB-205DD4F5A7E9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AC_e-Reader_Card_Creator", "AC_e-Reader_Card_Creator\AC_e-Reader_Card_Creator.csproj", "{61E3E092-ADF9-4613-B6FB-205DD4F5A7E9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -1,19 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{61E3E092-ADF9-4613-B6FB-205DD4F5A7E9}</ProjectGuid>
<TargetFramework>net8.0-windows</TargetFramework>
<OutputType>WinExe</OutputType>
<RootNamespace>AC_e_Reader_Card_Creator</RootNamespace>
<AssemblyName>AC_e-Reader_Card_Creator</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>C:\Users\hunte\OneDrive\Desktop\e-Reader CCC\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
@@ -28,196 +18,54 @@
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>
<GenerateManifests>true</GenerateManifests>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<UseWindowsForms>true</UseWindowsForms>
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ManifestCertificateThumbprint>8C26734D6AC4E12062A9F4AF2B1C64330FB784B2</ManifestCertificateThumbprint>
<ManifestKeyFile>AC_e-Reader_Card_Creator_TemporaryKey.pfx</ManifestKeyFile>
<SignManifests>true</SignManifests>
</PropertyGroup>
<PropertyGroup>
<ManifestCertificateThumbprint>8C26734D6AC4E12062A9F4AF2B1C64330FB784B2</ManifestCertificateThumbprint>
</PropertyGroup>
<PropertyGroup>
<ManifestKeyFile>AC_e-Reader_Card_Creator_TemporaryKey.pfx</ManifestKeyFile>
</PropertyGroup>
<PropertyGroup>
<GenerateManifests>true</GenerateManifests>
</PropertyGroup>
<ItemGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<None Include="AC_e-Reader_Card_Creator_TemporaryKey.pfx" />
</ItemGroup>
<PropertyGroup>
<ApplicationIcon>e-reader-ccc.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="References\Common.cs" />
<Compile Include="Decompression\Functions\Compress.cs" />
<Compile Include="Decompression\Functions\Decompressed.cs" />
<Compile Include="Decompression\Functions\Decompress.cs" />
<Compile Include="CCC-Frontend.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="CCC-Frontend.Designer.cs">
<DependentUpon>CCC-Frontend.cs</DependentUpon>
</Compile>
<Compile Include="Print-Frontend.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Print-Frontend.Designer.cs">
<DependentUpon>Print-Frontend.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="CCC-Frontend.resx">
<DependentUpon>CCC-Frontend.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Print-Frontend.resx">
<DependentUpon>Print-Frontend.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<SubType>Designer</SubType>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="AC_e-Reader_Card_Creator_TemporaryKey.pfx" />
<None Include="References\GBA_Blank.vpk" />
<None Include="References\Header_Blank.vpk" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="References\AC_Item_List.txt" />
<Content Include="References\AC_Sender_List.txt" />
<Content Include="References\AC_Stationery_List.txt" />
<Content Include="References\AC_Special_Char.txt" />
<Content Include="References\AC_Greeting_List.txt" />
<Content Include="Decompression\External\headerfix.exe" />
<Content Include="Decompression\External\nedcenc.exe" />
<Content Include="Decompression\External\nedclib.dll" />
<Content Include="Decompression\External\nevpk.exe" />
<Content Include="Decompression\External\raw2bmp.exe" />
<Content Include="Decompression\External\Source Code\headerfix.c" />
<Content Include="Decompression\External\Source Code\nedcenc.cpp" />
<Content Include="Decompression\External\Source Code\nevpk.cpp" />
<Content Include="Decompression\External\Source Code\raw2bmp.cpp" />
<Content Include="e-reader-ccc.ico" />
<None Include="Resources\sample_dotcode.bmp" />
<None Include="Resources\print.ico" />
<None Include="Resources\printer.ico" />
<None Include="Resources\e-reader-ccc.ico" />
<None Include="Resources\Polka-Dot_Paper_PG.png" />
<None Include="Resources\Animal_Crossing_PAL_Font.png" />
<None Include="Resources\A.png" />
<None Include="Resources\FOT-Rodin Pro M.ttf" />
<None Include="Resources\infinity.png" />
<None Include="Resources\Airmail_Paper_PG.png" />
<None Include="Resources\Ribbon_Paper_PG.png" />
<None Include="Resources\Sparkly_Paper_PG.png" />
<None Include="Resources\Bamboo_Paper_PG.png" />
<None Include="Resources\Orange_Paper_PG.png" />
<None Include="Resources\Essay_Paper_PG.png" />
<None Include="Resources\Panda_Paper_PG.png" />
<None Include="Resources\Ranch_Paper_PG.png" />
<None Include="Resources\Steel_Paper_PG.png" />
<None Include="Resources\Blossom_Paper_PG.png" />
<None Include="Resources\Vine_Paper_PG.png" />
<None Include="Resources\Vine_Paper_PG %281%29.png" />
<None Include="Resources\Cloudy_Paper_PG.png" />
<None Include="Resources\Petal_Paper_PG.png" />
<None Include="Resources\Snowy_Paper_PG.png" />
<None Include="Resources\Rainy_Day_Paper_PG.png" />
<None Include="Resources\Watermelon_Paper_PG.png" />
<None Include="Resources\Deep_Sea_Paper_PG.png" />
<None Include="Resources\Starry_Sky_Paper_PG.png" />
<None Include="Resources\Daisy_Paper_PG.png" />
<None Include="Resources\Bluebell_Paper_PG.png" />
<None Include="Resources\Maple_Leaf_Paper_PG.png" />
<None Include="Resources\Woodcut_Paper_PG.png" />
<None Include="Resources\Octopus_Paper_PG.png" />
<None Include="Resources\Festive_Paper_PG.png" />
<None Include="Resources\Skyline_Paper_PG.png" />
<None Include="Resources\Museum_Paper_PG.png" />
<None Include="Resources\Fortune_Paper_PG.png" />
<None Include="Resources\Stageshow_Paper_PG.png" />
<None Include="Resources\Thick_Paper_PG.png" />
<None Include="Resources\Spooky_Paper_PG.png" />
<None Include="Resources\Noodle_Paper_PG.png" />
<None Include="Resources\Neat_Paper_PG.png" />
<None Include="Resources\Horsetail_Paper_PG.png" />
<None Include="Resources\Felt_Paper_PG.png" />
<None Include="Resources\Parchment_PG.png" />
<None Include="Resources\Parchment_PG %281%29.png" />
<None Include="Resources\Cool_Paper_PG.png" />
<None Include="Resources\Elegant_Paper_PG.png" />
<None Include="Resources\Lacy_Paper_PG.png" />
<None Include="Resources\Rainbow_Paper_PG.png" />
<None Include="Resources\Hot_Neon_Paper_PG.png" />
<None Include="Resources\Cool_Neon_Paper_PG.png" />
<None Include="Resources\Aloha_Paper_PG.png" />
<None Include="Resources\Fantasy_Paper_PG.png" />
<None Include="Resources\Woodland_Paper_PG.png" />
<None Include="Resources\Gingko_Paper_PG.png" />
<None Include="Resources\Fireworks_Paper_PG.png" />
<None Include="Resources\Winter_Paper_PG.png" />
<None Include="Resources\Gyroid_Paper_PG.png" />
<None Include="Resources\Ivy_Paper_PG.png" />
<None Include="Resources\Wing_Paper_PG %281%29.png" />
<None Include="Resources\Dragon_Paper_PG.png" />
<None Include="Resources\Tile_Paper_PG.png" />
<None Include="Resources\Misty_Paper_PG.png" />
<None Include="Resources\Simple_Paper_PG.png" />
<None Include="Resources\Honeybee_Paper_PG.png" />
<None Include="Resources\Mystic_Paper_PG.png" />
<None Include="Resources\Sunset_Paper_PG.png" />
<None Include="Resources\Lattice_Paper_PG.png" />
<None Include="Resources\Dainty_Paper_PG.png" />
<None Include="Resources\Butterfly_Paper_PG.png" />
<None Include="Resources\New_Year%27s_Card_PG.png" />
<None Include="Resources\Inky_Paper_PG.png" />
</ItemGroup>
<ItemGroup>
<Folder Include="Decompression\eCard\" />
<Content Include="References\*.txt">
<Link>%(RecursiveDir)\Project Files\References\%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="References\*.vpk">
<Link>%(RecursiveDir)\Project Files\References\%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Decompression\External\*.exe">
<Link>%(RecursiveDir)\Project Files\Decompression\External\%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Decompression\External\*.dll">
<Link>%(RecursiveDir)\Project Files\Decompression\External\%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Resources\*.ico">
<Link>%(RecursiveDir)\Project Files\Resources\%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Resources\*.png">
<Link>%(RecursiveDir)\Project Files\Resources\%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
<Visible>False</Visible>
@@ -230,5 +78,9 @@
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
</ItemGroup>
</Project>
@@ -1,36 +0,0 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AC_e-Reader_Card_Creator")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AC_e-Reader_Card_Creator")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("61e3e092-adf9-4613-b6fb-205dd4f5a7e9")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]