문제

I am trying to install Unity version 3.0.1304.1 from from NuGet store and getting following error and my project is setup for .NetFramwork V4.0:

Could not install package 'Unity 3.0.1304.1'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', 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.

Does anyone has any clue what is wrong?

도움이 되었습니까?

해결책

Unity 3.0.1304.1 requires .NET 4.5, you can install an older version of Unity using NuGet that targets .NET 4.0 using this command:

Install-Package Unity -Version 2.1.505.2

Here's a source for this info

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top