PlatformNotSupportedException error while writing unit test for SharePoint 2013.

Hi,

Got the below error while writing unit test.

The solution was to set the Default Processor Architecture of the test project to X64.

Hope this helps.


Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

1 thought on “PlatformNotSupportedException error while writing unit test for SharePoint 2013.”

  1. Having read this I thought it was rather informative. I appreciate you spending some time and energy to put this short
    article together. I once again find myself spending way too much time both reading and posting comments.
    But so what, it was still worthwhile!

    Like

Share your thoughts

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s