Refresh Referenced Assembly???

J

Jonathan Wood

Okay, so I now have more than one project in my solution. One is a class
library, which includes a Control. And I added a reference to the class
library in the other project.

Initially, it worked as expected. However, when I modified my Control and
then rebuilt the class library, these changes are not appearing in the
control used in the other project.

As I understand it, a reference is not a reference at all but a copy of the
DLL? How do I get it to copy the new DLL in that case?

Thanks.

Jonathan
 
W

William Niver

Howdy!

When it does mess up, just delete the dll's which are being built from the
library class. Make sure you have one of your pages in the web app selected
and then build the website.

This will cause both projects to be rebuilt correctly.

I never build by projects when not having a page in teh web app selected...
strange stuff sometimes happens because of it and I just haven't taken teh
time to track down why.
 
J

Jonathan Wood

Hmm... I'm not really sure what happened. I deleted the DLLs but still
wasn't seeing the changes.

Then I closed the page that used the control and reloaded it and everything
was current.

Looks like it's a little tempermental in this area. I'll need a little while
to get used to it but, for the most part, I like it!

Thanks.

Jonathan
 
W

William Niver

Compiling images and files into your Custom Server Controls is when it
starts to get really fun. *grin*

No more need fer any support files for anything... no external javascript,
no external css, no images... just drop the control on the page and yer in
business.

Take care!

William
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top