Click here to Skip to main content
   

C#

 
GeneralRe: C# clear out global cache PinmembercptKoala14-Nov-12 23:12 
GeneralRe: C# clear out global cache PinmemberPaul Conrad15-Nov-12 8:52 
GeneralRe: C# clear out global cache PinprotectorPete O'Hanlon15-Nov-12 9:39 
Questionpredefined type 'xxx' is defined in multiple assemblies in the global alias Pinmembersc steinhayse14-Nov-12 6:23 
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?
QuestionRe: predefined type 'xxx' is defined in multiple assemblies in the global alias Pinmembern.podbielski14-Nov-12 7:20 
QuestionConversion of HTML file into TIFF file [modified] Pinmemberukraju14-Nov-12 2:25 
AnswerRe: Conversion of HTML file into TIFF file PinmvpRichard MacCutchan14-Nov-12 2:39 
GeneralRe: Conversion of HTML file into TIFF file Pinmemberukraju14-Nov-12 2:43 
GeneralRe: Conversion of HTML file into TIFF file PinmvpDave Kreskowiak14-Nov-12 2:52 
GeneralRe: Conversion of HTML file into TIFF file PinmemberBobJanova14-Nov-12 5:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150302.1 | Last Updated 4 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid