S
shapper
Hello,
I am working with VS 2010 / NET 4.0 to create a simple WPF / C#
application.
I am using the following assemblies:
Microsoft.SqlServer.ConnectionInfo
Microsoft.SqlServer.Management.Sdk.Sfc
Microsoft.SqlServer.Smo
The project builds fine but when I run it I get the following error:
Mixed mode assembly is built against version 'v2.0.50727' of the
runtime and cannot be loaded in the 4.0 runtime without additional
configuration information.
Does anyone knows how to solve this problem?
Is this because my NET is 4.0 and the assemblies are in 2.0?
If that would be the case it wouldn't build ... am I wrong?
Thank You,
Miguel
I am working with VS 2010 / NET 4.0 to create a simple WPF / C#
application.
I am using the following assemblies:
Microsoft.SqlServer.ConnectionInfo
Microsoft.SqlServer.Management.Sdk.Sfc
Microsoft.SqlServer.Smo
The project builds fine but when I run it I get the following error:
Mixed mode assembly is built against version 'v2.0.50727' of the
runtime and cannot be loaded in the 4.0 runtime without additional
configuration information.
Does anyone knows how to solve this problem?
Is this because my NET is 4.0 and the assemblies are in 2.0?
If that would be the case it wouldn't build ... am I wrong?
Thank You,
Miguel