質問

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