error in using <namespace> in console application project.

In order to demonstrate visual studio integration i created one class library project and console application.

followed steps mentioned

But there is compilation error in the code.

I have also added references for Microsoft.Dynamics.AX.ManagedInterop and Class Library Project.



Please let me know if i am missing anything.

What’s the target framework? (Right-click the project and go to Properties.) If it’s a client profile, change it to the corresponding full version (e.g. .NET Framework 4 instead of .NET Framework 4 Client Profile).


It worked perfectly fine.

Thanks a lot for quick help.