asp.net - Mark Project Items as Embedded Resource by file type -


I have an asp.net MVC project that I can use in some other projects and some file types (cshtml, images, css etc.) . To include some file types, I must always remember to select 'embedded resource' because the build action for each file is a way of doing it automatically?

I remember that a snippet of code has been seen anywhere on the web so that you can do this by modifying your project file, but after a lot of searches, I do not think it's possible to find it again. for.

I finally tracked the blog where I saw it, you can find it.

I need to add a billed action before the csproj file to include embedded resources

  

  

Comments

Popular posts from this blog

python - Strange behavior using PyQt4's 'pyqtSlot' decorator before another decorator -

c# - UnhandledExceptionMode.ThrowException for AppDomain.UnhandledException -

c# - Process.Kill() returns access denied -