A Data/NosSmooth.Data.Abstractions/IsExternalInit.cs => Data/NosSmooth.Data.Abstractions/IsExternalInit.cs +16 -0
@@ 0,0 1,16 @@
+//
+// IsExternalInit.cs
+//
+// Copyright (c) František Boháček. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+// ReSharper disable once CheckNamespace
+namespace System.Runtime.CompilerServices
+{
+ /// <summary>
+ /// Dummy.
+ /// </summary>
+ public class IsExternalInit
+ {
+ }
+}<
\ No newline at end of file
M Data/NosSmooth.Data.Abstractions/NosSmooth.Data.Abstractions.csproj => Data/NosSmooth.Data.Abstractions/NosSmooth.Data.Abstractions.csproj +2 -1
@@ 1,13 1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Description>Nos smooth's abstractions for information from NosTale data files.</Description>
+ <LangVersion>10</LangVersion>
<RepositoryUrl>https://github.com/Rutherther/NosSmooth/</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageVersion>1.0.1</PackageVersion>
+ <TargetFrameworks>net6.0;netstandard2.1</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
A Data/NosSmooth.Data.Database/IsExternalInit.cs => Data/NosSmooth.Data.Database/IsExternalInit.cs +16 -0
@@ 0,0 1,16 @@
+//
+// IsExternalInit.cs
+//
+// Copyright (c) František Boháček. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+// ReSharper disable once CheckNamespace
+namespace System.Runtime.CompilerServices
+{
+ /// <summary>
+ /// Dummy.
+ /// </summary>
+ public class IsExternalInit
+ {
+ }
+}<
\ No newline at end of file
M Data/NosSmooth.Data.Database/NosSmooth.Data.Database.csproj => Data/NosSmooth.Data.Database/NosSmooth.Data.Database.csproj +2 -1
@@ 1,13 1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Description>Nos smooth's database implementation of NosTale data using EF core.</Description>
+ <LangVersion>10</LangVersion>
<RepositoryUrl>https://github.com/Rutherther/NosSmooth/</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageVersion>1.0.1</PackageVersion>
+ <TargetFrameworks>net6.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
M Data/NosSmooth.Data.NOSFiles/Files/FileArchive.cs => Data/NosSmooth.Data.NOSFiles/Files/FileArchive.cs +1 -1
@@ 22,7 22,7 @@ public record FileArchive(IReadOnlyList<RawFile> Files)
public Result<RawFile> FindFile(string name)
{
var foundFile = Files.OfType<RawFile?>().FirstOrDefault
- (x => Path.GetFileName(((RawFile)x!).Path) == name, null);
+ (x => Path.GetFileName(((RawFile)x!).Path) == name);
if (foundFile is null)
{
return new NotFoundError($"Could not find file {name} in archive.");
A Data/NosSmooth.Data.NOSFiles/IsExternalInit.cs => Data/NosSmooth.Data.NOSFiles/IsExternalInit.cs +16 -0
@@ 0,0 1,16 @@
+//
+// IsExternalInit.cs
+//
+// Copyright (c) František Boháček. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+// ReSharper disable once CheckNamespace
+namespace System.Runtime.CompilerServices
+{
+ /// <summary>
+ /// Dummy.
+ /// </summary>
+ public class IsExternalInit
+ {
+ }
+}<
\ No newline at end of file
M Data/NosSmooth.Data.NOSFiles/NosSmooth.Data.NOSFiles.csproj => Data/NosSmooth.Data.NOSFiles/NosSmooth.Data.NOSFiles.csproj +2 -1
@@ 1,16 1,17 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Description>Nos smooth's NosTale data implementation using .NOS files.</Description>
+ <LangVersion>10</LangVersion>
<RepositoryUrl>https://github.com/Rutherther/NosSmooth/</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageVersion>1.1.0</PackageVersion>
<PackageReleaseNotes>
Fix of translations dictionary to provide correct translations for different root keys.
</PackageReleaseNotes>
+ <TargetFrameworks>net6.0;netstandard2.1</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
M Packets/NosSmooth.PacketSerializer.Abstractions/NosSmooth.PacketSerializer.Abstractions.csproj => Packets/NosSmooth.PacketSerializer.Abstractions/NosSmooth.PacketSerializer.Abstractions.csproj +1 -1
@@ 1,7 1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFramework>netstandard2.1</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>10</LangVersion>
@@ 9,6 8,7 @@
<RepositoryUrl>https://github.com/Rutherther/NosSmooth/</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageVersion>1.0.1</PackageVersion>
+ <TargetFrameworks>net6.0;netstandard2.1</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
M Packets/NosSmooth.Packets/NosSmooth.Packets.csproj => Packets/NosSmooth.Packets/NosSmooth.Packets.csproj +1 -1
@@ 3,12 3,12 @@
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
- <TargetFramework>netstandard2.1</TargetFramework>
<LangVersion>10</LangVersion>
<Description>Contains default NosTale packets.</Description>
<RepositoryUrl>https://github.com/Rutherther/NosSmooth/</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageVersion>1.0.1</PackageVersion>
+ <TargetFrameworks>net6.0;netstandard2.1</TargetFrameworks>
</PropertyGroup>
<ItemGroup>