(Social networking package) The type or namespace name `Prime31' could not be found

Hi,

I have bought the Prime31 Social Networking package for Unity3D
http://www.prime31.com/unity/

When I imported it to Unity, it gave me these errors:

Assets/Plugins/SocialNetworking/FacebookCommon/Facebook.cs(5,7): error CS0246: The type or namespace name `Prime31’ could not be found. Are you missing a using directive or an assembly reference?

Assets/Plugins/SocialNetworking/testSupportIOS/SocialNetworkingGUIManagerTwo.cs(6,7): error CS0246: The type or namespace name `Prime31’ could not be found. Are you missing a using directive or an assembly reference?
These errors take me to scripts Facebook.cs and SocialNetworkingGUIManagerTwo.cs
They both point to this line of code:

Code:
using Prime31;

Is there something I am missing?

Thank you

Hey Cookie,

Not sure if you’re still looking for an answer to this issue, but I was having the same issue recently. Turns out that as I had custom set some of my files to build for “Target Framework .NET 4.0” and others were still being built for “Target Framework .NET 3.5” (the default for Unity/MonoDevelop), the files weren’t able to communicate properly.

So in short, make sure all your files are building for the same Target Framework (either 4.0 or 3.5). You can change/check this in MonoDevelop via: Project → Assembly C-Sharp Options → General → Target Framework.