Error on Tutorial Starting with MVC Development

David Pearson asked on August 17, 2021 20:13

https://docs.xperience.io/developing-websites/starting-with-mvc-development Step: 3

I am unable to install Kentico.Xperience.AspNet.Mvc5 in the NuGet package. I tried versions dated back to before the tutorial was written with no luck. The framework is 4.5.

I get the following error: Severity Code Description Project File Line Suppression State Error Could not install package 'Kentico.Xperience.Libraries 13.0.20'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Any ideals?

Correct Answer

David Pearson answered on August 17, 2021 20:20

After some research I found Kentico.Xperience.AspNet.Mvc5 requires .net 4.8. Had to go back a couple of sections to find this.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Sean Wright answered on August 19, 2021 23:15

If you are ever curious about what framework versions a package might support, try using https://nuget.info.

https://nuget.info/packages/Kentico.Xperience.AspNet.Mvc5/13.0.40 shows that under the \lib folder of the package, NET48 is the only folder, which means it's the minimum version you can use.

Screenshot

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.