[ 
http://issues.apache.org/jira/browse/LOG4NET-88?page=comments#action_12427146 ] 
            
Nicko Cadell commented on LOG4NET-88:
-------------------------------------

When you upload an attachment there is a pair of radio buttons just under the 
file browser. I believe that you are forced to select one of the two options: 
Grant/Don't Grant.

We only have a project file for .NET 1.0 because the newer release of 
VisualStudio can upgrade the project from that format, and this gives us less 
to maintain. However there are a few manual steps that need to be done after 
the automatic upgrade: change the pre-processor definitions, change the 
referenced assemblies. These are documented in 
http://logging.apache.org/log4net/release/building.html, but that may not be 
obvious.

The .NET 2.0 builds already require the System.Configuration.dll.

The build system uses NAnt to actually do the builds for each platform. The 
project file is not a critical part of the build process. For this change the 
build files don't need updating.

> [PATCH] to AdoNetAppender.cs to support .NET 2.0 connectionStrings 
> configuration section
> ----------------------------------------------------------------------------------------
>
>                 Key: LOG4NET-88
>                 URL: http://issues.apache.org/jira/browse/LOG4NET-88
>             Project: Log4net
>          Issue Type: Improvement
>          Components: Appenders
>    Affects Versions: 1.2.10
>         Environment: Windows XP .NET 2.0
>            Reporter: Haacked
>         Attachments: AdoNetAppenderConnectionStringName.patch
>
>
> This is a patch for [LOG4NET-78] 
> https://issues.apache.org/jira/browse/LOG4NET-78.  This adds a new 
> "connectionStringName" attribute (and corresponding ConnectionStringName) 
> property to the AdoNetAppender class.  This is a reference to a connection 
> string within the <ConnectionStrings> section of an App.config or Web.config 
> file.
> The choice of name "connectionStringName" is consistent with the naming that 
> Microsoft uses in the various Providers such as SqlMembershipProvider.
> I made sure to put this code in between #if NET_2_0 blocks. However, the 
> patch does not include the required change to the log4net.csproj file which 
> needs to reference the System.Configuration.dll 
> (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.configuration.dll) 
> assembly.  
> This is a .NET 2.0 only assembly so I was unsure how to add a conditional 
> compilation element so that the project reference would not break log4net for 
> .NET 1.0 and .NET 1.1.  
> If there is a better way to do so, please let me know!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to