A few times when I copy-paste *.cshtml files, Visual Studio for some reason sets Build Action on these files to be \"None\":
*.cshtml
Build Action
Thank you jessehouwing for geting me started! I liked your solution and voted for it. I had a little trouble with it and ended up with the following:
Right before my tag in the csproj file.