You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
I'd be interested to know how you plan to enable debugging for these embedded views? I'm already supporting embedded views in my ASP.NET Core app, but can't easily debug them.
@Antaris an option we were exploring here was to rely on a Roslyn feature that would allow us to embed sources for views in generated pdbs. Here's the discussion for it - dotnet/roslyn#12625. Note: the feature hasn't landed and requires follow up work in the debugger to know how to get to these sources, so it'll be a while for the feature to light up.
At present, you have to point to files on disk for the debugger to find them. You could consider using a PhysicalFileProvider that points to the source project when developing locally and switching to an embedded one when you're deploying.
Consider supporting Razor views as embedded resources out of the box.
The text was updated successfully, but these errors were encountered: