ASP.NET Core in VS2022 does not show wwwroot folder

Something that is a bit odd to me…if I look at my ASP.NET Core Razor Mercury project in Water, it shows the wwwroot folder:
image

But if I look at the same project in VS2022, it does not, it shows the contents of the wwwroot folder (css, js, lib) directly off of my project folder.

I thought maybe this was how VS2022 handled this, but note that with the equivalent C# project (non-Elements though) it shows the wwwroot folder.

Is this intentional?

Thanks,

–Avonelle

Certainly now. very curious. the project file lists “./wwwroot/*”, correct?

Logged as bugs://E25968.

Here’s how it looks in my .elements file:

    <Content Include="wwwroot/**">
      <Publish>True</Publish>
    </Content>

–Avonelle

Good, that is how it should be, yeah.

bugs://E25968 was closed as fixed.