aspnet / MusicStore

[Archived] MusicStore test application that uses ASP.NET/EF Core. Project moved to https://github.com/aspnet/AspNetCore
1.3k stars 878 forks source link

Remove or fix Helios.cmd #510

Closed rubenprins closed 9 years ago

rubenprins commented 9 years ago

Currently, the Helios.cmd script in src/MusicStore will spawn an IIS Express instance that will give the error

Unable to resolve project 'wwwroot' from [path]\src\MusicStore\wwwroot

Either src/MusicStore/wwwroot/web.config should be updated to include the proper runtime-path/dnx-app-base settings (i.e., ..), or Helios.cmd should be removed to avoid confusion.

(Note that README.md should be updated as well, should you choose to remove Helios.cmd.)

davidfowl commented 9 years ago

master branch?

rubenprins commented 9 years ago

Yep: master, dev, release, they all still have Helios.cmd and references to it from README.md ("If you don't have Visual Studio 2015").

Should I be looking at another branch?

leandermurphy commented 9 years ago

I also just hit this issue. Is there a web.config change that can be done as a work around?

saltysnacks commented 9 years ago

I also encountered this issue. I was able to workaround by adding the following to my web.config...

<appSettings>
  ...
  <add key="dnx-app-base" value=".." />
</appSettings>

".." as src/musicstore/wwwroot is the location of the web.config and the app root dir is at src/musicstore.

leandermurphy commented 9 years ago

That works for me. Thanks!