diff --git a/.circleci/config.yml b/.circleci/config.yml
deleted file mode 100644
index fd065743..00000000
--- a/.circleci/config.yml
+++ /dev/null
@@ -1,17 +0,0 @@
- version: 2.1
-
- orbs:
- win: circleci/windows@2.2.0
-
- jobs:
- build:
- executor: win/default
-
- steps:
- - checkout
- - run: npm ci --no-progress
- - run: npm run dump-env
- - run: npm test
- - run: npm run release
- - store_artifacts:
- path: build/package/log4net.2.0.9.nupkg
diff --git a/build-with-docker-for-windows.bat b/build-with-docker-for-windows.bat
index 9e642de0..a5cdf9c1 100644
--- a/build-with-docker-for-windows.bat
+++ b/build-with-docker-for-windows.bat
@@ -1 +1 @@
-docker run -v %~dp0%:C:\dev -v %USERPROFILE%\.nuget\packages:C:\packages -t davydm/net-build-tools:vs2019 "npm ci; npm run build"
+docker run -v %~dp0%:C:\dev -v %USERPROFILE%\.nuget\packages:C:\packages -t davydm/net-build-tools:vs2019 "npm ci && npm run build"
diff --git a/local-tasks/zip.js b/local-tasks/zip.js
index f7dff550..16911c83 100644
--- a/local-tasks/zip.js
+++ b/local-tasks/zip.js
@@ -2,13 +2,41 @@ const
gulp = requireModule("gulp-with-help"),
promisify = requireModule("promisify-stream"),
readNuspecVersion = requireModule("read-nuspec-version"),
+ target = "build/artifacts",
zip = require("gulp-zip");
-gulp.task("zip", async () => {
- const version = await readNuspecVersion("log4net.nuspec");
+gulp.task("zip", [ "zip-binaries", "zip-source"], () => Promise.resolve());
+
+gulp.task("zip-binaries", async () => {
+ const version = await readVersion();
return promisify(
gulp.src("build/Release/**/*")
.pipe(zip(`log4net-binaries-${version}.zip`))
- .pipe(gulp.dest("build/artifacts"))
+ .pipe(gulp.dest(target))
);
-});
\ No newline at end of file
+});
+
+gulp.task("zip-source", async () => {
+ const version = await readVersion();
+ return promisify(
+ gulp.src([
+ "**/*",
+ "!**/obj/**/*",
+ "!**/bin/**/*",
+ "!node_modules",
+ "!node_modules/**/*",
+ "!build-tools",
+ "!build-tools/**/*",
+ "!build",
+ "!build/**/*",
+ "!.idea",
+ "!.idea/**/*"
+ ])
+ .pipe(zip(`log4net-source-${version}.zip`))
+ .pipe(gulp.dest(target))
+ );
+});
+
+function readVersion() {
+ return readNuspecVersion("log4net.nuspec");
+}
\ No newline at end of file
diff --git a/src/log4net/log4net.xml b/src/log4net/log4net.xml
index 60428c56..21948bb5 100644
--- a/src/log4net/log4net.xml
+++ b/src/log4net/log4net.xml
@@ -2399,7 +2399,7 @@
- The default encoding set is
+ The default encoding set is
which is the encoding for the system's current ANSI code page.
@@ -7191,9 +7191,9 @@
If set the property takes priority over the
property. The property
specifies a path to a file to load the config from. The path is relative to the
- application's base directory; .
+ application's base directory; .
The property is used as a postfix to the assembly file name.
- The config file must be located in the application's base directory; .
+ The config file must be located in the application's base directory; .
For example in a console application setting the to
config has the same effect as not specifying the or
properties.
@@ -7241,7 +7241,7 @@
If specified, this is the name of the configuration file to use with
the . This file path is relative to the
- application base directory ().
+ application base directory ().
The takes priority over the .
@@ -7259,7 +7259,7 @@
If specified this is the extension for the configuration file.
The path to the config file is built by using the application
- base directory (),
+ base directory (),
the assembly file name and the config file extension.
@@ -9568,7 +9568,7 @@
- This type extends . It
+ This type extends . It
does not add any new functionality but does differentiate the
type of exception being thrown.
@@ -10104,13 +10104,13 @@
- Called when the event fires
+ Called when the event fires
- the that is exiting
+ the that is exiting
null
- Called when the event fires.
+ Called when the event fires.
When the event is triggered the log4net system is .
@@ -10119,13 +10119,13 @@
- Called when the event fires
+ Called when the event fires
- the that is exiting
+ the that is exiting
null
- Called when the event fires.
+ Called when the event fires.
When the event is triggered the log4net system is .
@@ -17281,8 +17281,8 @@
Format the and write it to the .
- This method creates an that writes to the
- . The is passed
+ This method creates an that writes to the
+ . The is passed
to the method. Subclasses should override the
method rather than this method.
@@ -17408,7 +17408,7 @@
The requires a link time
for the
- .
+ .
If the calling code does not have this permission then this context will be disabled.
It will not store any property values set on it.
@@ -20389,7 +20389,7 @@
the string key to optimize comparisons.
- The Compact Framework 1.0 the
+ The Compact Framework 1.0 the
method does not work. On the Compact Framework
the string keys are not interned nor are they
compared by reference.
@@ -23737,7 +23737,7 @@
The requires a link time
for the
- .
+ .
If the calling code does not have this permission then this context will be disabled.
It will not store any property values set on it.
@@ -27244,12 +27244,12 @@
- Gets the base directory for this .
+ Gets the base directory for this .
- The base directory path for the current .
+ The base directory path for the current .
- Gets the base directory for this .
+ Gets the base directory for this .
The value returned may be either a local file path or a URI.
@@ -27258,9 +27258,9 @@
- Gets the path to the configuration file for the current .
+ Gets the path to the configuration file for the current .
- The path to the configuration file for the current .
+ The path to the configuration file for the current .
The .NET Compact Framework 1.0 does not have a concept of a configuration
@@ -27274,12 +27274,12 @@
- Gets the path to the file that first executed in the current .
+ Gets the path to the file that first executed in the current .
The path to the entry assembly.
- Gets the path to the file that first executed in the current .
+ Gets the path to the file that first executed in the current .
@@ -28399,7 +28399,7 @@
- This type extends . It
+ This type extends . It
does not add any new functionality but does differentiate the
type of exception being thrown.