Help with compiling user control into a DLL

I've been using a web user control in one of my projects to output a list of data.  I'm now trying to put this into a DLL so i can just move the dll file around from project to project instead of the .ascx and .ascs.cs files.  But I'm running into some difficulty.  When I get it into a DLL and reference it in my test project I get an error that object isn't found.  Apparently what's happening is that whatever is in my .ascx file it's not outputing.  So if I do a simple test and put the "Hello World" in my .ascx file and compile it, it doesn't show up.  If I do a response.write in my .ascx.cs file then it shows up.  Can someone help me here?  In my .ascx file I have HTML and in the .ascx.cs file I connect to the DB and pull data and output it.
rshafakianAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rshafakianAuthor Commented:
BTW I went through this tutorial http://msdn.microsoft.com/en-us/library/aa479318.aspx and still could not get it to work.  I created a simple user control that says Hello in the .ascx file and if I test it as a user control then it works.  But once I compile it and reference the DLL in my test site it doesn't spit out the Hello.  
0
rshafakianAuthor Commented:
Okay, well I actually figured this out on my own.  But now I have another question.  I built this DLL by opening creating an ASP.NET Web Site.  I want to know how I can change the name of the output DLL.  I know if it was a project file I could go in and tell it what name to output, but for this it gives me a weird name.  Any suggestions?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.