Found the issue its appears nugget was causing the problem...i have removed nugget to resolve the issue and might re-install it if i have the courage.
Thanks for you help -----Original Message----- From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Mark Hurd Sent: Monday, 19 November 2012 6:08 PM To: ozDotNet Subject: Re: Help..reference not working.. You've built Common.dll with the 4.0 framework DLLs. Note you may have done this with the 3.5 compiler, if your settings were adjusted that way at the time. You'll have to rebuild it with the 3.5/2.0 framework. -- Regards, Mark Hurd, B.Sc.(Ma.)(Hons.) On 19 November 2012 16:50, <ifum...@gmail.com> wrote: > I have class project that i use everywhere but some of the projects > that are using it as a project reference will not compile anymore. > > > > Project is sba.common > > > > Says 'common' is not a member of 'sba' > > > > When i look at the build log..i can see that it is trying to use > framework 4 when all the projects i am using are set to 3.5 > framework....anyone see anything obvious? > > > > C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360, 9): > warning MSB3258: The primary reference "C:\Common.dll" could not be > resolved because it has an indirect dependency on the .NET Framework > assembly "System.Security, Version=4.0.0.0, Culture=neutral, > PublicKeyToken=b03f5f7f11d50a3a" which has a higher version "4.0.0.0" > than the version "2.0.0.0" in the current target framework. > > > CoreCompile: > > C:\Windows\Microsoft.NET\Framework\v4.0.30319\Vbc.exe /noconfig > /baseaddress:11000000 /imports:Mic > > > Anthony >