PC Review


Reply
Thread Tools Rate Thread

DLL recompilation problem

 
 
=?Utf-8?B?R29uY2Fsbw==?=
Guest
Posts: n/a
 
      16th May 2005
Hi,
I have one project in VB.Net that references one dll also made in VB.Net
The problem is when I recompile the dll, I must also recompile the project
executable or else when I execute the application it gives me an exception.

Any help would be appreciated,
thanks!

 
Reply With Quote
 
 
 
 
Daniel Moth
Guest
Posts: n/a
 
      16th May 2005
Your dll, like all assemblies, has a version number consisting of 4 parts:
Major.Minor.Build.Revision. This is defined in your AssemblyInfo file (at a
guess you have left the default of 1.0.*)

If you need to recompile it without recompiling its clients (e.g. your exe),
you may only change the revision part.

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


"Goncalo" <(E-Mail Removed)> wrote in message
news:18A52AB9-4E61-4551-898B-(E-Mail Removed)...
> Hi,
> I have one project in VB.Net that references one dll also made in VB.Net
> The problem is when I recompile the dll, I must also recompile the project
> executable or else when I execute the application it gives me an
> exception.
>
> Any help would be appreciated,
> thanks!
>


 
Reply With Quote
 
=?Utf-8?B?R29uY2Fsbw==?=
Guest
Posts: n/a
 
      16th May 2005
Yes, you're right!!
Thanks

"Daniel Moth" wrote:

> Your dll, like all assemblies, has a version number consisting of 4 parts:
> Major.Minor.Build.Revision. This is defined in your AssemblyInfo file (at a
> guess you have left the default of 1.0.*)
>
> If you need to recompile it without recompiling its clients (e.g. your exe),
> you may only change the revision part.
>
> Cheers
> Daniel
> --
> http://www.danielmoth.com/Blog/
>
>
> "Goncalo" <(E-Mail Removed)> wrote in message
> news:18A52AB9-4E61-4551-898B-(E-Mail Removed)...
> > Hi,
> > I have one project in VB.Net that references one dll also made in VB.Net
> > The problem is when I recompile the dll, I must also recompile the project
> > executable or else when I execute the application it gives me an
> > exception.
> >
> > Any help would be appreciated,
> > thanks!
> >

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recompilation Neil Microsoft ASP .NET 1 18th Dec 2008 01:50 PM
New Code without Recompilation - how can this be done? pbd22 Microsoft C# .NET 1 30th Jun 2008 04:53 PM
when is server recompilation done? VB Programmer Microsoft ASP .NET 4 4th Jan 2006 06:56 PM
with recompilation Britney Microsoft ASP .NET 1 8th Jul 2005 06:08 PM
Re: recompilation of asp.net page Chris Jackson Microsoft ASP .NET 0 20th Aug 2003 04:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:37 PM.