Reference could not be resolved when attempting to build an SDK solution

When building a catalog an error like the one below is received:

The primary reference "Blackbaud.AppFx.Server, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "Blackbaud.Constituent.Attributes, Version=1.1.771.1, Culture=neutral, PublicKeyToken=null" which was built against the ".NETFramework,Version=v4.5.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".
 
This is due to a mismatch between the .Net framework version of the project and the version of the referenced libraries. 

This can usually be corrected by going to the project properties and changing the framework to match the framework that the project is being built against.

Project properties showing framework
Project properties showing framework.png

Steps to Duplicate

Create or edit a SDK based CRM project in Visual Studio.
Attempt to compile the project.

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.