![]() |
| Missing an Assembly Reference |
|
KyleGobel
|
How do I add an Assembly Reference?
I can do it fine in Visual Web Developer Express by simply going to 'Website' on the menu bar ...and then ...'Add Reference'..and browse to the assembly...but how do I do this when it's on the web? I am getting the famous
Thanks, Kyle |
||||||||||||||
|
|
|||||||||||||||
|
jraybould
|
You should be able to just upload the required dll into your bin folder on the site. Find out which dll is referenced when you 'Add Reference' and just upload it.
|
||||||||||||
|
|
|||||||||||||
| Hrmmm |
|
KyleGobel
|
Thanks for the reply jraybould
It Just happened again, Tried creating a whole new Project, added my reference (KLib.dll) and the using directive (using KLib.dll;) and it works great when I test it on my local machine. It creates the Bin Directory and everything for me. Then as soon as I copy the whole directory to the HMS.com webserver, it gives me that same error again... Have any of you added your own Library in the form of a .dll, and then uploaded it? I'm not even sure what to try anymore.... |
||||||||||||
|
|
|||||||||||||
| App Directory |
|
KyleGobel
|
It seems everything was cleared up once the Directory was made into an Application Directory (or IIS Virtual Directory...or what have you).
I'm wondering how you build an application with VS.net and get it to work without making an application directory, I know VS.net does this automatically, but that really sucks, I have another host right now, that had no idea what I was talking about when I told them that they needed to make my directory an Application directory....Really Upsetting...makes me want to stop using asp.net all together |
||||||||||||
|
|
|||||||||||||
| Re: App Directory |
|
MBMunday
|
I'm amazed that your other host didn't know what an "Application" directory was.............anyone who has worked directly with IIS before, particularly a web host provider, should know what a freagin application directory is and how to set it within IIS. No knock on you.........so please don't take it the wrong way... Regards, MB |
||||||||||||||
|
|
|||||||||||||||
|
jraybould
|
You should be able to precompile it locally then just upload the bin folder along with all the .aspx files. In this scenario, the .NET framework doesn't need the source code (.aspx.vb or .aspx.cs) and will not need an application directory in which to compile. I've actually never done this myself, but it should work fine I think.
|
||||||||||||
|
|
|||||||||||||
| Missing an Assembly Reference |
|
||
|


