diff --git a/Source/Client/Multiplayer.csproj b/Source/Client/Multiplayer.csproj index 56b59b42..e9d0a744 100644 --- a/Source/Client/Multiplayer.csproj +++ b/Source/Client/Multiplayer.csproj @@ -27,9 +27,12 @@ - - - + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + diff --git a/Source/Client/Persistent/PersistentDialogs.cs b/Source/Client/Persistent/PersistentDialogs.cs index fcf1e65e..865c4bed 100644 --- a/Source/Client/Persistent/PersistentDialogs.cs +++ b/Source/Client/Persistent/PersistentDialogs.cs @@ -501,7 +501,7 @@ public void ExposeData() if (mode == LookMode.Value) { - var args = new[] { value, "value", type.GetDefaultValue(), false }; + var args = new[] { value, "value", Common.Extensions.GetDefaultValue(type), false }; ScribeValues.MakeGenericMethod(type).Invoke(null, args); if (Scribe.mode == LoadSaveMode.LoadingVars) value = args[0]; diff --git a/Source/Common/Common.csproj b/Source/Common/Common.csproj index 5eb0de09..f31f47b8 100644 --- a/Source/Common/Common.csproj +++ b/Source/Common/Common.csproj @@ -12,9 +12,9 @@ - + - + diff --git a/Source/MultiplayerLoader/MultiplayerLoader.csproj b/Source/MultiplayerLoader/MultiplayerLoader.csproj index 101493ba..fea717ee 100644 --- a/Source/MultiplayerLoader/MultiplayerLoader.csproj +++ b/Source/MultiplayerLoader/MultiplayerLoader.csproj @@ -10,10 +10,13 @@ - - - - + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + diff --git a/Source/Server/Server.csproj b/Source/Server/Server.csproj index 0f262938..6b20c7ac 100644 --- a/Source/Server/Server.csproj +++ b/Source/Server/Server.csproj @@ -16,7 +16,7 @@ - + diff --git a/Source/Tests/Tests.csproj b/Source/Tests/Tests.csproj index 5dd8fb59..1469f60f 100644 --- a/Source/Tests/Tests.csproj +++ b/Source/Tests/Tests.csproj @@ -16,7 +16,7 @@ - + diff --git a/Source/TestsOnMono/TestsOnMono.csproj b/Source/TestsOnMono/TestsOnMono.csproj index c113fa1f..23a40a92 100644 --- a/Source/TestsOnMono/TestsOnMono.csproj +++ b/Source/TestsOnMono/TestsOnMono.csproj @@ -10,7 +10,7 @@ - +