- Clone this project
- Open ASPNET5StaticFilesBug.sln using Visual Studio 2015 RC
- Setup "Empty" as a startup project
- Ctrl + F5
- Browse to the "/Project_Readme.html" page. It will show up "Hello World!".
- Then switch back to Visual Studio 2015. Setup "WebAPI" as a startup project.
- Ctrl + F5
- Then switch back to Visual Studio 2015. Setup "Empty" as a startup project.
- Ctrl + F5
- Browse to the "/Project_Readme.html" page. It will show up "Project_Readme.html" content.
I don't include the "Microsoft.AspNet.StaticFiles" package in my "Empty" project. The "Project_Readme.html" content should never be displayed.