diff options
Diffstat (limited to 'csharp/test/Ice/optional/ServerAMD.cs')
-rw-r--r-- | csharp/test/Ice/optional/ServerAMD.cs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/csharp/test/Ice/optional/ServerAMD.cs b/csharp/test/Ice/optional/ServerAMD.cs index 7fddcf2a226..d23b4060462 100644 --- a/csharp/test/Ice/optional/ServerAMD.cs +++ b/csharp/test/Ice/optional/ServerAMD.cs @@ -8,7 +8,6 @@ // ********************************************************************** using System; -using System.Diagnostics; using System.Reflection; [assembly: CLSCompliant(true)] @@ -38,18 +37,10 @@ public class Server try { Ice.InitializationData data = new Ice.InitializationData(); -#if COMPACT - // - // When using Ice for .NET Compact Framework, we need to specify - // the assembly so that Ice can locate classes and exceptions. - // - data.properties = Ice.Util.createProperties(); - data.properties.setProperty("Ice.FactoryAssemblies", "serveramd"); -#endif communicator = Ice.Util.initialize(ref args, data); status = run(args, communicator); } - catch(System.Exception ex) + catch(Exception ex) { Console.Error.WriteLine(ex); status = 1; |