0

If you look at the screenshot the reference have been done but it still gives error why is it so.

enter image description here

2
  • 1
    check the project framework, Is it client profile? Commented Aug 14, 2013 at 16:23
  • can you please elaborate a little more Commented Aug 14, 2013 at 16:27

1 Answer 1

1

By the looks of your screenshot, i am certain that your project framework is set to client profile. change it to .Net Framework 4. and all will be fine. You can set it like

right click your project-->properties-->Application-->Target framework

set it to .Net Framework 4 instead of .Net Framework 4 client profile

Sign up to request clarification or add additional context in comments.

4 Comments

i dont have the option as .Net Framework I have the options as .Net Framework 2.0, .Net Framework 3.0, .Net Framework 3.5, .Net Framework 3.5 client profile, .Net Framework 4,.Net Framework 4 client profile
@user2588812 assign .Net Framework 4. what is currently selected?
Error 2 One or more types required to compile a dynamic expression cannot be found. Are you missing a reference?
Have you also tried to reference this assembly --> Microsoft.SqlServer.ManagedDTS.dll

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.