Click here to Skip to main content
11,487,406 members (68,849 online)
   

C#

 
GeneralRe: Get integer variable from datalist textbox for entry into SQL Pin
rajeshkasani0514-Nov-12 23:55
memberrajeshkasani0514-Nov-12 23:55 
GeneralRe: Get integer variable from datalist textbox for entry into SQL Pin
Member 959997515-Nov-12 3:25
memberMember 959997515-Nov-12 3:25 
GeneralRe: Get integer variable from datalist textbox for entry into SQL Pin
Richard MacCutchan15-Nov-12 4:21
mvpRichard MacCutchan15-Nov-12 4:21 
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 [modified] 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 

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
Web01 | 2.8.150520.1 | Last Updated 26 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid