From 9387b9ad353cfafd36e7442b8e00309dcc9bc1bb Mon Sep 17 00:00:00 2001 From: Jan Friedrich Date: Mon, 4 Mar 2024 11:32:02 +0100 Subject: [PATCH] removed legacy target frameworks from examples --- .../1.0/Performance/NotLogging/cs/nant.build | 45 -- .../1.0/Performance/NotLogging/cs/nant.config | 23 - .../NotLogging/cs/src/AssemblyInfo.cs | 61 --- .../NotLogging/cs/src/NotLogging.cs | 434 ------------------ .../1.0/Performance/NotLogging/nant.build | 29 -- .../1.0/Performance/NotLogging/nant.config | 21 - examples/mono/1.0/Performance/nant.build | 29 -- examples/mono/1.0/Performance/nant.config | 21 - .../1.0/Repository/SharedModule/cs/nant.build | 39 -- .../Repository/SharedModule/cs/nant.config | 23 - .../SharedModule/cs/src/AssemblyInfo.cs | 61 --- .../Repository/SharedModule/cs/src/Math.cs | 42 -- .../1.0/Repository/SharedModule/nant.build | 29 -- .../1.0/Repository/SharedModule/nant.config | 21 - .../1.0/Repository/SimpleApp/cs/nant.build | 67 --- .../1.0/Repository/SimpleApp/cs/nant.config | 23 - .../Repository/SimpleApp/cs/src/App.config | 30 -- .../SimpleApp/cs/src/AssemblyInfo.cs | 61 --- .../Repository/SimpleApp/cs/src/EntryPoint.cs | 80 ---- .../SimpleApp/cs/src/SimpleApp.exe.log4net | 15 - .../mono/1.0/Repository/SimpleApp/nant.build | 29 -- .../mono/1.0/Repository/SimpleApp/nant.config | 21 - .../1.0/Repository/SimpleModule/cs/nant.build | 41 -- .../Repository/SimpleModule/cs/nant.config | 23 - .../SimpleModule/cs/src/AssemblyInfo.cs | 61 --- .../Repository/SimpleModule/cs/src/Math.cs | 49 -- .../cs/src/SimpleModule.dll.log4net | 15 - .../1.0/Repository/SimpleModule/nant.build | 29 -- .../1.0/Repository/SimpleModule/nant.config | 21 - examples/mono/1.0/Repository/nant.build | 29 -- examples/mono/1.0/Repository/nant.config | 21 - .../1.0/Tutorials/ConsoleApp/cs/nant.build | 47 -- .../1.0/Tutorials/ConsoleApp/cs/nant.config | 23 - .../Tutorials/ConsoleApp/cs/src/App.config | 208 --------- .../ConsoleApp/cs/src/AssemblyInfo.cs | 61 --- .../ConsoleApp/cs/src/LoggingExample.cs | 112 ----- .../mono/1.0/Tutorials/ConsoleApp/nant.build | 23 - .../mono/1.0/Tutorials/ConsoleApp/nant.config | 21 - examples/mono/1.0/Tutorials/nant.build | 23 - examples/mono/1.0/Tutorials/nant.config | 21 - examples/mono/1.0/nant.build | 41 -- examples/mono/1.0/nant.config | 25 - examples/mono/nant.build | 29 -- examples/mono/nant.config | 23 - examples/nant.build | 31 -- examples/nant.config | 21 - .../1.1/Repository/SharedModule/js/nant.build | 39 -- .../Repository/SharedModule/js/nant.config | 23 - .../SharedModule/js/src/AssemblyInfo.js | 61 --- .../Repository/SharedModule/js/src/Math.js | 37 -- .../1.1/Repository/SharedModule/nant.build | 29 -- .../1.1/Repository/SharedModule/nant.config | 21 - .../1.1/Repository/SimpleApp/js/nant.build | 67 --- .../1.1/Repository/SimpleApp/js/nant.config | 23 - .../Repository/SimpleApp/js/src/App.config | 29 -- .../SimpleApp/js/src/AssemblyInfo.js | 61 --- .../Repository/SimpleApp/js/src/EntryPoint.js | 79 ---- .../SimpleApp/js/src/SimpleApp.exe.log4net | 16 - .../net/1.1/Repository/SimpleApp/nant.build | 29 -- .../net/1.1/Repository/SimpleApp/nant.config | 21 - .../1.1/Repository/SimpleModule/js/nant.build | 41 -- .../Repository/SimpleModule/js/nant.config | 23 - .../SimpleModule/js/src/AssemblyInfo.js | 61 --- .../Repository/SimpleModule/js/src/Math.js | 45 -- .../js/src/SimpleModule.dll.log4net | 16 - .../1.1/Repository/SimpleModule/nant.build | 29 -- .../1.1/Repository/SimpleModule/nant.config | 21 - examples/net/1.1/Repository/nant.build | 25 - examples/net/1.1/Repository/nant.config | 21 - .../1.1/Tutorials/ConsoleApp/cpp/nant.build | 53 --- .../1.1/Tutorials/ConsoleApp/cpp/nant.config | 23 - .../Tutorials/ConsoleApp/cpp/src/App.config | 214 --------- .../ConsoleApp/cpp/src/AssemblyInfo.cpp | 59 --- .../ConsoleApp/cpp/src/ConsoleApp.cpp | 133 ------ .../ConsoleApp/cpp/src/ConsoleApp.vcproj | 186 -------- .../1.1/Tutorials/ConsoleApp/js/nant.build | 47 -- .../1.1/Tutorials/ConsoleApp/js/nant.config | 23 - .../Tutorials/ConsoleApp/js/src/App.config | 214 --------- .../ConsoleApp/js/src/AssemblyInfo.js | 61 --- .../ConsoleApp/js/src/LoggingExample.js | 104 ----- .../net/1.1/Tutorials/ConsoleApp/nant.build | 23 - .../net/1.1/Tutorials/ConsoleApp/nant.config | 21 - examples/net/1.1/Tutorials/nant.build | 23 - examples/net/1.1/Tutorials/nant.config | 21 - examples/net/1.1/cpp-examples.sln | 41 -- examples/net/1.1/nant.build | 41 -- examples/net/1.1/nant.config | 25 - examples/net/nant.build | 33 -- examples/net/nant.config | 23 - .../1.0/Tutorials/ConsoleApp/cs/nant.build | 49 -- .../1.0/Tutorials/ConsoleApp/cs/nant.config | 23 - .../ConsoleApp/cs/src/AssemblyInfo.cs | 61 --- .../ConsoleApp/cs/src/ConsoleApp.csdproj | 155 ------- .../ConsoleApp/cs/src/ConsoleApp.exe.config | 124 ----- .../Tutorials/ConsoleApp/cs/src/EntryPoint.cs | 75 --- .../ConsoleApp/cs/src/LoggingExample.cs | 93 ---- .../netcf/1.0/Tutorials/ConsoleApp/nant.build | 29 -- .../1.0/Tutorials/ConsoleApp/nant.config | 21 - .../1.0/Tutorials/ConsoleApp/vb/nant.build | 48 -- .../1.0/Tutorials/ConsoleApp/vb/nant.config | 23 - .../ConsoleApp/vb/src/AssemblyInfo.vb | 61 --- .../ConsoleApp/vb/src/ConsoleApp.exe.config | 124 ----- .../ConsoleApp/vb/src/ConsoleApp.vbdproj | 156 ------- .../Tutorials/ConsoleApp/vb/src/EntryPoint.vb | 64 --- .../ConsoleApp/vb/src/LoggingExample.vb | 82 ---- examples/netcf/1.0/Tutorials/nant.build | 29 -- examples/netcf/1.0/Tutorials/nant.config | 21 - examples/netcf/1.0/cs-examples.sln | 43 -- examples/netcf/1.0/nant.build | 41 -- examples/netcf/1.0/nant.config | 25 - examples/netcf/1.0/vb-examples.sln | 43 -- examples/netcf/nant.build | 29 -- examples/netcf/nant.config | 23 - .../1.0/Repository/SharedModule/cs/nant.build | 39 -- .../Repository/SharedModule/cs/nant.config | 23 - .../SharedModule/cs/src/AssemblyInfo.cs | 60 --- .../Repository/SharedModule/cs/src/Math.cs | 42 -- .../1.0/Repository/SharedModule/nant.build | 29 -- .../1.0/Repository/SharedModule/nant.config | 21 - .../1.0/Repository/SimpleApp/cs/nant.build | 67 --- .../1.0/Repository/SimpleApp/cs/nant.config | 23 - .../Repository/SimpleApp/cs/src/App.config | 30 -- .../SimpleApp/cs/src/AssemblyInfo.cs | 60 --- .../Repository/SimpleApp/cs/src/EntryPoint.cs | 79 ---- .../SimpleApp/cs/src/SimpleApp.exe.log4net | 21 - .../sscli/1.0/Repository/SimpleApp/nant.build | 29 -- .../1.0/Repository/SimpleApp/nant.config | 21 - .../1.0/Repository/SimpleModule/cs/nant.build | 41 -- .../Repository/SimpleModule/cs/nant.config | 23 - .../SimpleModule/cs/src/AssemblyInfo.cs | 60 --- .../Repository/SimpleModule/cs/src/Math.cs | 49 -- .../cs/src/SimpleModule.dll.log4net | 21 - .../1.0/Repository/SimpleModule/nant.build | 29 -- .../1.0/Repository/SimpleModule/nant.config | 21 - examples/sscli/1.0/Repository/nant.build | 29 -- examples/sscli/1.0/Repository/nant.config | 21 - .../1.0/Tutorials/ConsoleApp/js/nant.build | 47 -- .../1.0/Tutorials/ConsoleApp/js/nant.config | 23 - .../Tutorials/ConsoleApp/js/src/App.config | 87 ---- .../ConsoleApp/js/src/AssemblyInfo.js | 62 --- .../ConsoleApp/js/src/LoggingExample.js | 104 ----- .../sscli/1.0/Tutorials/ConsoleApp/nant.build | 29 -- .../1.0/Tutorials/ConsoleApp/nant.config | 21 - examples/sscli/1.0/Tutorials/nant.build | 29 -- examples/sscli/1.0/Tutorials/nant.config | 21 - examples/sscli/1.0/nant.build | 41 -- examples/sscli/1.0/nant.config | 25 - examples/sscli/nant.build | 29 -- examples/sscli/nant.config | 23 - 149 files changed, 7208 deletions(-) delete mode 100644 examples/mono/1.0/Performance/NotLogging/cs/nant.build delete mode 100644 examples/mono/1.0/Performance/NotLogging/cs/nant.config delete mode 100644 examples/mono/1.0/Performance/NotLogging/cs/src/AssemblyInfo.cs delete mode 100644 examples/mono/1.0/Performance/NotLogging/cs/src/NotLogging.cs delete mode 100644 examples/mono/1.0/Performance/NotLogging/nant.build delete mode 100644 examples/mono/1.0/Performance/NotLogging/nant.config delete mode 100644 examples/mono/1.0/Performance/nant.build delete mode 100644 examples/mono/1.0/Performance/nant.config delete mode 100644 examples/mono/1.0/Repository/SharedModule/cs/nant.build delete mode 100644 examples/mono/1.0/Repository/SharedModule/cs/nant.config delete mode 100644 examples/mono/1.0/Repository/SharedModule/cs/src/AssemblyInfo.cs delete mode 100644 examples/mono/1.0/Repository/SharedModule/cs/src/Math.cs delete mode 100644 examples/mono/1.0/Repository/SharedModule/nant.build delete mode 100644 examples/mono/1.0/Repository/SharedModule/nant.config delete mode 100644 examples/mono/1.0/Repository/SimpleApp/cs/nant.build delete mode 100644 examples/mono/1.0/Repository/SimpleApp/cs/nant.config delete mode 100644 examples/mono/1.0/Repository/SimpleApp/cs/src/App.config delete mode 100644 examples/mono/1.0/Repository/SimpleApp/cs/src/AssemblyInfo.cs delete mode 100644 examples/mono/1.0/Repository/SimpleApp/cs/src/EntryPoint.cs delete mode 100644 examples/mono/1.0/Repository/SimpleApp/cs/src/SimpleApp.exe.log4net delete mode 100644 examples/mono/1.0/Repository/SimpleApp/nant.build delete mode 100644 examples/mono/1.0/Repository/SimpleApp/nant.config delete mode 100644 examples/mono/1.0/Repository/SimpleModule/cs/nant.build delete mode 100644 examples/mono/1.0/Repository/SimpleModule/cs/nant.config delete mode 100644 examples/mono/1.0/Repository/SimpleModule/cs/src/AssemblyInfo.cs delete mode 100644 examples/mono/1.0/Repository/SimpleModule/cs/src/Math.cs delete mode 100644 examples/mono/1.0/Repository/SimpleModule/cs/src/SimpleModule.dll.log4net delete mode 100644 examples/mono/1.0/Repository/SimpleModule/nant.build delete mode 100644 examples/mono/1.0/Repository/SimpleModule/nant.config delete mode 100644 examples/mono/1.0/Repository/nant.build delete mode 100644 examples/mono/1.0/Repository/nant.config delete mode 100644 examples/mono/1.0/Tutorials/ConsoleApp/cs/nant.build delete mode 100644 examples/mono/1.0/Tutorials/ConsoleApp/cs/nant.config delete mode 100644 examples/mono/1.0/Tutorials/ConsoleApp/cs/src/App.config delete mode 100644 examples/mono/1.0/Tutorials/ConsoleApp/cs/src/AssemblyInfo.cs delete mode 100644 examples/mono/1.0/Tutorials/ConsoleApp/cs/src/LoggingExample.cs delete mode 100644 examples/mono/1.0/Tutorials/ConsoleApp/nant.build delete mode 100644 examples/mono/1.0/Tutorials/ConsoleApp/nant.config delete mode 100644 examples/mono/1.0/Tutorials/nant.build delete mode 100644 examples/mono/1.0/Tutorials/nant.config delete mode 100644 examples/mono/1.0/nant.build delete mode 100644 examples/mono/1.0/nant.config delete mode 100644 examples/mono/nant.build delete mode 100644 examples/mono/nant.config delete mode 100644 examples/nant.build delete mode 100644 examples/nant.config delete mode 100644 examples/net/1.1/Repository/SharedModule/js/nant.build delete mode 100644 examples/net/1.1/Repository/SharedModule/js/nant.config delete mode 100644 examples/net/1.1/Repository/SharedModule/js/src/AssemblyInfo.js delete mode 100644 examples/net/1.1/Repository/SharedModule/js/src/Math.js delete mode 100644 examples/net/1.1/Repository/SharedModule/nant.build delete mode 100644 examples/net/1.1/Repository/SharedModule/nant.config delete mode 100644 examples/net/1.1/Repository/SimpleApp/js/nant.build delete mode 100644 examples/net/1.1/Repository/SimpleApp/js/nant.config delete mode 100644 examples/net/1.1/Repository/SimpleApp/js/src/App.config delete mode 100644 examples/net/1.1/Repository/SimpleApp/js/src/AssemblyInfo.js delete mode 100644 examples/net/1.1/Repository/SimpleApp/js/src/EntryPoint.js delete mode 100644 examples/net/1.1/Repository/SimpleApp/js/src/SimpleApp.exe.log4net delete mode 100644 examples/net/1.1/Repository/SimpleApp/nant.build delete mode 100644 examples/net/1.1/Repository/SimpleApp/nant.config delete mode 100644 examples/net/1.1/Repository/SimpleModule/js/nant.build delete mode 100644 examples/net/1.1/Repository/SimpleModule/js/nant.config delete mode 100644 examples/net/1.1/Repository/SimpleModule/js/src/AssemblyInfo.js delete mode 100644 examples/net/1.1/Repository/SimpleModule/js/src/Math.js delete mode 100644 examples/net/1.1/Repository/SimpleModule/js/src/SimpleModule.dll.log4net delete mode 100644 examples/net/1.1/Repository/SimpleModule/nant.build delete mode 100644 examples/net/1.1/Repository/SimpleModule/nant.config delete mode 100644 examples/net/1.1/Repository/nant.build delete mode 100644 examples/net/1.1/Repository/nant.config delete mode 100644 examples/net/1.1/Tutorials/ConsoleApp/cpp/nant.build delete mode 100644 examples/net/1.1/Tutorials/ConsoleApp/cpp/nant.config delete mode 100644 examples/net/1.1/Tutorials/ConsoleApp/cpp/src/App.config delete mode 100644 examples/net/1.1/Tutorials/ConsoleApp/cpp/src/AssemblyInfo.cpp delete mode 100644 examples/net/1.1/Tutorials/ConsoleApp/cpp/src/ConsoleApp.cpp delete mode 100644 examples/net/1.1/Tutorials/ConsoleApp/cpp/src/ConsoleApp.vcproj delete mode 100644 examples/net/1.1/Tutorials/ConsoleApp/js/nant.build delete mode 100644 examples/net/1.1/Tutorials/ConsoleApp/js/nant.config delete mode 100644 examples/net/1.1/Tutorials/ConsoleApp/js/src/App.config delete mode 100644 examples/net/1.1/Tutorials/ConsoleApp/js/src/AssemblyInfo.js delete mode 100644 examples/net/1.1/Tutorials/ConsoleApp/js/src/LoggingExample.js delete mode 100644 examples/net/1.1/Tutorials/ConsoleApp/nant.build delete mode 100644 examples/net/1.1/Tutorials/ConsoleApp/nant.config delete mode 100644 examples/net/1.1/Tutorials/nant.build delete mode 100644 examples/net/1.1/Tutorials/nant.config delete mode 100644 examples/net/1.1/cpp-examples.sln delete mode 100644 examples/net/1.1/nant.build delete mode 100644 examples/net/1.1/nant.config delete mode 100644 examples/net/nant.build delete mode 100644 examples/net/nant.config delete mode 100644 examples/netcf/1.0/Tutorials/ConsoleApp/cs/nant.build delete mode 100644 examples/netcf/1.0/Tutorials/ConsoleApp/cs/nant.config delete mode 100644 examples/netcf/1.0/Tutorials/ConsoleApp/cs/src/AssemblyInfo.cs delete mode 100644 examples/netcf/1.0/Tutorials/ConsoleApp/cs/src/ConsoleApp.csdproj delete mode 100644 examples/netcf/1.0/Tutorials/ConsoleApp/cs/src/ConsoleApp.exe.config delete mode 100644 examples/netcf/1.0/Tutorials/ConsoleApp/cs/src/EntryPoint.cs delete mode 100644 examples/netcf/1.0/Tutorials/ConsoleApp/cs/src/LoggingExample.cs delete mode 100644 examples/netcf/1.0/Tutorials/ConsoleApp/nant.build delete mode 100644 examples/netcf/1.0/Tutorials/ConsoleApp/nant.config delete mode 100644 examples/netcf/1.0/Tutorials/ConsoleApp/vb/nant.build delete mode 100644 examples/netcf/1.0/Tutorials/ConsoleApp/vb/nant.config delete mode 100644 examples/netcf/1.0/Tutorials/ConsoleApp/vb/src/AssemblyInfo.vb delete mode 100644 examples/netcf/1.0/Tutorials/ConsoleApp/vb/src/ConsoleApp.exe.config delete mode 100644 examples/netcf/1.0/Tutorials/ConsoleApp/vb/src/ConsoleApp.vbdproj delete mode 100644 examples/netcf/1.0/Tutorials/ConsoleApp/vb/src/EntryPoint.vb delete mode 100644 examples/netcf/1.0/Tutorials/ConsoleApp/vb/src/LoggingExample.vb delete mode 100644 examples/netcf/1.0/Tutorials/nant.build delete mode 100644 examples/netcf/1.0/Tutorials/nant.config delete mode 100644 examples/netcf/1.0/cs-examples.sln delete mode 100644 examples/netcf/1.0/nant.build delete mode 100644 examples/netcf/1.0/nant.config delete mode 100644 examples/netcf/1.0/vb-examples.sln delete mode 100644 examples/netcf/nant.build delete mode 100644 examples/netcf/nant.config delete mode 100644 examples/sscli/1.0/Repository/SharedModule/cs/nant.build delete mode 100644 examples/sscli/1.0/Repository/SharedModule/cs/nant.config delete mode 100644 examples/sscli/1.0/Repository/SharedModule/cs/src/AssemblyInfo.cs delete mode 100644 examples/sscli/1.0/Repository/SharedModule/cs/src/Math.cs delete mode 100644 examples/sscli/1.0/Repository/SharedModule/nant.build delete mode 100644 examples/sscli/1.0/Repository/SharedModule/nant.config delete mode 100644 examples/sscli/1.0/Repository/SimpleApp/cs/nant.build delete mode 100644 examples/sscli/1.0/Repository/SimpleApp/cs/nant.config delete mode 100644 examples/sscli/1.0/Repository/SimpleApp/cs/src/App.config delete mode 100644 examples/sscli/1.0/Repository/SimpleApp/cs/src/AssemblyInfo.cs delete mode 100644 examples/sscli/1.0/Repository/SimpleApp/cs/src/EntryPoint.cs delete mode 100644 examples/sscli/1.0/Repository/SimpleApp/cs/src/SimpleApp.exe.log4net delete mode 100644 examples/sscli/1.0/Repository/SimpleApp/nant.build delete mode 100644 examples/sscli/1.0/Repository/SimpleApp/nant.config delete mode 100644 examples/sscli/1.0/Repository/SimpleModule/cs/nant.build delete mode 100644 examples/sscli/1.0/Repository/SimpleModule/cs/nant.config delete mode 100644 examples/sscli/1.0/Repository/SimpleModule/cs/src/AssemblyInfo.cs delete mode 100644 examples/sscli/1.0/Repository/SimpleModule/cs/src/Math.cs delete mode 100644 examples/sscli/1.0/Repository/SimpleModule/cs/src/SimpleModule.dll.log4net delete mode 100644 examples/sscli/1.0/Repository/SimpleModule/nant.build delete mode 100644 examples/sscli/1.0/Repository/SimpleModule/nant.config delete mode 100644 examples/sscli/1.0/Repository/nant.build delete mode 100644 examples/sscli/1.0/Repository/nant.config delete mode 100644 examples/sscli/1.0/Tutorials/ConsoleApp/js/nant.build delete mode 100644 examples/sscli/1.0/Tutorials/ConsoleApp/js/nant.config delete mode 100644 examples/sscli/1.0/Tutorials/ConsoleApp/js/src/App.config delete mode 100644 examples/sscli/1.0/Tutorials/ConsoleApp/js/src/AssemblyInfo.js delete mode 100644 examples/sscli/1.0/Tutorials/ConsoleApp/js/src/LoggingExample.js delete mode 100644 examples/sscli/1.0/Tutorials/ConsoleApp/nant.build delete mode 100644 examples/sscli/1.0/Tutorials/ConsoleApp/nant.config delete mode 100644 examples/sscli/1.0/Tutorials/nant.build delete mode 100644 examples/sscli/1.0/Tutorials/nant.config delete mode 100644 examples/sscli/1.0/nant.build delete mode 100644 examples/sscli/1.0/nant.config delete mode 100644 examples/sscli/nant.build delete mode 100644 examples/sscli/nant.config diff --git a/examples/mono/1.0/Performance/NotLogging/cs/nant.build b/examples/mono/1.0/Performance/NotLogging/cs/nant.build deleted file mode 100644 index 4d5ac2c8..00000000 --- a/examples/mono/1.0/Performance/NotLogging/cs/nant.build +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/mono/1.0/Performance/NotLogging/cs/nant.config b/examples/mono/1.0/Performance/NotLogging/cs/nant.config deleted file mode 100644 index 52613e83..00000000 --- a/examples/mono/1.0/Performance/NotLogging/cs/nant.config +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - diff --git a/examples/mono/1.0/Performance/NotLogging/cs/src/AssemblyInfo.cs b/examples/mono/1.0/Performance/NotLogging/cs/src/AssemblyInfo.cs deleted file mode 100644 index b278ed8c..00000000 --- a/examples/mono/1.0/Performance/NotLogging/cs/src/AssemblyInfo.cs +++ /dev/null @@ -1,61 +0,0 @@ -#region Apache License -// -// Licensed to the Apache Software Foundation (ASF) under one or more -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The ASF licenses this file to you under the Apache License, Version 2.0 -// (the "License"); you may not use this file except in compliance with -// the License. You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("log4net - NotLogging")] -[assembly: AssemblyDescription("log4net performance test - NotLogging")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyProduct("log4net - NotLogging")] -[assembly: AssemblyCulture("")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project output directory which is -// %Project Directory%\obj\. For example, if your KeyFile is -// located in the project directory, you would specify the AssemblyKeyFile -// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] diff --git a/examples/mono/1.0/Performance/NotLogging/cs/src/NotLogging.cs b/examples/mono/1.0/Performance/NotLogging/cs/src/NotLogging.cs deleted file mode 100644 index 0501ef94..00000000 --- a/examples/mono/1.0/Performance/NotLogging/cs/src/NotLogging.cs +++ /dev/null @@ -1,434 +0,0 @@ -#region Apache License -// -// Licensed to the Apache Software Foundation (ASF) under one or more -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The ASF licenses this file to you under the Apache License, Version 2.0 -// (the "License"); you may not use this file except in compliance with -// the License. You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -namespace NotLogging -{ - using System; - using System.Collections; - - using log4net; - using log4net.Appender; - using log4net.Layout; - using log4net.Repository; - using log4net.Repository.Hierarchy; - - public class NotLogging - { - #region Init Code - - private static int WARM_UP_CYCLES = 10000; - - static readonly ILog SHORT_LOG = LogManager.GetLogger("A0123456789"); - static readonly ILog MEDIUM_LOG= LogManager.GetLogger("A0123456789.B0123456789"); - static readonly ILog LONG_LOG = LogManager.GetLogger("A0123456789.B0123456789.C0123456789"); - - static readonly ILog INEXISTENT_SHORT_LOG = LogManager.GetLogger("I0123456789"); - static readonly ILog INEXISTENT_MEDIUM_LOG= LogManager.GetLogger("I0123456789.B0123456789"); - static readonly ILog INEXISTENT_LONG_LOG = LogManager.GetLogger("I0123456789.B0123456789.C0123456789"); - - - static readonly ILog[] LOG_ARRAY = new ILog[] { - SHORT_LOG, - MEDIUM_LOG, - LONG_LOG, - INEXISTENT_SHORT_LOG, - INEXISTENT_MEDIUM_LOG, - INEXISTENT_LONG_LOG}; - - static readonly TimedTest[] TIMED_TESTS = new TimedTest[] { - new SimpleMessage_Bare(), - new SimpleMessage_Array(), - new SimpleMessage_MethodGuard_Bare(), - new SimpleMessage_LocalGuard_Bare(), - new ComplexMessage_Bare(), - new ComplexMessage_Array(), - new ComplexMessage_MethodGuard_Bare(), - new ComplexMessage_MethodGuard_Array(), - new ComplexMessage_MemberGuard_Bare(), - new ComplexMessage_LocalGuard_Bare()}; - - private static void Usage() - { - System.Console.WriteLine( - "Usage: NotLogging " + Environment.NewLine + - "\t true indicates shipped code" + Environment.NewLine + - "\t false indicates code in development" + Environment.NewLine + - "\t runLength is an int representing the run length of loops" + Environment.NewLine + - "\t We suggest that runLength be at least 1000000 (1 million)."); - Environment.Exit(1); - } - - - /// - /// Program wide initialization method - /// - /// - private static int ProgramInit(String[] args) - { - int runLength = 0; - - try - { - runLength = int.Parse(args[1]); - } - catch(Exception e) - { - System.Console.Error.WriteLine(e); - Usage(); - } - - ConsoleAppender appender = new ConsoleAppender(new SimpleLayout()); - - if("false" == args[0]) - { - // nothing to do - } - else if ("true" == args[0]) - { - System.Console.WriteLine("Flagging as shipped code."); - ((Hierarchy)LogManager.GetRepository()).Threshold = log4net.Core.Level.Warn; - } - else - { - Usage(); - } - - ((Logger)SHORT_LOG.Logger).Level = log4net.Core.Level.Info; - ((Hierarchy)LogManager.GetRepository()).Root.Level = log4net.Core.Level.Info; - ((Hierarchy)LogManager.GetRepository()).Root.AddAppender(appender); - - return runLength; - } - - #endregion - - /// - /// The main entry point for the application. - /// - [STAThread] - static void Main(string[] argv) - { - if (System.Diagnostics.Debugger.IsAttached) - { - WARM_UP_CYCLES = 0; - argv = new string[] { "false", "2" }; - } - if(argv.Length != 2) - { - Usage(); - } - - int runLength = ProgramInit(argv); - - System.Console.WriteLine(); - System.Console.Write("Warming Up..."); - - if (WARM_UP_CYCLES > 0) - { - foreach(ILog logger in LOG_ARRAY) - { - foreach(TimedTest timedTest in TIMED_TESTS) - { - timedTest.Run(logger, WARM_UP_CYCLES); - } - } - } - System.Console.WriteLine("Done"); - System.Console.WriteLine(); - - // Calculate maximum description length - int maxDescLen = 0; - foreach(TimedTest timedTest in TIMED_TESTS) - { - maxDescLen = Math.Max(maxDescLen, timedTest.Description.Length); - } - - string formatString = "{0,-"+(maxDescLen+1)+"} {1,9:G} ticks. Log: {2}"; - double delta; - - ArrayList averageData = new ArrayList(); - - foreach(TimedTest timedTest in TIMED_TESTS) - { - double total = 0; - foreach(ILog logger in LOG_ARRAY) - { - delta = timedTest.Run(logger, runLength); - System.Console.WriteLine(string.Format(formatString, timedTest.Description, delta, ((Logger)logger.Logger).Name)); - - total += delta; - } - System.Console.WriteLine(); - - averageData.Add(new object[] { timedTest, total/((double)LOG_ARRAY.Length) }); - } - System.Console.WriteLine(); - System.Console.WriteLine("Averages:"); - System.Console.WriteLine(); - - foreach(object[] pair in averageData) - { - string avgFormatString = "{0,-"+(maxDescLen+1)+"} {1,9:G} ticks."; - System.Console.WriteLine(string.Format(avgFormatString, ((TimedTest)pair[0]).Description, ((double)pair[1]))); - } - } - } - - abstract class TimedTest - { - abstract public double Run(ILog log, long runLength); - abstract public string Description {get;} - } - - #region Tests calling Debug(string) - - class SimpleMessage_Bare : TimedTest - { - override public double Run(ILog log, long runLength) - { - DateTime before = DateTime.Now; - for(int i = 0; i < runLength; i++) - { - log.Debug("msg"); - } - DateTime after = DateTime.Now; - TimeSpan diff = after - before; - return ((double)diff.Ticks)/((double)runLength); - } - - override public string Description - { - get { return "log.Debug(\"msg\");"; } - } - } - class ComplexMessage_MethodGuard_Bare : TimedTest - { - override public double Run(ILog log, long runLength) - { - DateTime before = DateTime.Now; - for(int i = 0; i < runLength; i++) - { - if(log.IsDebugEnabled) - { - log.Debug("msg" + i + "msg"); - } - } - DateTime after = DateTime.Now; - TimeSpan diff = after - before; - return ((double)diff.Ticks)/((double)runLength); - } - - override public string Description - { - get { return "if(log.IsDebugEnabled) log.Debug(\"msg\" + i + \"msg\");"; } - } - } - class ComplexMessage_Bare : TimedTest - { - override public double Run(ILog log, long runLength) - { - DateTime before = DateTime.Now; - for(int i = 0; i < runLength; i++) - { - log.Debug("msg" + i + "msg"); - } - DateTime after = DateTime.Now; - TimeSpan diff = after - before; - return ((double)diff.Ticks)/((double)runLength); - } - - override public string Description - { - get { return "log.Debug(\"msg\" + i + \"msg\");"; } - } - } - - #endregion - - #region Tests calling Debug(new object[] { ... }) - - class SimpleMessage_Array : TimedTest - { - override public double Run(ILog log, long runLength) - { - DateTime before = DateTime.Now; - for(int i = 0; i < runLength; i++) - { - log.Debug(new object[] { "msg" }); - } - DateTime after = DateTime.Now; - TimeSpan diff = after - before; - return ((double)diff.Ticks)/((double)runLength); - } - - override public string Description - { - get { return "log.Debug(new object[] { \"msg\" });"; } - } - } - class ComplexMessage_MethodGuard_Array : TimedTest - { - override public double Run(ILog log, long runLength) - { - DateTime before = DateTime.Now; - for(int i = 0; i < runLength; i++) - { - if(log.IsDebugEnabled) - { - log.Debug(new object[] { "msg" , i , "msg" }); - } - } - DateTime after = DateTime.Now; - TimeSpan diff = after - before; - return ((double)diff.Ticks)/((double)runLength); - } - - override public string Description - { - get { return "if(log.IsDebugEnabled) log.Debug(new object[] { \"msg\" , i , \"msg\" });"; } - } - } - class ComplexMessage_Array : TimedTest - { - override public double Run(ILog log, long runLength) - { - DateTime before = DateTime.Now; - for(int i = 0; i < runLength; i++) - { - log.Debug(new object[] { "msg" , i , "msg" }); - } - DateTime after = DateTime.Now; - TimeSpan diff = after - before; - return ((double)diff.Ticks)/((double)runLength); - } - - override public string Description - { - get { return "log.Debug(new object[] { \"msg\" , i , \"msg\" });"; } - } - } - - #endregion - - #region Tests calling Debug(string) (using class members) - - class ComplexMessage_MemberGuard_Bare : TimedTest - { - override public double Run(ILog log, long runLength) - { - return (new Impl(log)).Run(runLength); - } - - override public string Description - { - get { return "if(m_isEnabled) m_log.Debug(\"msg\" + i + \"msg\");"; } - } - - class Impl - { - private readonly ILog m_log; - private readonly bool m_isEnabled; - - public Impl(ILog log) - { - m_log = log; - m_isEnabled = m_log.IsDebugEnabled; - } - - public double Run(long runLength) - { - - DateTime before = DateTime.Now; - for(int i = 0; i < runLength; i++) - { - if(m_isEnabled) - { - m_log.Debug("msg" + i + "msg"); - } - } - DateTime after = DateTime.Now; - TimeSpan diff = after - before; - return ((double)diff.Ticks)/((double)runLength); - } - } - } - class SimpleMessage_LocalGuard_Bare : TimedTest - { - override public double Run(ILog log, long runLength) - { - bool isEnabled = log.IsDebugEnabled; - - DateTime before = DateTime.Now; - for(int i = 0; i < runLength; i++) - { - if (isEnabled) log.Debug("msg"); - } - DateTime after = DateTime.Now; - TimeSpan diff = after - before; - return ((double)diff.Ticks)/((double)runLength); - } - - override public string Description - { - get { return "if (isEnabled) log.Debug(\"msg\");"; } - } - } - class SimpleMessage_MethodGuard_Bare : TimedTest - { - override public double Run(ILog log, long runLength) - { - DateTime before = DateTime.Now; - for(int i = 0; i < runLength; i++) - { - if (log.IsDebugEnabled) log.Debug("msg"); - } - DateTime after = DateTime.Now; - TimeSpan diff = after - before; - return ((double)diff.Ticks)/((double)runLength); - } - - override public string Description - { - get { return "if (log.IsDebugEnabled) log.Debug(\"msg\");"; } - } - } - class ComplexMessage_LocalGuard_Bare : TimedTest - { - override public double Run(ILog log, long runLength) - { - bool isEnabled = log.IsDebugEnabled; - - DateTime before = DateTime.Now; - for(int i = 0; i < runLength; i++) - { - if(isEnabled) log.Debug("msg" + i + "msg"); - } - DateTime after = DateTime.Now; - TimeSpan diff = after - before; - return ((double)diff.Ticks)/((double)runLength); - } - - override public string Description - { - get { return "if (isEnabled) log.Debug(\"msg\" + i + \"msg\");"; } - } - } - #endregion - -} diff --git a/examples/mono/1.0/Performance/NotLogging/nant.build b/examples/mono/1.0/Performance/NotLogging/nant.build deleted file mode 100644 index 59179243..00000000 --- a/examples/mono/1.0/Performance/NotLogging/nant.build +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - diff --git a/examples/mono/1.0/Performance/NotLogging/nant.config b/examples/mono/1.0/Performance/NotLogging/nant.config deleted file mode 100644 index ba0a7243..00000000 --- a/examples/mono/1.0/Performance/NotLogging/nant.config +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - diff --git a/examples/mono/1.0/Performance/nant.build b/examples/mono/1.0/Performance/nant.build deleted file mode 100644 index 50cad4a2..00000000 --- a/examples/mono/1.0/Performance/nant.build +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - diff --git a/examples/mono/1.0/Performance/nant.config b/examples/mono/1.0/Performance/nant.config deleted file mode 100644 index ba0a7243..00000000 --- a/examples/mono/1.0/Performance/nant.config +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - diff --git a/examples/mono/1.0/Repository/SharedModule/cs/nant.build b/examples/mono/1.0/Repository/SharedModule/cs/nant.build deleted file mode 100644 index 36fce7f9..00000000 --- a/examples/mono/1.0/Repository/SharedModule/cs/nant.build +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/mono/1.0/Repository/SharedModule/cs/nant.config b/examples/mono/1.0/Repository/SharedModule/cs/nant.config deleted file mode 100644 index 52613e83..00000000 --- a/examples/mono/1.0/Repository/SharedModule/cs/nant.config +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - diff --git a/examples/mono/1.0/Repository/SharedModule/cs/src/AssemblyInfo.cs b/examples/mono/1.0/Repository/SharedModule/cs/src/AssemblyInfo.cs deleted file mode 100644 index ee756423..00000000 --- a/examples/mono/1.0/Repository/SharedModule/cs/src/AssemblyInfo.cs +++ /dev/null @@ -1,61 +0,0 @@ -#region Apache License -// -// Licensed to the Apache Software Foundation (ASF) under one or more -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The ASF licenses this file to you under the Apache License, Version 2.0 -// (the "License"); you may not use this file except in compliance with -// the License. You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("log4net - SharedModule")] -[assembly: AssemblyDescription("log4net SharedModule")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyProduct("log4net - SharedModule")] -[assembly: AssemblyCulture("")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project output directory which is -// %Project Directory%\obj\. For example, if your KeyFile is -// located in the project directory, you would specify the AssemblyKeyFile -// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] diff --git a/examples/mono/1.0/Repository/SharedModule/cs/src/Math.cs b/examples/mono/1.0/Repository/SharedModule/cs/src/Math.cs deleted file mode 100644 index 64211dc3..00000000 --- a/examples/mono/1.0/Repository/SharedModule/cs/src/Math.cs +++ /dev/null @@ -1,42 +0,0 @@ -#region Apache License -// -// Licensed to the Apache Software Foundation (ASF) under one or more -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The ASF licenses this file to you under the Apache License, Version 2.0 -// (the "License"); you may not use this file except in compliance with -// the License. You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -namespace SharedModule -{ - /// - /// Summary description for Math. - /// - public class Math - { - // Create a logger for use in this class - private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); - - public Math() - { - if (log.IsDebugEnabled) log.Debug("Constructor"); - } - - public int Subtract(int left, int right) - { - int result = left - right; - if (log.IsInfoEnabled) log.Info(""+left+" - "+right+" = "+result); - return result; - } - } -} diff --git a/examples/mono/1.0/Repository/SharedModule/nant.build b/examples/mono/1.0/Repository/SharedModule/nant.build deleted file mode 100644 index a11e9cd2..00000000 --- a/examples/mono/1.0/Repository/SharedModule/nant.build +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - diff --git a/examples/mono/1.0/Repository/SharedModule/nant.config b/examples/mono/1.0/Repository/SharedModule/nant.config deleted file mode 100644 index ba0a7243..00000000 --- a/examples/mono/1.0/Repository/SharedModule/nant.config +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - diff --git a/examples/mono/1.0/Repository/SimpleApp/cs/nant.build b/examples/mono/1.0/Repository/SimpleApp/cs/nant.build deleted file mode 100644 index 40688e33..00000000 --- a/examples/mono/1.0/Repository/SimpleApp/cs/nant.build +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/mono/1.0/Repository/SimpleApp/cs/nant.config b/examples/mono/1.0/Repository/SimpleApp/cs/nant.config deleted file mode 100644 index 52613e83..00000000 --- a/examples/mono/1.0/Repository/SimpleApp/cs/nant.config +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - diff --git a/examples/mono/1.0/Repository/SimpleApp/cs/src/App.config b/examples/mono/1.0/Repository/SimpleApp/cs/src/App.config deleted file mode 100644 index 10a5b298..00000000 --- a/examples/mono/1.0/Repository/SimpleApp/cs/src/App.config +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - diff --git a/examples/mono/1.0/Repository/SimpleApp/cs/src/AssemblyInfo.cs b/examples/mono/1.0/Repository/SimpleApp/cs/src/AssemblyInfo.cs deleted file mode 100644 index cc3415de..00000000 --- a/examples/mono/1.0/Repository/SimpleApp/cs/src/AssemblyInfo.cs +++ /dev/null @@ -1,61 +0,0 @@ -#region Apache License -// -// Licensed to the Apache Software Foundation (ASF) under one or more -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The ASF licenses this file to you under the Apache License, Version 2.0 -// (the "License"); you may not use this file except in compliance with -// the License. You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("log4net - SimpleApp")] -[assembly: AssemblyDescription("log4net SimpleApp")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyProduct("log4net - SimpleApp")] -[assembly: AssemblyCulture("")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project output directory which is -// %Project Directory%\obj\. For example, if your KeyFile is -// located in the project directory, you would specify the AssemblyKeyFile -// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] diff --git a/examples/mono/1.0/Repository/SimpleApp/cs/src/EntryPoint.cs b/examples/mono/1.0/Repository/SimpleApp/cs/src/EntryPoint.cs deleted file mode 100644 index a2a9f359..00000000 --- a/examples/mono/1.0/Repository/SimpleApp/cs/src/EntryPoint.cs +++ /dev/null @@ -1,80 +0,0 @@ -#region Apache License -// -// Licensed to the Apache Software Foundation (ASF) under one or more -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The ASF licenses this file to you under the Apache License, Version 2.0 -// (the "License"); you may not use this file except in compliance with -// the License. You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -// Configure logging for this assembly using the 'SimpleApp.exe.log4net' file -[assembly: log4net.Config.XmlConfigurator(ConfigFileExtension="log4net", Watch=true)] - -// The following alias attribute can be used to capture the logging -// repository for the 'SimpleModule' assembly. Without specifying this -// attribute the logging configuration for the 'SimpleModule' assembly -// will be read from the 'SimpleModule.dll.log4net' file. When this -// attribute is specified the configuration will be shared with this -// assemby's configuration. -//[assembly: log4net.Config.AliasRepository("SimpleModule")] - -namespace SimpleApp -{ - using System; - - /// - /// Summary description for Class1. - /// - class EntryPoint - { - // Create a logger for use in this class - private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); - - /// - /// The main entry point for the application. - /// - [STAThread] - static void Main(string[] args) - { - if (log.IsInfoEnabled) log.Info(args); - - if (args.Length != 2) - { - log.Error("Must supply 2 command line arguments"); - } - else - { - int left = int.Parse(args[0]); - int right = int.Parse(args[1]); - int result = 0; - - if (log.IsDebugEnabled) log.Debug("Adding ["+left+"] to ["+right+"]"); - - result = (new SimpleModule.Math()).Add(left, right); - - if (log.IsDebugEnabled) log.Debug("Result ["+result+"]"); - - Console.Out.WriteLine(result); - - - if (log.IsDebugEnabled) log.Debug("Subtracting ["+right+"] from ["+left+"]"); - - result = (new SharedModule.Math()).Subtract(left, right); - - if (log.IsDebugEnabled) log.Debug("Result ["+result+"]"); - - Console.Out.WriteLine(result); - } - } - } -} diff --git a/examples/mono/1.0/Repository/SimpleApp/cs/src/SimpleApp.exe.log4net b/examples/mono/1.0/Repository/SimpleApp/cs/src/SimpleApp.exe.log4net deleted file mode 100644 index ffef9585..00000000 --- a/examples/mono/1.0/Repository/SimpleApp/cs/src/SimpleApp.exe.log4net +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/examples/mono/1.0/Repository/SimpleApp/nant.build b/examples/mono/1.0/Repository/SimpleApp/nant.build deleted file mode 100644 index d92e4c5b..00000000 --- a/examples/mono/1.0/Repository/SimpleApp/nant.build +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - diff --git a/examples/mono/1.0/Repository/SimpleApp/nant.config b/examples/mono/1.0/Repository/SimpleApp/nant.config deleted file mode 100644 index ba0a7243..00000000 --- a/examples/mono/1.0/Repository/SimpleApp/nant.config +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - diff --git a/examples/mono/1.0/Repository/SimpleModule/cs/nant.build b/examples/mono/1.0/Repository/SimpleModule/cs/nant.build deleted file mode 100644 index 9ee2cbeb..00000000 --- a/examples/mono/1.0/Repository/SimpleModule/cs/nant.build +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/mono/1.0/Repository/SimpleModule/cs/nant.config b/examples/mono/1.0/Repository/SimpleModule/cs/nant.config deleted file mode 100644 index 52613e83..00000000 --- a/examples/mono/1.0/Repository/SimpleModule/cs/nant.config +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - diff --git a/examples/mono/1.0/Repository/SimpleModule/cs/src/AssemblyInfo.cs b/examples/mono/1.0/Repository/SimpleModule/cs/src/AssemblyInfo.cs deleted file mode 100644 index 1c32a350..00000000 --- a/examples/mono/1.0/Repository/SimpleModule/cs/src/AssemblyInfo.cs +++ /dev/null @@ -1,61 +0,0 @@ -#region Apache License -// -// Licensed to the Apache Software Foundation (ASF) under one or more -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The ASF licenses this file to you under the Apache License, Version 2.0 -// (the "License"); you may not use this file except in compliance with -// the License. You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -using System.Reflection; -using System.Runtime.CompilerServices; - -// -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -// -[assembly: AssemblyTitle("log4net - SimpleModule")] -[assembly: AssemblyDescription("log4net SimpleModule")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyProduct("log4net - SimpleModule")] -[assembly: AssemblyCulture("")] - -// -// In order to sign your assembly you must specify a key to use. Refer to the -// Microsoft .NET Framework documentation for more information on assembly signing. -// -// Use the attributes below to control which key is used for signing. -// -// Notes: -// (*) If no key is specified, the assembly is not signed. -// (*) KeyName refers to a key that has been installed in the Crypto Service -// Provider (CSP) on your machine. KeyFile refers to a file which contains -// a key. -// (*) If the KeyFile and the KeyName values are both specified, the -// following processing occurs: -// (1) If the KeyName can be found in the CSP, that key is used. -// (2) If the KeyName does not exist and the KeyFile does exist, the key -// in the KeyFile is installed into the CSP and used. -// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. -// When specifying the KeyFile, the location of the KeyFile should be -// relative to the project output directory which is -// %Project Directory%\obj\. For example, if your KeyFile is -// located in the project directory, you would specify the AssemblyKeyFile -// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] -// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework -// documentation for more information on this. -// -[assembly: AssemblyDelaySign(false)] -[assembly: AssemblyKeyFile("")] -[assembly: AssemblyKeyName("")] diff --git a/examples/mono/1.0/Repository/SimpleModule/cs/src/Math.cs b/examples/mono/1.0/Repository/SimpleModule/cs/src/Math.cs deleted file mode 100644 index 3c01a792..00000000 --- a/examples/mono/1.0/Repository/SimpleModule/cs/src/Math.cs +++ /dev/null @@ -1,49 +0,0 @@ -#region Apache License -// -// Licensed to the Apache Software Foundation (ASF) under one or more -// contributor license agreements. See the NOTICE file distributed with -// this work for additional information regarding copyright ownership. -// The ASF licenses this file to you under the Apache License, Version 2.0 -// (the "License"); you may not use this file except in compliance with -// the License. You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// -#endregion - -// We want this assembly to have a seperate logging repository to the -// rest of the application. We will configure this repository seperatly. -[assembly: log4net.Config.Repository("SimpleModule")] - -// Configure logging for this assembly using the 'SimpleModule.dll.log4net' file -[assembly: log4net.Config.XmlConfigurator(ConfigFileExtension="log4net", Watch=true)] - -namespace SimpleModule -{ - /// - /// Summary description for Math. - /// - public class Math - { - // Create a logger for use in this class - private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); - - public Math() - { - if (log.IsDebugEnabled) log.Debug("Constructor"); - } - - public int Add(int left, int right) - { - int result = left + right; - if (log.IsInfoEnabled) log.Info(""+left+" + "+right+" = "+result); - return result; - } - } -} diff --git a/examples/mono/1.0/Repository/SimpleModule/cs/src/SimpleModule.dll.log4net b/examples/mono/1.0/Repository/SimpleModule/cs/src/SimpleModule.dll.log4net deleted file mode 100644 index cd01ae19..00000000 --- a/examples/mono/1.0/Repository/SimpleModule/cs/src/SimpleModule.dll.log4net +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/examples/mono/1.0/Repository/SimpleModule/nant.build b/examples/mono/1.0/Repository/SimpleModule/nant.build deleted file mode 100644 index 614f891f..00000000 --- a/examples/mono/1.0/Repository/SimpleModule/nant.build +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - diff --git a/examples/mono/1.0/Repository/SimpleModule/nant.config b/examples/mono/1.0/Repository/SimpleModule/nant.config deleted file mode 100644 index ba0a7243..00000000 --- a/examples/mono/1.0/Repository/SimpleModule/nant.config +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - diff --git a/examples/mono/1.0/Repository/nant.build b/examples/mono/1.0/Repository/nant.build deleted file mode 100644 index 27c3394a..00000000 --- a/examples/mono/1.0/Repository/nant.build +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - diff --git a/examples/mono/1.0/Repository/nant.config b/examples/mono/1.0/Repository/nant.config deleted file mode 100644 index ba0a7243..00000000 --- a/examples/mono/1.0/Repository/nant.config +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - diff --git a/examples/mono/1.0/Tutorials/ConsoleApp/cs/nant.build b/examples/mono/1.0/Tutorials/ConsoleApp/cs/nant.build deleted file mode 100644 index c88e310d..00000000 --- a/examples/mono/1.0/Tutorials/ConsoleApp/cs/nant.build +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/mono/1.0/Tutorials/ConsoleApp/cs/nant.config b/examples/mono/1.0/Tutorials/ConsoleApp/cs/nant.config deleted file mode 100644 index 2be781bc..00000000 --- a/examples/mono/1.0/Tutorials/ConsoleApp/cs/nant.config +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - diff --git a/examples/mono/1.0/Tutorials/ConsoleApp/cs/src/App.config b/examples/mono/1.0/Tutorials/ConsoleApp/cs/src/App.config deleted file mode 100644 index 93ce6110..00000000 --- a/examples/mono/1.0/Tutorials/ConsoleApp/cs/src/App.config +++ /dev/null @@ -1,208 +0,0 @@ - - - - - - - -
- - - - - - - - - - - - - - - - - -
-