Click here to Skip to main content
13,344,287 members (49,427 online)
   

C#

 
AnswerRe: Array, Struct, Class??? I'm so confused.... Pin
Richard MacCutchan15-Nov-12 8:06
mvpRichard MacCutchan15-Nov-12 8:06 
AnswerRe: Array, Struct, Class??? I'm so confused.... Pin
BobJanova16-Nov-12 1:16
memberBobJanova16-Nov-12 1:16 
QuestionWind Chill Automation with C# application Pin
omisheikh15-Nov-12 7:03
memberomisheikh15-Nov-12 7:03 
AnswerRe: Wind Chill Automation with C# application Pin
jschell15-Nov-12 9:12
memberjschell15-Nov-12 9:12 
GeneralRe: Wind Chill Automation with C# application Pin
omisheikh16-Nov-12 4:25
memberomisheikh16-Nov-12 4:25 
GeneralRe: Wind Chill Automation with C# application Pin
jschell17-Nov-12 6:40
memberjschell17-Nov-12 6:40 
GeneralRe: Wind Chill Automation with C# application Pin
omisheikh18-Nov-12 22:00
memberomisheikh18-Nov-12 22:00 
QuestionC# clear out global cache Pin
dcof14-Nov-12 8:52
memberdcof14-Nov-12 8:52 
I am getting an error in a C# 2008 application since I am trying to add the NLog open source tool to 2 different solution files.

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 solution file.

No matter what I do, I can not remove 'System.Runtime.CompilerServices.ExtensionAttribute' is defined in multiple assemblies in the global alias;

Can you show me code and/or tell me how to fix this problem?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 sample
AnswerRe: C# clear out global cache Pin
jschell14-Nov-12 9:00
memberjschell14-Nov-12 9:00 
AnswerRe: C# clear out global cache Pin
Pete O'Hanlon14-Nov-12 12:00
protectorPete O'Hanlon14-Nov-12 12:00 
GeneralRe: C# clear out global cache Pin
cptKoala14-Nov-12 22:50
membercptKoala14-Nov-12 22:50 
GeneralRe: C# clear out global cache Pin
Pete O'Hanlon14-Nov-12 23:07
protectorPete O'Hanlon14-Nov-12 23:07 
GeneralRe: C# clear out global cache Pin
cptKoala14-Nov-12 23:12
membercptKoala14-Nov-12 23:12 
GeneralRe: C# clear out global cache Pin
Paul Conrad15-Nov-12 8:52
memberPaul Conrad15-Nov-12 8:52 
GeneralRe: C# clear out global cache Pin
Pete O'Hanlon15-Nov-12 9:39
protectorPete O'Hanlon15-Nov-12 9:39 
QuestionConversion of HTML file into TIFF file Pin
ukraju14-Nov-12 2:25
memberukraju14-Nov-12 2:25 
AnswerRe: Conversion of HTML file into TIFF file Pin
Richard MacCutchan14-Nov-12 2:39
mvpRichard MacCutchan14-Nov-12 2:39 
GeneralRe: Conversion of HTML file into TIFF file Pin
ukraju14-Nov-12 2:43
memberukraju14-Nov-12 2:43 
GeneralRe: Conversion of HTML file into TIFF file Pin
Dave Kreskowiak14-Nov-12 2:52
mvpDave Kreskowiak14-Nov-12 2:52 
GeneralRe: Conversion of HTML file into TIFF file Pin
BobJanova14-Nov-12 5:45
memberBobJanova14-Nov-12 5:45 
QuestionGet outlook password Pin
Sanjeev991813-Nov-12 21:32
memberSanjeev991813-Nov-12 21:32 
AnswerRe: Get outlook password Pin
Pete O'Hanlon13-Nov-12 21:46
protectorPete O'Hanlon13-Nov-12 21:46 
GeneralRe: Get outlook password Pin
Sanjeev991813-Nov-12 21:49
memberSanjeev991813-Nov-12 21:49 
GeneralRe: Get outlook password Pin
n.podbielski13-Nov-12 22:04
membern.podbielski13-Nov-12 22:04 
GeneralRe: Get outlook password Pin
Pete O'Hanlon13-Nov-12 23:04
protectorPete O'Hanlon13-Nov-12 23:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    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 |
Web01 | 2.8.180111.1 | Last Updated 16 Jan 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid