cancel
Showing results for 
Search instead for 
Did you mean: 

Nco 3.0 and VB2010 problem (system.web)

Former Member
0 Kudos

Hello,

I get this error when compiling a prgram in VB2010 usin NCo 3.0 ...:

The referenced assembly "sapnco" could not be resolved because it has a dependency on "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.

Anyone know what to do?

/Kenneth

Accepted Solutions (0)

Answers (1)

Answers (1)

jimstewart
Discoverer
0 Kudos

In your project properties, change the target framework to ".NET Framework 4" instead of ".NET Framework 4 Client Profile". Give that a shot.