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 http://msdn.microsoft.com/EN-US/library/gg889200.aspx

But there is compilation error in the code.

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

8473.Untitled.png

.

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).

Martin,

It worked perfectly fine.

Thanks a lot for quick help.