Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installation of Unity from NugetStore is not working

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?

like image 786
User1551892 Avatar asked Dec 25 '22 14:12

User1551892


1 Answers

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

like image 56
Sven Grosen Avatar answered Dec 29 '22 10:12

Sven Grosen