[英]Common output directory, Web Applications and IIS Express
I have changed the output path for all my projects to use same location. 我已经更改了所有项目的输出路径以使用相同的位置。 Ie:
即:
My ASP.NET Web API projects have now stopped working when running them in debug using IIS Express. 我的ASP.NET Web API项目现在在使用IIS Express在调试中运行时已停止工作。
It seems that IIS Express is pointing to the existing Web Application project directory: 似乎IIS Express指向现有的Web应用程序项目目录:
Should this not be pointing now to the ..\\Build\\bin\\Debug
common output directory? 这不应该指向
..\\Build\\bin\\Debug
公共输出目录吗? 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.
出于安全原因,IIS要求您使用Web项目文件夹下的“bin”文件夹作为输出目录。
It is still possible to achieve your goal though. 尽管如此,仍有可能实现您的目标。 See here .
看到这里 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.