V9 Publishing - missing media folder

First v9 installation today - got it working locally just fine. Then published and sent contents of publish folder up to server. Installed the SDK and hosting bundle on the server, basically following along with documentation and this video here:

https://www.youtube.com/watch?v=riO5EQKE0YY

However when I go to view it I get:
HTTP Error 500.30 - ASP.NET Core app failed to start

I found this SO questeion:
iis - HTTP Error 500.30 - ASP.NET Core app failed to start - Stack Overflow and one suggestion:
Navigate to the root directory of the application using CMD.
Run the application using the command dotnet run (yourApplicationName).dll

When I did this I got the following:

Unhandled exception. System.IO.DirectoryNotFoundException: D:\inetpub\Example\www\wwwroot\media\

And yes indeed, when I look in the publish folder, wwwroot/media is missing. In Visual Studio wwwroot/media (not in publish folder) wasn’t “included in project” so I did that and published again, but it’s still not in there. Is there something I could do to sort this out?

ETA - forgot to say, this has a uSkinned theme on it. Not sure if that would be an issue. Tomorrow I will try again without uSkinned.


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/108659-v9-publishing-missing-media-folder