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 http://pointshared.blogspot.com/2010/12/visual-studio-2010-console-application.html

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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.