How to create an embedded resource in a Web Site project?

.net, asp.net

Solution

You can't add an embedded resource, because web site projects are not pre-compiled. There is no generated dll to embed the resource in.

Problem

How to create an embedded resource in a Web Site project? In a web application project I can change the 'build action' through the properties window of a file. In an Web Site project there is no properties window. I noticed, in a web application project, the .csproj file is changed when you change the build action of a file. In a Web site project there is no .csproj file of course. Is it possible to create an embedded resource in an Web Site project? In mainwhile, we changed the project to a web application project. But I'm still curious..

Original source