The static assets for both of these packages are bundled up into what's called a Razor Class Library (RCL), meaning that they're loaded from a compiled DLL rather than always existing on disk
s
SSaaVVaa
11/29/2024, 9:54 AM
Thanks!
k
Kevin Jump
11/29/2024, 10:46 AM
Its not quite that, but is stort of , In development mode static files are severd from your nuget cache (which is typically in c:\users\username\.nuget\package) and dotnet is doing some clever linking so the site thinks the files are in /app_plugins.
when you do a dotnet publish those files are copied to the site in the right place so there is no linking, (razor .cshtml files are however in the dll's as @rickbutterfield says.
Kevin Jump
11/29/2024, 10:47 AM
so on cloud things are published which is why you can see them, locally they are in the cache which is why you cannot 🙂
s
SSaaVVaa
11/29/2024, 10:57 AM
@Kevin Jump thanks a lot!
SSaaVVaa
11/29/2024, 10:58 AM
I suspected something like that but could not prove it to myself