Static assets from razor class library not found add a razor class library to a running app #17535
I'll chime in with exactly the same experience that Dan reported. My 'self hosted' CSB app fails to load content from a RCL component but when the same app is hosted on a DNC 3.1 site the content is loaded as expected. And the 'fix' to close and reopen the project also allows my 'self hosted' CSB to work.
This behavior is currently by design, as we don't stop and re-start the server when the app is re-built in order to provide a faster inner loop.
You can opt-out of this behavior by setting the following property explicitly in your project.
As per improvements to this scenario, I'm going to close this issue as there's a separate issue tracking the broader scenario #5512