Thursday, December 16, 2010

Visual Studio 2010 Console Application for SharePoint 2010 (Target Platform + .NET Framework)

Most of the time it is very handy to test out something using
console application against SharePoint 2010. But this could be painful for at
times as developers finds it that references does not pick the assembly
correctly/build fails
Here are two things that you need to be careful of when
developing something on console application.
1. The target platform of your console application
needs to be set as x64(64 bit) in the Build configuration of your project.
2. The target framework needs to be .NET 3.5

No comments: