diff --git a/.gitignore b/.gitignore index bdc3535..66e2387 100644 --- a/.gitignore +++ b/.gitignore @@ -106,3 +106,5 @@ Generated_Code #added for RIA/Silverlight projects _UpgradeReport_Files/ Backup*/ UpgradeLog*.XML +/.vs/RedGate.AppHost/v15/Server/sqlite3 +/.vs/RedGate.AppHost/v16/TestStore/0 diff --git a/NuSpec/RedGate.AppHost.nuspec b/NuSpec/RedGate.AppHost.nuspec index ac59c47..366f360 100644 --- a/NuSpec/RedGate.AppHost.nuspec +++ b/NuSpec/RedGate.AppHost.nuspec @@ -1,44 +1,52 @@ - RedGate.AppHost - 1.0.0 - Red Gate Out of Process App Host + CefSharp-Remoting.RedGate.AppHost + 1.0.4 + CefSharp-Remoting fork of Red Gate Out of Process App Host Red Gate Red Gate - https://github.com/red-gate/RedGate.AppHost + https://github.com/rupertsciamenna89/RedGate.AppHost false - Provides a way to host a UI out of process and remote it in - Provides a way to host a UI out of process and remote it in + Provides a way to host a UI out of process and remote it in. It's a CefSharp-Remoting fork. This package must not be used for production environment. It has only educative purpose. + Provides a way to host a UI out of process and remote it in. It's a CefSharp-Remoting fork. - - - + + + + + - - - + + + + + - + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + diff --git a/RedGate.AppHost.Client/Program.cs b/RedGate.AppHost.Client/Program.cs index 2fb49c1..5f8b882 100644 --- a/RedGate.AppHost.Client/Program.cs +++ b/RedGate.AppHost.Client/Program.cs @@ -17,9 +17,10 @@ internal static class Program [STAThread] private static void Main(string[] args) { - var options = new Options(); - if (Parser.Default.ParseArguments(args, options)) - { + var parseResult = Parser.Default.ParseArguments(args); + + if (parseResult.Tag == ParserResultType.Parsed) { + var options = parseResult.MapResult(el => el, el => null); #if DEBUG options.Debug = true; #endif diff --git a/RedGate.AppHost.Client/RedGate.AppHost.Client.csproj b/RedGate.AppHost.Client/RedGate.AppHost.Client.csproj index 06e6abb..cdd3b0b 100644 --- a/RedGate.AppHost.Client/RedGate.AppHost.Client.csproj +++ b/RedGate.AppHost.Client/RedGate.AppHost.Client.csproj @@ -9,10 +9,26 @@ Properties RedGate.AppHost.Client RedGate.AppHost.Client - v4.0 + v4.5.2 512 true - \\red-gate.com\Files\RG_Build_Key\RedGate.snk + RedGate_AppHost.snk + false + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + true @@ -26,6 +42,7 @@ x64 prompt MinimumRecommendedRules.ruleset + false bin\x64\Release\ @@ -36,6 +53,7 @@ x64 prompt MinimumRecommendedRules.ruleset + false true @@ -46,6 +64,7 @@ x86 prompt MinimumRecommendedRules.ruleset + false ..\Build\Release\ @@ -56,6 +75,7 @@ x86 prompt MinimumRecommendedRules.ruleset + false @@ -70,8 +90,8 @@ app.manifest - - ..\packages\CommandLineParser.1.9.71\lib\net40\CommandLine.dll + + ..\packages\CommandLineParser.2.8.0\lib\net45\CommandLine.dll @@ -110,12 +130,31 @@ + + + + + False + Microsoft .NET Framework 4 %28x86 e x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + + + False + Windows Installer 4.5 + true + + @@ -68,8 +73,8 @@ app.manifest - - ..\packages\CommandLineParser.1.9.71\lib\net40\CommandLine.dll + + ..\packages\CommandLineParser.2.8.0\lib\net45\CommandLine.dll @@ -108,8 +113,10 @@ + + diff --git a/RedGate.AppHost.Client/RedGate_AppHost.snk b/RedGate.AppHost.Client/RedGate_AppHost.snk new file mode 100644 index 0000000..b5b5d36 Binary files /dev/null and b/RedGate.AppHost.Client/RedGate_AppHost.snk differ diff --git a/RedGate.AppHost.Client/app.config b/RedGate.AppHost.Client/app.config new file mode 100644 index 0000000..ff99501 --- /dev/null +++ b/RedGate.AppHost.Client/app.config @@ -0,0 +1,3 @@ + + + diff --git a/RedGate.AppHost.Client/packages.config b/RedGate.AppHost.Client/packages.config index 7f3f641..8ba0218 100644 --- a/RedGate.AppHost.Client/packages.config +++ b/RedGate.AppHost.Client/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/RedGate.AppHost.Example.Client/RedGate.AppHost.Example.Client.csproj b/RedGate.AppHost.Example.Client/RedGate.AppHost.Example.Client.csproj index 3692b35..591dbf9 100644 --- a/RedGate.AppHost.Example.Client/RedGate.AppHost.Example.Client.csproj +++ b/RedGate.AppHost.Example.Client/RedGate.AppHost.Example.Client.csproj @@ -9,10 +9,11 @@ Properties RedGate.AppHost.Example.Client RedGate.AppHost.Example.Client - v4.0 + v4.5.2 512 - true + false \\red-gate.com\Files\RG_Build_Key\RedGate.snk + true @@ -23,6 +24,7 @@ prompt 4 true + false pdbonly @@ -32,6 +34,7 @@ prompt 4 true + false diff --git a/RedGate.AppHost.Example.Remote.Services/RedGate.AppHost.Example.Remote.Services.csproj b/RedGate.AppHost.Example.Remote.Services/RedGate.AppHost.Example.Remote.Services.csproj index 271d8b4..849ec04 100644 --- a/RedGate.AppHost.Example.Remote.Services/RedGate.AppHost.Example.Remote.Services.csproj +++ b/RedGate.AppHost.Example.Remote.Services/RedGate.AppHost.Example.Remote.Services.csproj @@ -9,10 +9,10 @@ Properties RedGate.AppHost.Example.Remote.Services RedGate.AppHost.Example.Remote.Services - v4.0 + v4.5.2 512 - true + false \\red-gate.com\Files\RG_Build_Key\RedGate.snk @@ -23,6 +23,7 @@ DEBUG;TRACE prompt 4 + false pdbonly @@ -31,6 +32,7 @@ TRACE prompt 4 + false diff --git a/RedGate.AppHost.Example.Server/Properties/Resources.Designer.cs b/RedGate.AppHost.Example.Server/Properties/Resources.Designer.cs index 32ed4e7..76f7a99 100644 --- a/RedGate.AppHost.Example.Server/Properties/Resources.Designer.cs +++ b/RedGate.AppHost.Example.Server/Properties/Resources.Designer.cs @@ -1,69 +1,61 @@ //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.18408 +// Il codice è stato generato da uno strumento. +// Versione runtime:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se +// il codice viene rigenerato. // //------------------------------------------------------------------------------ -namespace RedGate.AppHost.Example.Server.Properties -{ - - +namespace RedGate.AppHost.Example.Server.Properties { + using System; + + /// - /// A strongly-typed resource class, for looking up localized strings, etc. + /// Classe di risorse fortemente tipizzata per la ricerca di stringhe localizzate e così via. /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. + // Questa classe è stata generata automaticamente dalla classe StronglyTypedResourceBuilder. + // tramite uno strumento quale ResGen o Visual Studio. + // Per aggiungere o rimuovere un membro, modificare il file con estensione ResX ed eseguire nuovamente ResGen + // con l'opzione /str oppure ricompilare il progetto VS. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - + internal class Resources { + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { + internal Resources() { } - + /// - /// Returns the cached ResourceManager instance used by this class. + /// Restituisce l'istanza di ResourceManager nella cache utilizzata da questa classe. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("RedGate.AppHost.Example.Server.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. + /// Esegue l'override della proprietà CurrentUICulture del thread corrente per tutte le + /// ricerche di risorse eseguite utilizzando questa classe di risorse fortemente tipizzata. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { + internal static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } diff --git a/RedGate.AppHost.Example.Server/Properties/Settings.Designer.cs b/RedGate.AppHost.Example.Server/Properties/Settings.Designer.cs index 76e40a6..7d7152b 100644 --- a/RedGate.AppHost.Example.Server/Properties/Settings.Designer.cs +++ b/RedGate.AppHost.Example.Server/Properties/Settings.Designer.cs @@ -1,28 +1,24 @@ //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.18408 +// Il codice è stato generato da uno strumento. +// Versione runtime:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se +// il codice viene rigenerato. // //------------------------------------------------------------------------------ -namespace RedGate.AppHost.Example.Server.Properties -{ - - +namespace RedGate.AppHost.Example.Server.Properties { + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { + + public static Settings Default { + get { return defaultInstance; } } diff --git a/RedGate.AppHost.Example.Server/RedGate.AppHost.Example.Server.csproj b/RedGate.AppHost.Example.Server/RedGate.AppHost.Example.Server.csproj index 1ad3654..b354229 100644 --- a/RedGate.AppHost.Example.Server/RedGate.AppHost.Example.Server.csproj +++ b/RedGate.AppHost.Example.Server/RedGate.AppHost.Example.Server.csproj @@ -9,10 +9,11 @@ Properties RedGate.AppHost.Example.Server RedGate.AppHost.Example.Server - v4.0 + v4.5.2 512 - true + false \\red-gate.com\Files\RG_Build_Key\RedGate.snk + AnyCPU @@ -24,6 +25,7 @@ prompt 4 true + false AnyCPU @@ -34,6 +36,7 @@ prompt 4 true + false @@ -90,6 +93,7 @@ ResXFileCodeGenerator Resources.Designer.cs + SettingsSingleFileGenerator Settings.Designer.cs diff --git a/RedGate.AppHost.Example.Server/app.config b/RedGate.AppHost.Example.Server/app.config new file mode 100644 index 0000000..ff99501 --- /dev/null +++ b/RedGate.AppHost.Example.Server/app.config @@ -0,0 +1,3 @@ + + + diff --git a/RedGate.AppHost.Interfaces/RedGate.AppHost.Interfaces.csproj b/RedGate.AppHost.Interfaces/RedGate.AppHost.Interfaces.csproj index c838c64..f0d320f 100644 --- a/RedGate.AppHost.Interfaces/RedGate.AppHost.Interfaces.csproj +++ b/RedGate.AppHost.Interfaces/RedGate.AppHost.Interfaces.csproj @@ -9,10 +9,10 @@ Properties RedGate.AppHost.Interfaces RedGate.AppHost.Interfaces - v3.5 + v4.5.2 512 true - \\red-gate.com\Files\RG_Build_Key\RedGate.snk + RedGate_AppHost.snk @@ -24,6 +24,7 @@ prompt 4 true + false pdbonly @@ -33,10 +34,12 @@ prompt 4 true + false - true + true + true @@ -60,6 +63,9 @@ + + + - true + true + true @@ -66,6 +69,9 @@ RedGate.AppHost.Interfaces + + + - true + true + true @@ -52,6 +55,9 @@ + + + @@ -84,6 +86,9 @@ RedGate.AppHost.Remoting + + +