I got another type of exception when updating.
After nuget was done doing it's thing, /config/., web.config, default.aspx, global.aspx was deleted!
Good thing we've got source control. :)
Here's the exception:
update-package : Specified condition "$(CleanWPPAllFilesInSingleFolder)" evaluates to "" instead of a boolean.
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets
At line:1 char:1
+ update-package umbracocms
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Update-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.UpdatePackageCommand
--
[Edit]
So this one is due to a yes-to-all or no-to-all bug with nuget. Answer consistently for each individual, and you should be in the clear.
Hope you get yours fixed, @Lefteris. Sorry for highjacking your thread.
@Leftiris: Looks like you're trying to install in VS2013 with a MVC project. You need to choose Empty or a VS2012 MVC4 template. The VS2013 MVC template uses MVC5 by default which we don't support yet.
The solution for @Lars-Erik was to answer "No" to each file that NuGet wanted to overwrite during the upgrade. For some insane reason NuGet treats "No to all" as something completely different and starts throwing these errors. I'm filing bug reports at NuGet.
umbraco 7.1 via nuget error
seems to have a dependency failure:
Attempting to resolve dependency 'Microsoft.AspNet.WebPages (≥ 2.0.20710.0 && < 2.1)'.
install-package : Already referencing a newer version of 'Microsoft.AspNet.WebPages'.
At line:1 char:1
+ install-package umbracoCms
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
I got another type of exception when updating.
After nuget was done doing it's thing, /config/., web.config, default.aspx, global.aspx was deleted!
Good thing we've got source control. :)
Here's the exception:
--
[Edit]
So this one is due to a yes-to-all or no-to-all bug with nuget. Answer consistently for each individual, and you should be in the clear.
Hope you get yours fixed, @Lefteris. Sorry for highjacking your thread.
Oh, since I went crazy on Twitter, @cultiv actually provided the answer to your question too. :)
https://twitter.com/cultiv/status/452013183407226880
@Leftiris: Looks like you're trying to install in VS2013 with a MVC project. You need to choose Empty or a VS2012 MVC4 template. The VS2013 MVC template uses MVC5 by default which we don't support yet.
The solution for @Lars-Erik was to answer "No" to each file that NuGet wanted to overwrite during the upgrade. For some insane reason NuGet treats "No to all" as something completely different and starts throwing these errors. I'm filing bug reports at NuGet.
Docs are updated to reflect this: Installing - http://our.umbraco.org/documentation/installation/install-umbraco-with-nuget
Upgrading - http://our.umbraco.org/documentation/installation/Upgrading/general
Beat you to it by a nanosecond. :D
Thanks again!
is working on a reply...