0

I am trying to host MVC web application without IIS in windows8. So i referred this link Host MVC web app without IIS

But i can able to add hwebcore.dll file into visual studio it show error like:

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

.dll file not accessible

Community
  • 1
  • 1
Suresh Ram
  • 1,034
  • 3
  • 16
  • 40

1 Answers1

0

This dll is not a .NET assembly, that's why you can't add a reference to it. What you can do is invoke its exported functions, like WebCoreActivate and WebCoreShutdown. See the example here: http://blogs.msdn.com/b/carlosag/archive/2008/04/14/hostyourownwebserverusingiis7.aspx

Ricardo Peres
  • 13,724
  • 5
  • 57
  • 74