4

I have changed the output path for all my projects to use same location. I.e:

Web API output path

My ASP.NET Web API projects have now stopped working when running them in debug using IIS Express.

It seems that IIS Express is pointing to the existing Web Application project directory:

IIS Express

Should this not be pointing now to the ..\Build\bin\Debug common output directory? How do I configure this?

Dave New
  • 38,496
  • 59
  • 215
  • 394
  • Possible duplicate of [Is there a way to change .net mvc bin dir location?](http://stackoverflow.com/questions/13263002/is-there-a-way-to-change-net-mvc-bin-dir-location) – Mogsdad Dec 10 '15 at 17:23

1 Answers1

5

Unfortunately, there is no clean way to do this. For security reason, IIS requires you use the 'bin' folder right under the web project folder as the output directory.

It is still possible to achieve your goal though. See here.

Community
  • 1
  • 1
Anthony Huang
  • 566
  • 6
  • 7