[英]Can't able to refer the hwebcore.dll from C:\Windows\System32\inetsrv\hwebcore.dll to visualstudio2013
I am trying to host MVC web application without IIS in windows8. 我正在尝试在Windows8中托管没有IIS的MVC Web应用程序。 So i referred this link Host MVC web app without IIS 因此,我提到了此链接, 而没有IIS的Host MVC Web应用程序
But i can able to add hwebcore.dll file into visual studio it show error like: 但是我可以将hwebcore.dll文件添加到visual studio中,它显示如下错误:
ERROR: 错误:
please make sure that the file is accessible and that it is a valid assembly or com component
i referred the below link but nothing worked for me. 我引用了以下链接,但对我没有任何帮助。
I want a solution for this : Please make sure that the file is accessible and that it is a valid assembly or COM component 我想要一个解决方案:请确保该文件可访问并且是有效的程序集或COM组件
This dll is not a .NET assembly, that's why you can't add a reference to it. 该dll不是.NET程序集,这就是为什么您无法添加对它的引用。 What you can do is invoke its exported functions, like WebCoreActivate and WebCoreShutdown. 您可以执行的是调用其导出的功能,例如WebCoreActivate和WebCoreShutdown。 See the example here: http://blogs.msdn.com/b/carlosag/archive/2008/04/14/hostyourownwebserverusingiis7.aspx 请参阅此处的示例: http : //blogs.msdn.com/b/carlosag/archive/2008/04/14/hostyourownwebserverusingiis7.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.