How to resolve this .Net 3.5 warning / error?

I have three cars. one installed VS2008, two more installed SDK6 and Framework3.5 (one of them is a collector).

When I use MSBuild to create our application, they all receive this warning:

C: \ WINDOWS \ Microsoft.NET \ Framework \ v3.5 \ Microsoft.Common.targets: warning MSB3245: This link could not be resolved. Could not find assembly "WPFToolkit, Version = 3.5.40128.1, Culture = neutral, PublicKeyToken = 31bf3856ad364e35". Make sure the assembly exists on disk. If this link is required for your code, you may get compilation errors.

and the build machine contains 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 accepts arguments' 1 "scsm \ SCSM.cs (304,13): error CS1501: No overload for the method 'Invoke' accepts '1' arguments scsm \ SCSM.cs (314,13): error CS1501: no overload for the method Invoke accepts arguments "1" scsm \ SCSM.cs (317,13): error CS1501: No overload for the Invoke method takes '1' arguments scsm \ SCSM.cs (323,17): error CS1501: no overload for the Invoke method "accepts arguments" 1 "scsm \ SCSM.cs (324.17): error CS1501: No overload for method 'Invoke' accepts '1' arguments scsm \ S CSM.cs (325.17): Error CS1501:no overload for method "Invoke" accepts arguments "1"

. .

, . - ?

+3
3

"WPFToolkit, Version = 3.5.40128.1, Culture = neutral, PublicKeyToken = 31bf3856ad364e35".

WPFToolkit .NET Framework, , .

WPFToolkit-DLL - , ? ( - , , GAC)


scsm\SCSM.cs(325,17): CS1501: 'Invoke' '1'

, , SP1 .NET Framework 3.5.

EDIT: , , . Dispatcher.Invoke(delegate, params object[] args), , Framework 3.5 SP1, . MSDN :

: 3.5 SP1, 3.0 SP2

+3

, WPF Toolkit. "" " " Visual Studio. , , .

+2

WPFToolkit , this ( ).

Invoke dll; , . ( : ). () .NET 3.5 .NET 3.5 SP1 ( ), , .

0

Source: https://habr.com/ru/post/1729141/


All Articles