Base solution for your next web application

Activities of "ignasi"

Question

Hi, I'm using a net core & angular (blank app). The solution compiles and works fine with default data.The initial Update-database is successful with Migrator Tool. When i'm trying to add my first custom entity, through PM> it throws this error.

System.Exception: Could not find content root folder!
   at TestProject.Web.WebContentDirectoryFinder.CalculateContentRootFolder() in D:\Projects\TestProject...

Can you help me plz?

Ignasi

Answer

How can I upload to 5.0.4 with nugets?

Answer

Thanks for your help, I'm logged with the github user but i can't access with this link. (404 page) I can see the <a class="postlink" href="https://github.com/aspnetzero/">https://github.com/aspnetzero/</a> but not the <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero">https://github.com/aspnetzero/aspnet-zero</a> . (404 page)

Any idea? thx

Answer

Sorry, i'm using another github account. Thx for all aaron!!

Hi all, What kind of build definition template are you using? I'm using Visual studio online(VSO) and i tried with 2 provided templates (ASPNetCore & ASPNetCore(.Net Framework)) and all builds were failed when i tried to build only Host project. Can you help me please? maybe with some images ? I think that my error is in the paths, when i get source from Host instead of All.sln and build path is .csproj instead of wildcard(**/.csproj), and I tried many unsuccessful options.

Thanks, ;)

Hi alper, I run a build definition template for asp.net core, you can see the exception on the images attached. [attachment=1:2njvdku6]2018-06-01_09h13_32.png[/attachment:2njvdku6] [attachment=0:2njvdku6]2018-06-01_09h16_26.png[/attachment:2njvdku6]

As you can see I build successfully ( when I build a *.sln , all projects) but I can`t when I try to build only the Host project. This is my problem

Thanks,

[attachment=0:3nhqmqol]2018-06-01_10h10_23.png[/attachment:3nhqmqol]

Solved! GetSources from */All.sln Nuget Restore path from *.sln Build path from **/myprojectName.Web.Host.csproj

Thanks!

Showing 1 to 8 of 8 entries