U4-3769 - Not possible to build branch 7.0.0 from Github using Visual Studio 2013 / NuGet 2.7

Created by David Wincent 29 Nov 2013, 23:02:47 Updated by Shannon Deminick 21 Jun 2017, 07:58:45

  1. Open src/umbraco.sln
  2. Open Package Manager Console, click restore

Error: "An error occoured while trying to restore packages: Unable to find version '2.0.0' of package 'log4net-mediumtrust'.

Comments

Sebastiaan Janssen 02 Dec 2013, 17:00:00

Strange, it should get it from MyGet automatically. Try using build/build.bat first and see if that works.


David Wincent 03 Dec 2013, 07:21:39

Thanks.

In the end I tried the following steps which produced a successful build:

  1. Created a src/nuget.config file and added the following sources: https://www.myget.org/F/umbraco7nightly/ http://packages.umbraco.org/

  2. Copied WebApplications folder from "Program Files (x86)\MSBuild\VisualStudio\v12.0" to "Program Files (x86)\MSBuild\VisualStudio\v11.0" since build/build.bat and Nuget 2.6 seems to require this folder.

  3. Ran build/build.bat

I am not entirely sure which of those steps where actually necessary.


Shannon Deminick 21 Jun 2017, 07:58:46

Closing issue due to inactivity - see blog post for details https://umbraco.com/blog/issue-tracker-cleanup/


Priority: Normal

Type: Bug

State: Closed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:

Sprint:

Story Points:

Cycle: