DNX Core CLR: characters not loaded using CoreCLR (debug / join the IIS process)

My goal is Debugging with Visual Studio Attach to Process in local IIS.

It only works when I use the full framework (dnx-clr-win-x64.1.0.0-beta7), but not with the Core CLR (dnx -coreclr-win-win x64.1.0.0-beta7).

When I select CoreCLR, I cannot make a breakpoint because it says that the characters are not loaded.

This is my publish.xml file:

<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
  [...]
    <CompileSource>True</CompileSource>
    <PublishDNXVersion>dnx-coreclr-win-x64.1.0.0-beta7</PublishDNXVersion>
    <UsePowerShell>True</UsePowerShell>
    <WebRoot>wwwroot</WebRoot>
    <WwwRootOut>wwwroot</WwwRootOut>
    <IncludeSymbols>True</IncludeSymbols>
   [...]
  </PropertyGroup>
</Project>
  • Just created a simple test project from a template (only with a value controller).

  • I would like to make my next project entirely based on .NET Core.

  • That's why I want to make sure everything works with .NET Core.

  • I have the full source code of my example.

  • I am using Visual Studio 2015

CLR : Full CLR

CLR : Core clr

+4

Source: https://habr.com/ru/post/1608323/


All Articles