newbie: how to create project with additional assembly
am 22.10.2007 17:18:26 von r_ahimsa_mHello,
Please help in the following problem.
I have created web C# project in which I would like to use additionally
custom web control (PSGridView) for which I have source code (VB files). I
need to use in my web project assembly (PSControls.dll) generated from this
VB files (according to sample program of the author of the control).:
<%@ Register Assembly="PSControls" Namespace="PS.Web.UI.WebControls"
TagPrefix="PS" %>
(Source code of the control doesn't contain .ascx file.)
I cannot simply add PSControls.dll to my project because I would like to
debug VB files of control (I suspect that the files contain bug which I want
to find - it is very important for me!).
I don't know how to add source of custom web control to my web project. The
source of custom web control consists of the following files:
Application.Designer.vb
Application.myapp
AssemblyInfo.vb
Messages.Designer.vb
Messages.resx
PSControls.vbproj
PSControls.vbproj.user
PSControls.vspscc
PSGridView.vb
Resources.Designer.vb
Resources.resx
Settings.Designer.vb
Settings.settings
Can I simply create subfolder in my web application folder and copy these
files into it? I did it, but I receive an error in .aspx file using the
custom web control (assembly cannot be found and loaded):
<%@ Register Assembly="PSControls" Namespace="PS.Web.UI.WebControls"
TagPrefix="PS" %>
I think that assembly PSControls.dll was not generated (I don't see it).
My question is: How to include web control source code to my project to be
able to debug the code of control?
Please help.
Thanks in advance!
/RAM/