You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Ron Grabowski (JIRA)" <ji...@apache.org> on 2008/01/10 23:36:34 UTC

[jira] Commented: (LOG4NET-134) SystemInfo.ApplicationBaseDirectory wrong implementation

    [ https://issues.apache.org/jira/browse/LOG4NET-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557823#action_12557823 ] 

Ron Grabowski commented on LOG4NET-134:
---------------------------------------

What version of Visual Studio are you using? It sounds like this is more of MSTest issue:

http://www.ademiller.com/blogs/tech/2008/01/gotchas-mstest-appdomain-changes-in-vs-2008/

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=299578

The code in ApplicationBaseDirectory has been the same since 2004.

> SystemInfo.ApplicationBaseDirectory wrong implementation
> --------------------------------------------------------
>
>                 Key: LOG4NET-134
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-134
>             Project: Log4net
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.10
>            Reporter: Manuel Riezebosch
>
> For the ApplicationBaseDirectory is used the AppDomain.CurrentDomain.BaseDirectory, where Environment.CurrentDirectory seems to be more appropriate. When using MSTest, the first returns the working directory of MSTest instead of the directory where the tested assembly is located.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.