deploy dll RRS feed

  • Question

  • User2070100822 posted


    i have the following project:

    Solution name: SessionServices.

    App_Code folder contain the: Service.cs (code file for the webservice).

    Bin folder contain two dll's.


    Golbal.asax file.

    web.config file.

    i deploied this project to one dll, but how do i use this dll? i tried to put it in other webSite bin folder and call functions....he throw me an error that he can't find or recognize this dll... did i miss something?

    ** i followed the instructions in the video  http://www.asp.net/learn/videos/view.aspx?tabid=63&id=15

    thank you...

    Wednesday, January 31, 2007 1:39 PM

All replies

  • User1091955703 posted

    I have not watched the video:

    If you want to use the dll on another site, you have to add a reference too it in some fashion.

    If this is another asp.net project, open that project, add a reference, and navigate to your dll. Then in your code for that site you can now access it.

    You can also "reference" an assembly in the web.config file if you do not have the project files.

                <add assembly="<AssemblyName>, Version=<Version>, Culture=<Culture>, PublicKeyToken=<PublicKeyToken>"/>

    Thursday, February 1, 2007 11:43 AM