From 543d67741111a61a3fed77afc31fa8795d648051 Mon Sep 17 00:00:00 2001 From: lidgren Date: Tue, 4 Nov 2014 08:24:15 +0000 Subject: [PATCH] Fix for masterserver sample enabling NatIntroductionSuccess on server. Also updated framework version dependency. --- Samples/MasterServerSample/MSClient/MSClient.csproj | 12 ++++++++---- .../MSClient/Properties/Resources.Designer.cs | 2 +- .../MSClient/Properties/Settings.Designer.cs | 4 ++-- Samples/MasterServerSample/MSCommon/MSCommon.csproj | 9 ++++++--- Samples/MasterServerSample/MSServer/MSServer.csproj | 12 +++++++++--- Samples/MasterServerSample/MSServer/Program.cs | 1 + .../MasterServer/MasterServer.csproj | 12 +++++++++--- 7 files changed, 36 insertions(+), 16 deletions(-) diff --git a/Samples/MasterServerSample/MSClient/MSClient.csproj b/Samples/MasterServerSample/MSClient/MSClient.csproj index 949e95a..bde52a3 100644 --- a/Samples/MasterServerSample/MSClient/MSClient.csproj +++ b/Samples/MasterServerSample/MSClient/MSClient.csproj @@ -1,5 +1,5 @@  - + Debug AnyCPU @@ -10,7 +10,7 @@ Properties MSClient MSClient - v4.0 + v4.5.1 512 @@ -39,7 +39,8 @@ false false true - Client + + true @@ -50,6 +51,7 @@ prompt 4 AllRules.ruleset + false pdbonly @@ -59,6 +61,7 @@ prompt 4 AllRules.ruleset + false @@ -93,6 +96,7 @@ Resources.resx True + SettingsSingleFileGenerator Settings.Designer.cs @@ -105,7 +109,7 @@ - {49BA1C69-6104-41AC-A5D8-B54FA9F696E8} + {49ba1c69-6104-41ac-a5d8-b54fa9f696e8} Lidgren.Network diff --git a/Samples/MasterServerSample/MSClient/Properties/Resources.Designer.cs b/Samples/MasterServerSample/MSClient/Properties/Resources.Designer.cs index 01dde58..32e6dc3 100644 --- a/Samples/MasterServerSample/MSClient/Properties/Resources.Designer.cs +++ b/Samples/MasterServerSample/MSClient/Properties/Resources.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.488 +// Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/Samples/MasterServerSample/MSClient/Properties/Settings.Designer.cs b/Samples/MasterServerSample/MSClient/Properties/Settings.Designer.cs index 0dcba43..d952305 100644 --- a/Samples/MasterServerSample/MSClient/Properties/Settings.Designer.cs +++ b/Samples/MasterServerSample/MSClient/Properties/Settings.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.488 +// Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -12,7 +12,7 @@ namespace MSClient.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); diff --git a/Samples/MasterServerSample/MSCommon/MSCommon.csproj b/Samples/MasterServerSample/MSCommon/MSCommon.csproj index 75e415f..f8523c4 100644 --- a/Samples/MasterServerSample/MSCommon/MSCommon.csproj +++ b/Samples/MasterServerSample/MSCommon/MSCommon.csproj @@ -1,5 +1,5 @@  - + Debug AnyCPU @@ -10,7 +10,7 @@ Properties MSCommon MSCommon - v4.0 + v4.5.1 512 @@ -39,7 +39,8 @@ false false true - Client + + true @@ -50,6 +51,7 @@ prompt 4 AllRules.ruleset + false pdbonly @@ -59,6 +61,7 @@ prompt 4 AllRules.ruleset + false diff --git a/Samples/MasterServerSample/MSServer/MSServer.csproj b/Samples/MasterServerSample/MSServer/MSServer.csproj index a3bd16f..1db63b7 100644 --- a/Samples/MasterServerSample/MSServer/MSServer.csproj +++ b/Samples/MasterServerSample/MSServer/MSServer.csproj @@ -1,5 +1,5 @@  - + Debug AnyCPU @@ -10,7 +10,7 @@ Properties MSServer MSServer - v4.0 + v4.5.1 512 @@ -39,7 +39,8 @@ false false true - Client + + true @@ -50,6 +51,7 @@ prompt 4 AllRules.ruleset + false pdbonly @@ -59,6 +61,7 @@ prompt 4 AllRules.ruleset + false @@ -105,6 +108,9 @@ true + + +