Code Red => .NET => Topic started by: BillZndl on August 27, 2014, 02:29:10 PM
Title: Compiler Error. System.Action
Post by: BillZndl on August 27, 2014, 02:29:10 PM
VS 2010 Express, Acad r2012 .net 4.0
Quote
The type 'System.Action' exists in both 'C:\Program Files\Autodesk\AutoCAD 2012 - English\System.Core.dll' and 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll'
Won't compile. I'm trying to use a progress bar from another thread.
I see lots of questions on line similar to this but can't find an answer. Happens when I try to use System.Action. One suggestion was to use LinqBridge but that says it's for net 2.0.
Title: Re: Compiler Error. System.Action
Post by: BillZndl on August 27, 2014, 02:45:14 PM
Removed the reference path "'C:\Program Files\Autodesk\AutoCAD 2012 - English\" from the Project Properties and it went away. :? That may have been left over from copying up some old COM projects. :blank: