Base solution for your next web application
Open Closed

Missing NuGet Dependencies From Newly Generated Solution #3957


User avatar
0
ITWebTeam created

We are having problems with dependencies issues for several AspNetZero projects. The project builds and runs but I don't believe it should have missing dependencies.

Project affected are Web.Core, Web.Host, Web.Mvc and Web.Public. See example screenshot below.

Options selected during creation: ASP.NET CORE MVC & jQuery, ANZ v4.5.1 and .NET Framework 4.6.1

Also please note that there is another issue, possible related, in which I will create a separate topic for if needed. The styling of both Public and MVC sites, aesthetically look terrible. See below screenshot

Public Website

Any help is appreciated, Ron


3 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    1. Dependency warnings Can you first try to run VS as administrator, then open the project and see if that resolves the warnings? Otherwise, here's a workaround: https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2493#issuecomment-331009271

    Please let me know if the first method works for you.

    2. Styling Can you check if there are errors in the F12 console?

  • User Avatar
    0
    ervingayle created

    Regarding the dependency warnings there is a restore packages on build option. That may assist you as well. I had this issue at first.

  • User Avatar
    0
    ITWebTeam created

    We've identified that bower is having an issue within our company's proxy server getting a certificate. This is preventing the dependencies from being downloaded using bower.

    bower blockUI#*UNABLE_TO_GET_ISSUER_CERT_LOCALLY Request to <a class="postlink" href="https://bower.herokuapp.com/packages/jquery.blockUI">https://bower.herokuapp.com/packages/jquery.blockUI</a> failed: unable to get local issuer certificate

    We are looking into a resolution.