Commit 4b5947b
Changed files (7)
build
product
Gorilla.Commons.Infrastructure.ThirdParty
infrastructure.thirdparty.log4net
build/config/bootstrap.xml
@@ -15,7 +15,7 @@
<Target Name="Bootstrapper">
<GenerateBootstrapper
- ApplicationFile="gorilla.commons.infrastructure.thirdparty.dll.application"
+ ApplicationFile="gorilla.commons.infrastructure.thirdparty.log4net.dll.application"
ApplicationName="My Money by mOKhan.ca"
ApplicationUrl="http://mokhan.ca/GorillaCommons/"
BootstrapperItems="@(BootstrapperFile)"
build/project.deploy.build
@@ -52,6 +52,10 @@
<call target="app.compile" />
<copy file="${build.compile.dir}\${app.output}" tofile="${build.artifacts.dir}\${app.output}" />
+ <property name="app.output" value="gorilla.commons.infrastructure.thirdparty.log4net.dll" />
+ <property name="product.dir" value="${base.dir}\product\infrastructure.thirdparty.log4net" />
+ <call target="app.compile" />
+ <copy file="${build.compile.dir}\${app.output}" tofile="${build.artifacts.dir}\${app.output}" />
<!--
<property name="app.output" value="gorilla.testing.dll" />
<property name="product.dir" value="${base.dir}\product\gorilla.commons.testing" />
product/Gorilla.Commons.Infrastructure.ThirdParty/infrastructure.thirdparty.csproj
@@ -99,8 +99,6 @@
<Compile Include="Castle\Windsor\Configuration\LoggingInterceptor.cs" />
<Compile Include="Castle\Windsor\WindsorExtensions.cs" />
<Compile Include="DependencyRegistration.cs" />
- <Compile Include="Log4Net\Log4NetLogFactory.cs" />
- <Compile Include="Log4Net\Log4NetLogger.cs" />
<Compile Include="Castle\DynamicProxy\ConstraintSelector.cs" />
<Compile Include="Castle\DynamicProxy\InterceptorConstraint.cs" />
<Compile Include="Castle\DynamicProxy\IInterceptorConstraintFactory.cs" />
product/infrastructure.thirdparty.log4net/infrastructure.thirdparty.log4net.csproj
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>9.0.30729</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{6BDCB0C1-51E1-435A-93D8-CA02BF8E409C}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>gorilla.commons.infrastructure.thirdparty.log4net</RootNamespace>
+ <AssemblyName>gorilla.commons.infrastructure.thirdparty.log4net</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\..\build\lib\app\log4net\log4net.dll</HintPath>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Core">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Xml.Linq">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Data.DataSetExtensions">
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
+ </Reference>
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Log4NetLogFactory.cs" />
+ <Compile Include="Log4NetLogger.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\Gorilla.Commons.Infrastructure\infrastructure.csproj">
+ <Project>{AA5EEED9-4531-45F7-AFCD-AD9717D2E405}</Project>
+ <Name>infrastructure</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <Folder Include="Properties\" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
\ No newline at end of file
product/Gorilla.Commons.Infrastructure.ThirdParty/Log4Net/Log4NetLogFactory.cs → product/infrastructure.thirdparty.log4net/Log4NetLogFactory.cs
@@ -19,7 +19,7 @@ namespace gorilla.commons.infrastructure.thirdparty.Log4Net
return new Log4NetLogger(LogManager.GetLogger(type_to_create_logger_for));
}
- private FileInfo PathToConfigFile()
+ FileInfo PathToConfigFile()
{
return new FileInfo(Path.Combine(this.startup_directory(), "log4net.config.xml"));
}
product/Gorilla.Commons.Infrastructure.ThirdParty/Log4Net/Log4NetLogger.cs → product/infrastructure.thirdparty.log4net/Log4NetLogger.cs
File renamed without changes
solution.sln
@@ -11,6 +11,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "build", "build\build.csproj
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "utility", "product\Gorilla.Commons.Utility\utility.csproj", "{DD8FD29E-7424-415C-9BA3-7D9F6ECBA161}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "infrastructure.thirdparty.log4net", "product\infrastructure.thirdparty.log4net\infrastructure.thirdparty.log4net.csproj", "{6BDCB0C1-51E1-435A-93D8-CA02BF8E409C}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -37,6 +39,10 @@ Global
{DD8FD29E-7424-415C-9BA3-7D9F6ECBA161}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DD8FD29E-7424-415C-9BA3-7D9F6ECBA161}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DD8FD29E-7424-415C-9BA3-7D9F6ECBA161}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6BDCB0C1-51E1-435A-93D8-CA02BF8E409C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6BDCB0C1-51E1-435A-93D8-CA02BF8E409C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6BDCB0C1-51E1-435A-93D8-CA02BF8E409C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6BDCB0C1-51E1-435A-93D8-CA02BF8E409C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE