diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 0000000..bc88b9c --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + runtime; build; contentfiles; analyzers; buildtransitive + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + + + runtime; build; native; contentfiles; analyzers; buildtransitive + + + \ No newline at end of file diff --git a/NuGet.Build.props b/NuGet.Build.props index 87aeb6c..90c86eb 100644 --- a/NuGet.Build.props +++ b/NuGet.Build.props @@ -12,6 +12,8 @@ GPL-3.0-only true + true + https://github.com/Nexus-Mods/NexusMods.App true @@ -31,8 +33,4 @@ - - - - diff --git a/src/NexusMods.MnemonicDB.Abstractions/NexusMods.MnemonicDB.Abstractions.csproj b/src/NexusMods.MnemonicDB.Abstractions/NexusMods.MnemonicDB.Abstractions.csproj index 7f0d696..d3b5461 100644 --- a/src/NexusMods.MnemonicDB.Abstractions/NexusMods.MnemonicDB.Abstractions.csproj +++ b/src/NexusMods.MnemonicDB.Abstractions/NexusMods.MnemonicDB.Abstractions.csproj @@ -5,13 +5,13 @@ - - - - - - - + + + + + + + diff --git a/src/NexusMods.MnemonicDB.SourceGenerator/NexusMods.MnemonicDB.SourceGenerator.csproj b/src/NexusMods.MnemonicDB.SourceGenerator/NexusMods.MnemonicDB.SourceGenerator.csproj index f3e475a..68cc993 100644 --- a/src/NexusMods.MnemonicDB.SourceGenerator/NexusMods.MnemonicDB.SourceGenerator.csproj +++ b/src/NexusMods.MnemonicDB.SourceGenerator/NexusMods.MnemonicDB.SourceGenerator.csproj @@ -8,13 +8,10 @@ NexusMods.MnemonicDB.SourceGenerator.Tests - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + + + + diff --git a/src/NexusMods.MnemonicDB/NexusMods.MnemonicDB.csproj b/src/NexusMods.MnemonicDB/NexusMods.MnemonicDB.csproj index 912027e..64be62b 100644 --- a/src/NexusMods.MnemonicDB/NexusMods.MnemonicDB.csproj +++ b/src/NexusMods.MnemonicDB/NexusMods.MnemonicDB.csproj @@ -1,17 +1,20 @@ + NexusMods.MnemonicDB true - - - - - - - - + + + + + + + + + + @@ -22,5 +25,4 @@ DatomStore.cs - diff --git a/tests/NexusMods.MnemonicDB.SourceGenerator.Tests/NexusMods.MnemonicDB.SourceGenerator.Tests.csproj b/tests/NexusMods.MnemonicDB.SourceGenerator.Tests/NexusMods.MnemonicDB.SourceGenerator.Tests.csproj index dbf3a6a..a1c6d98 100644 --- a/tests/NexusMods.MnemonicDB.SourceGenerator.Tests/NexusMods.MnemonicDB.SourceGenerator.Tests.csproj +++ b/tests/NexusMods.MnemonicDB.SourceGenerator.Tests/NexusMods.MnemonicDB.SourceGenerator.Tests.csproj @@ -4,32 +4,19 @@ - - - + + - - - - all - runtime; build; contentfiles; analyzers; buildtransitive - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + + + + + + + + + diff --git a/tests/NexusMods.MnemonicDB.Storage.Tests/NexusMods.MnemonicDB.Storage.Tests.csproj b/tests/NexusMods.MnemonicDB.Storage.Tests/NexusMods.MnemonicDB.Storage.Tests.csproj index 0237ea4..44a1729 100644 --- a/tests/NexusMods.MnemonicDB.Storage.Tests/NexusMods.MnemonicDB.Storage.Tests.csproj +++ b/tests/NexusMods.MnemonicDB.Storage.Tests/NexusMods.MnemonicDB.Storage.Tests.csproj @@ -27,33 +27,21 @@ - - - - - all - runtime; build; contentfiles; analyzers; buildtransitive - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + + + + + + + + + + + + + + + diff --git a/tests/NexusMods.MnemonicDB.TestModel/Helpers/ObjectTuple.cs b/tests/NexusMods.MnemonicDB.TestModel/Helpers/ObjectTuple.cs index efca6c2..f130302 100644 --- a/tests/NexusMods.MnemonicDB.TestModel/Helpers/ObjectTuple.cs +++ b/tests/NexusMods.MnemonicDB.TestModel/Helpers/ObjectTuple.cs @@ -15,13 +15,13 @@ public class ObjectTuple public class ObjectTupleWriter : JsonConverter { - public override void WriteJson(JsonWriter writer, ObjectTuple value, JsonSerializer serializer) + public override void WriteJson(JsonWriter writer, ObjectTuple? value, JsonSerializer serializer) { var oldFormatting = writer.Formatting; writer.WriteStartArray(); writer.Formatting = Formatting.None; - writer.WriteValue(value.E.Value.ToString("x")); + writer.WriteValue(value!.E.Value.ToString("x")); writer.WriteValue(" " + value.A); diff --git a/tests/NexusMods.MnemonicDB.TestModel/NexusMods.MnemonicDB.TestModel.csproj b/tests/NexusMods.MnemonicDB.TestModel/NexusMods.MnemonicDB.TestModel.csproj index 428fbd0..62f22cf 100644 --- a/tests/NexusMods.MnemonicDB.TestModel/NexusMods.MnemonicDB.TestModel.csproj +++ b/tests/NexusMods.MnemonicDB.TestModel/NexusMods.MnemonicDB.TestModel.csproj @@ -12,36 +12,23 @@ - - - - all - runtime; build; contentfiles; analyzers; buildtransitive - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + + + + + + + + + + + + + + diff --git a/tests/NexusMods.MnemonicDB.Tests/NexusMods.MnemonicDB.Tests.csproj b/tests/NexusMods.MnemonicDB.Tests/NexusMods.MnemonicDB.Tests.csproj index 2b1005c..57b6beb 100644 --- a/tests/NexusMods.MnemonicDB.Tests/NexusMods.MnemonicDB.Tests.csproj +++ b/tests/NexusMods.MnemonicDB.Tests/NexusMods.MnemonicDB.Tests.csproj @@ -21,33 +21,21 @@ - - - - all - runtime; build; contentfiles; analyzers; buildtransitive - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + + + + + + + + + + + + + + +