Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Can't debug a Asp.Net Core Web Application in VS2017 enterprise with F5

$
0
0

Hi,
I can't figure how to follow the steps I saw in doc + video:

from (VS 2017 enterprise)
- new Project Asp.net core web application (.Net Core)
- Web Application (Authentication -> Individual)
- F5

Chrome opens and when the process is up, the page is fully blank. Same in Edge

In the folder bin\Debug\netcoreapp1.1, only app dlls are shown  (no views or www content)
When I publish it, all dotnet dlls + www + views + app dlls are display and site is working

only way to debug is to attach process but it's long and painful to develop and debug

Even if I modify the csproj to copy the missing content, it's not working 

<PropertyGroup><TargetFramework>netcoreapp1.1</TargetFramework><PreserveCompilationContext>true</PreserveCompilationContext><EnableDefaultContentItems>false</EnableDefaultContentItems></PropertyGroup>
<ItemGroup><None Update="wwwroot\**\*;Views\**\*;Areas\**\Views;appsettings.json"><CopyToOutputDirectory>Always</CopyToOutputDirectory><CopyToPublishDirectory>Always</CopyToPublishDirectory></None></ItemGroup>

Any help ?

Txs

-v


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>