Skip to content

Commit fe53ef9

Browse files
authored
Merge pull request #30 from EgoEngineModding/support-1.5-big-endian
Support for reading 1.5.0 and big endian
2 parents ce25fed + 9d5c397 commit fe53ef9

File tree

63 files changed

+2057
-762
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+2057
-762
lines changed

Directory.Build.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
<PropertyGroup>
33
<LangVersion>latest</LangVersion>
44
<ImplicitUsings>true</ImplicitUsings>
5+
6+
<Copyright>Copyright © VictorBush 2021</Copyright>
7+
<Version>0.7.0</Version>
58
</PropertyGroup>
69
</Project>

Directory.Build.targets

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,2 @@
11
<Project>
2-
<ItemGroup>
3-
<PackageReference Update="Microsoft.Extensions.Logging" Version="6.0.0" />
4-
<PackageReference Update="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.3.242703" PrivateAssets="all" />
5-
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.11.0" />
6-
<PackageReference Update="Microsoft.Windows.Compatibility" Version="6.0.0" />
7-
<PackageReference Update="Moq" Version="4.13.1" />
8-
<PackageReference Update="System.Data.DataSetExtensions" Version="4.5.0" />
9-
<PackageReference Update="System.IO.Abstractions" Version="9.0.4" />
10-
<PackageReference Update="System.IO.Abstractions.TestingHelpers" Version="9.0.4" />
11-
<PackageReference Update="xunit" Version="2.4.1" />
12-
<PackageReference Update="xunit.runner.visualstudio" Version="2.4.5" />
13-
</ItemGroup>
142
</Project>

Directory.Packages.props

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<Project>
2+
<PropertyGroup>
3+
<!-- Enable central package management, https://learn.microsoft.com/en-us/nuget/consume-packages/Central-Package-Management -->
4+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
5+
</PropertyGroup>
6+
<ItemGroup>
7+
<PackageVersion Include="DockPanelSuite.ThemeVS2015" Version="3.1.1" />
8+
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
9+
<PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.1" />
10+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
11+
<PackageVersion Include="Moq" Version="4.18.4" />
12+
<PackageVersion Include="Serilog.Extensions.Logging" Version="8.0.0" />
13+
<PackageVersion Include="Serilog.Sinks.Console" Version="6.0.0" />
14+
<PackageVersion Include="System.Data.DataSetExtensions" Version="4.5.0" />
15+
<PackageVersion Include="System.IO.Abstractions" Version="22.0.14" />
16+
<PackageVersion Include="System.IO.Abstractions.TestingHelpers" Version="22.0.14" />
17+
<PackageVersion Include="xunit" Version="2.9.3" />
18+
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.0" />
19+
</ItemGroup>
20+
</Project>

NeFSedit.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1212
Directory.Build.props = Directory.Build.props
1313
Directory.Build.targets = Directory.Build.targets
1414
README.md = README.md
15-
SharedAssemblyInfo.cs = SharedAssemblyInfo.cs
1615
TODO.md = TODO.md
16+
Directory.Packages.props = Directory.Packages.props
1717
EndProjectSection
1818
EndProject
1919
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "VictorBush.Ego.NefsLib", "VictorBush.Ego.NefsLib\VictorBush.Ego.NefsLib.csproj", "{C3A546A4-7C78-4FA2-98DD-D056858A57D9}"

SharedAssemblyInfo.cs

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

VictorBush.Ego.NefsEdit.Tests/Properties/AssemblyInfo.cs

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

VictorBush.Ego.NefsEdit.Tests/VictorBush.Ego.NefsEdit.Tests.csproj

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,15 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net6.0-windows</TargetFramework>
3+
<TargetFramework>net8.0-windows</TargetFramework>
44
<OutputType>Library</OutputType>
5-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
65
</PropertyGroup>
76

8-
<ItemGroup>
9-
<Compile Include="..\SharedAssemblyInfo.cs">
10-
<Link>Properties\SharedAssemblyInfo.cs</Link>
11-
</Compile>
12-
</ItemGroup>
13-
147
<ItemGroup>
158
<ProjectReference Include="..\VictorBush.Ego.NefsEdit\VictorBush.Ego.NefsEdit.csproj" />
169
</ItemGroup>
1710

1811
<ItemGroup>
1912
<PackageReference Include="Microsoft.NET.Test.Sdk" />
20-
<PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" />
2113
<PackageReference Include="Moq" />
2214
<PackageReference Include="System.IO.Abstractions.TestingHelpers" />
2315
<PackageReference Include="xunit" />

VictorBush.Ego.NefsEdit/Properties/AssemblyInfo.cs

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

VictorBush.Ego.NefsEdit/Source/Program.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ internal static class Program
3030
/// <summary>
3131
/// Gets the directory where the application exe is located.
3232
/// </summary>
33-
internal static string ExeDirectory => Path.GetDirectoryName(typeof(Program).Assembly.Location);
33+
internal static string ExeDirectory => Application.StartupPath;
3434

3535
/// <summary>
3636
/// Gets the directory used by the application for writing temporary files.
@@ -71,9 +71,7 @@ internal static void Main()
7171
}).Build();
7272

7373
// Run application
74-
Application.EnableVisualStyles();
75-
Application.SetHighDpiMode(HighDpiMode.SystemAware);
76-
Application.SetCompatibleTextRenderingDefault(false);
74+
ApplicationConfiguration.Initialize();
7775
Application.Run(host.Services.GetRequiredService<EditorForm>());
7876
}
7977
}

0 commit comments

Comments
 (0)