Thursday, July 31, 2014

Failure to load packages creating an MVC project

Whenever I create a new MVC project, I am getting an error loading various packages for Powershell, entity framework and Jquery.

The error: The following packages failed to install from 'C:\Program Files\Microsoft ASP.NET\ASP.NET MVC 5\Packages'

I noticed a reference looking for C:\Program Files (x86)\7-Zip\7z.exe, which is pretty strange and subsequently found that 7Zip was installed in the “c:\program files” hive and not in the x86 one. I copied the 7zip folder to the x86 folder structure and then restarted Visual Studio. Now it works as expected.

I can only surmise that by installing 7Zip i have messed with the natural order of things somehow. Either way, copying to the x86 folder fixed things for me.

Something to remember if you get the same issue.

Matt

p.s. i haven’t had this issue on my Windows 7 box but experienced this on the Windows 8 ‘beta’ image i am currently testing for rollout at work. I don’t remember if i installed 7Zip myself or if it was already installed. I have a sneaky suspicion it was already there and maybe the directory it was installed to was incorrect?

1 comment:

  1. Are you looking for affordable data appending services? Delta Infomatix is the right company. Our data experts will help you on data append, email append, Phone number Append, B2B and B2C Contacts. Get a free quote.
    http://www.deltainfomatix.com

    Data Appending : Go beyond and consider quality & accuracy data; if you want your database to work for you!

    Data Integration : Data integration is seamless and hassle-free like never before. Try us and get rid of data redundancy and outdated information.

    Demand Generation : Accelerate your brand traction into new markets and cross-sell to your existing customer via our demand generation programs.

    Digital Marketing : We can take an all-channel approach with a focus on increasing conversions, repeat traffic and generating greater brand and loyalty online.

    List Management : Fortified with a team of seasoned data specialists, we can vouch on quality, correctness, up-to-date & relevancy of data.

    Customer Profiling : Our profiling services will help you to achieve most accurate and precise customer data without breaking a sweat.

    ReplyDelete