Skip to content

Commit

Permalink
Merge pull request #1 from pielmach/dotnet-8.0-support
Browse files Browse the repository at this point in the history
Run migration assistant for .NET 8.0 and bump application version to 3.1
  • Loading branch information
pielmach authored Dec 29, 2024
2 parents 43d7623 + 3e1e595 commit 0c79600
Show file tree
Hide file tree
Showing 10 changed files with 1,762 additions and 1,808 deletions.
18 changes: 9 additions & 9 deletions DSATool-Installer/DSATool-Installer.vdproj
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@
"ComponentsUrl" = "8:"
"Items"
{
"{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.NetCore.DesktopRuntime.6.0.x86"
"{EDC2488A-8267-493A-A98E-7D9C3B36CDF3}:Microsoft.NetCore.DesktopRuntime.8.0.x86"
{
"Name" = "8:.NET Desktop-Runtime 6.0.3 (x86)"
"ProductCode" = "8:Microsoft.NetCore.DesktopRuntime.6.0.x86"
"Name" = "8:.NET Desktop-Runtime 8.0.8 (x86)"
"ProductCode" = "8:Microsoft.NetCore.DesktopRuntime.8.0.x86"
}
}
}
Expand Down Expand Up @@ -177,7 +177,7 @@
"{1525181F-901A-416C-8A58-119130FE478E}:_2689EB29CA8F4DE583A66202C599AB29"
{
"Name" = "8:#1916"
"AlwaysCreate" = "11:FALSE"
"AlwaysCreate" = "11:TRUE"
"Condition" = "8:"
"Transitive" = "11:FALSE"
"Property" = "8:DesktopFolder"
Expand All @@ -188,7 +188,7 @@
"{1525181F-901A-416C-8A58-119130FE478E}:_73531D05E92845DA93A71D4147F5E4C3"
{
"Name" = "8:#1919"
"AlwaysCreate" = "11:FALSE"
"AlwaysCreate" = "11:TRUE"
"Condition" = "8:"
"Transitive" = "11:FALSE"
"Property" = "8:ProgramMenuFolder"
Expand Down Expand Up @@ -224,15 +224,15 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:Einsteins DSA Tool"
"ProductCode" = "8:{1ECBD649-745C-4874-85DA-0F79EE98EE80}"
"PackageCode" = "8:{4AA11D7A-2597-48AD-943E-4620E78C421E}"
"ProductCode" = "8:{C640DB96-3A39-431F-B391-D83AAEB809CF}"
"PackageCode" = "8:{B41498AA-C6D0-450D-8BA0-30436CA92D24}"
"UpgradeCode" = "8:{C0A6AB46-E13E-4FE9-8496-E74E40E61F47}"
"AspNetVersion" = "8:4.0.30319.0"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:FALSE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:3.0.0"
"ProductVersion" = "8:3.1.0"
"Manufacturer" = "8:Michael Prim"
"ARPHELPTELEPHONE" = "8:"
"ARPHELPLINK" = "8:"
Expand Down Expand Up @@ -774,7 +774,7 @@
{
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_BE3E9D4FF522464694837B91286AB138"
{
"SourcePath" = "8:..\\DSATool\\obj\\Release\\net6.0-windows7.0\\win-x86\\apphost.exe"
"SourcePath" = "8:"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_9C77309EEC984CF988A3AE29B3BB1186"
Expand Down
2 changes: 1 addition & 1 deletion DSATool-Tests/DSATool-Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0-windows</TargetFramework>
<TargetFramework>net8.0-windows7.0</TargetFramework>
<RootNamespace>DSATool_Tests</RootNamespace>
<Nullable>enable</Nullable>

Expand Down
2 changes: 1 addition & 1 deletion DSATool.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DSATool", "DSATool\DSATool.
EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "DSATool-Installer", "DSATool-Installer\DSATool-Installer.vdproj", "{B2B352C1-72B9-4682-A1A4-80996A17C807}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DSATool-Tests", "DSATool-Tests\DSATool-Tests.csproj", "{44AAD3E1-8578-4A96-82DB-FA372CA76D25}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DSATool-Tests", "DSATool-Tests\DSATool-Tests.csproj", "{44AAD3E1-8578-4A96-82DB-FA372CA76D25}"
ProjectSection(ProjectDependencies) = postProject
{B2D50C9E-881A-4887-9FD2-990C36F20900} = {B2D50C9E-881A-4887-9FD2-990C36F20900}
EndProjectSection
Expand Down
2 changes: 1 addition & 1 deletion DSATool/DSATool.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0-windows7.0</TargetFramework>
<TargetFramework>net8.0-windows7.0</TargetFramework>
<OutputType>WinExe</OutputType>
<SignManifests>false</SignManifests>
<ManifestCertificateThumbprint>A25AC46B68D5D37EF93851210167DB0CB3EBFEB5</ManifestCertificateThumbprint>
Expand Down
3,468 changes: 1,680 additions & 1,788 deletions DSATool/Hauptfenster.Designer.cs

Large diffs are not rendered by default.

62 changes: 61 additions & 1 deletion DSATool/Hauptfenster.resx
Original file line number Diff line number Diff line change
@@ -1,4 +1,64 @@
<root>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
Expand Down
4 changes: 2 additions & 2 deletions DSATool/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// 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("3.0.0.0")]
[assembly: AssemblyFileVersion("3.0.0.0")]
[assembly: AssemblyVersion("3.1.0.0")]
[assembly: AssemblyFileVersion("3.1.0.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\net6.0-windows7.0\publish\win-x86\</PublishDir>
<PublishDir>bin\Release\net8.0-windows7.0\publish\win-x86\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<TargetFramework>net6.0-windows7.0</TargetFramework>
<TargetFramework>net8.0-windows7.0</TargetFramework>
<SelfContained>false</SelfContained>
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
<PublishSingleFile>false</PublishSingleFile>
Expand Down
2 changes: 1 addition & 1 deletion DSATool/Resources/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Installation
------------

Die setup.exe prüft das Vorhandensein von Abhängigkeiten, d.h. die .NET 6.0 Desktop Runtime (x86), und intalliert diese ggf. automatisch um anschließend das Tool selbst (EinsteinsDSATool-Setup.msi) zu installieren.
Die setup.exe prüft das Vorhandensein von Abhängigkeiten, d.h. die .NET 8.0 Desktop Runtime (x86), und intalliert diese ggf. automatisch um anschließend das Tool selbst (EinsteinsDSATool-Setup.msi) zu installieren.

Quellcode
---------
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Einsteins DSA Tool

Einsteins DSA Tool ist eine .NET 6.0 Windows Desktop Applikation (x86) und versucht die Regeln rund um die Suche nach Kräutern und die Jagd im DSA 4.1 Regelsystem einfach nutzbar zu machen.
Einsteins DSA Tool ist eine .NET 8.0 Windows Desktop Applikation (x86) und versucht die Regeln rund um die Suche nach Kräutern und die Jagd im DSA 4.1 Regelsystem einfach nutzbar zu machen.

Die Regeln lassen hier und da ein wenig Interpretationsspielraum. Beispielsweise wenn es darum geht welche Landschaften in einer konkreten Region vorhanden sind und damit letztlich welche Kräuter dort wachsen. Auch sind manche Tiere in keiner Region explizit erwähnt worden. Hier wurde jeweils versucht mit gesundem Menschenverstand und unter Berücksichtigung der Pflanzen- und Tierbeschreibungen eine spielbare Entscheidung zu treffen.

Expand All @@ -20,7 +20,7 @@ Ansonsten findet sich hier im Repository alles um das Tool ggf. aus den Quellen

## Abhängigkeiten

Als Laufzeitumgebung wird die .NET 6.0 Desktop Runtime (x86) benötigt. Diese steht kostenfrei unter https://dotnet.microsoft.com/en-us/download/dotnet/6.0/runtime zur Verfügung.
Als Laufzeitumgebung wird die .NET 8.0 Desktop Runtime (x86) benötigt. Diese steht kostenfrei unter https://dotnet.microsoft.com/en-us/download/dotnet/8.0/runtime zur Verfügung.

## Geschichte

Expand All @@ -36,6 +36,8 @@ Die Umstellung auf .NET 6.0 war eine Art Verschmelzung von SKELETTARIUS und CHRO

Als kleinen Bonus habe ich für die aktuelle Version nun auch die Pflanzen aus Wege der Alchemie bzw. Katakomben und Kavernen implementiert. Die Bücher gab es damals schlicht noch nicht. Außerdem werden Einstellungen nun nachdem Schließen gespeichert und beim nächsten Start wiederhergestellt.

Ende 2024 folgte die Version 3.1, welche keine inhaltlichen Anpassungen enthällt und lediglich eine Umstellung auf .NET 8.0 mitbringt, nachdem der Support für .NET 6.0 ausgelaufen ist.

## Danksagung

Ich möchte mich ausdrücklich bei der Firma Ulisses Spiele dafür bedanken, dass sie einer Veröffentlichung des Quellcodes an dieser Stelle zugestimmt haben.

0 comments on commit 0c79600

Please sign in to comment.