I have Asp.Net Core application running on full 4.6.1 framework on on Windows Server 2012R2.
Sometimes Razor view will become dead, and will report
"Unexpected error writing debug information -- 'Windows PDB writer is not available -- could not find Microsoft.DiaSymReader.Native.amd64.dll'"
This is terrible for my customers, as someone has to notice it and manually restart server - for instance it may become stuck after midnight app pool recycle.
I would say that view becomes broken when application tries to compile it (first compilation, or change to .cshtml file), after that only restarting application can fix this.
This is not related to dotnet cli or visual studio or msbuild. This happens on production, after application is deployed. I am using self-contained deployment (I have <RuntimeIdentifier>win7-x64</RuntimeIdentifier>
in my .csproj.
Some folks had similar problem similar problem but no solution so far.