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

Republished for the benefit of all from

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.