简体   繁体   中英

Common output directory, Web Applications and IIS Express

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

Web API输出路径

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?

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM