how to resolve this .Net 3.5 warning/error?

Posted by 5YrsLaterDBA on Stack Overflow See other posts from Stack Overflow or by 5YrsLaterDBA
Published on 2010-01-19T21:30:07Z Indexed on 2010/04/28 20:47 UTC
Read the original article Hit count: 829

Filed under:
|
|

I have three machines. one installed VS2008 another two installed SDK6 and Framework3.5 (one of these two is a build machine).

When I use MSBuild to build our application, all of them get this warning:

C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly "WPFToolkit, Version=3.5.40128.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.

and the build machine comes with some errors:

scsm\SCSM.cs(234,13): error CS1501: No overload for method 'Invoke' takes '1' arguments scsm\SCSM.cs(235,13): error CS1501: No overload for method 'Invoke' takes '1' arguments scsm\SCSM.cs(304,13): error CS1501: No overload for method 'Invoke' takes '1' arguments scsm\SCSM.cs(314,13): error CS1501: No overload for method 'Invoke' takes '1' arguments scsm\SCSM.cs(317,13): error CS1501: No overload for method 'Invoke' takes '1' arguments scsm\SCSM.cs(323,17): error CS1501: No overload for method 'Invoke' takes '1' arguments scsm\SCSM.cs(324,17): error CS1501: No overload for method 'Invoke' takes '1' arguments scsm\SCSM.cs(325,17): error CS1501: No overload for method 'Invoke' takes '1' arguments

but other machines are passed without error. Resources are identical in those three machines.

searched online but cannot find answer. Anybody here can help me resolve this? thanks

© Stack Overflow or respective owner

Related posts about .net-3.5

Related posts about c#