The general dead giveaway for me is the use of the phrase "C# v application" where v is either 2008 or 2010. They also tend to like to use "console application" and "windows service" a lot, as well. They always seem to end the post with the same general question.
"Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus
I am getting the following warning and error message for a C# 2008 application I am working on:
Warning 17 The predefined type 'System.Runtime.CompilerServices.ExtensionAttribute' is defined in multiple assemblies in the global alias; using definition from 'c:\Program Files (x86)\NLog\.NET Framework 2.0\NLog.dll' sample
Error 21 The type or namespace name 'Nlog' could not be found (are you missing a using directive or an assembly reference?) C:\Sample.cs 15 7 samplef
I am getting this error message since I am trying to add the NLog open source tool to the solution file for 3 different project files in this solution.
I am completing the following task:
1. I add a reference to this dll in the references section of each proejct file.
2. I then place a 'using NLog' statment in each proejct file.
Can you show me code and/or tell me how to fix this problem?
is it possible to know my password using MAPI in c#
Maybe if I put it another way. NO! It would be a massive security hole if you could. Massive as in the press would be screaming for someone's head. Questions would be asked by governments. The world will tilt off its axis. NO!!!
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
I am getting the error message,"Error 19 'LogManager' is an ambiguous reference between 'Common.Logging.LogManager' and 'NLog.LogManager'".
In a C# 2008 application I am trying to add nlog open source logging tool to an application that is already using common.logging that was obtained from the following location: http://netcommon.sourceforge.net.
I have added a reference to the NLog file and I have added the Nlog to the using statement.
The problem is both tools use an object called 'LogManager'.
Thus can you tell me how to solve my problem so I can use both Logmanagers.
The following is my code listed below:
public class Etest
private static Logger logger = LogManager.GetCurrentClassLogger();
private static ILog log = LogManager.GetCurrentClassLogger();
Last Visit: 31-Dec-99 19:00 Last Update: 21-Jan-17 21:57