Re: Dotnet Assembly Versioning

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



The reason you have to recompile is that when you compile, you are going and
getting a copy of the .dll and bringing it locally into your application.
This only happens when you compile so, if you want the newer assembly, you
have to recompile.

Now, if the assembly were to become a shared assembly that is registered
into the GAC, then all you'd need to do is update the GAC with the new
assembly and your application would continue to run without any work needed.

-Scott

"Ben" <bendicht.haenni@xxxxxxxxx> wrote in message
news:1174922300.277810.275610@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,

First i have to state this is my first entry ever in a forum. So
please be forgiving...

I am a newbe to dotnet versioning...

The Situation is the following: Our application is using an external
managed .dll. Whos version is changing from time to time. The
interface is not changing at all. As i have included this dll in my
project i have to rebuild my application everytime the version number
is augmenting : 1.0.x.y. The major and minor build version do not
change.

using .net compact framework 1.1

Isnt it possible to state a policy that if x and y are changing the
clr still accepts these version numbers without recompiling my
application?

For any help thanks in advance

Ben



.



Relevant Pages

  • Re: general strong name question
    ... You have a project that compiles to a dll. ... Each time you recompile this assembly, and attempt to run the other apps, ... When you compile an assembly, ... assemblies) into the config files of the applications that use the ...
    (microsoft.public.dotnet.general)
  • Re: Accessing a DLL without registering it
    ... I recompile the DLL it ALWAYS tells me that the ... compatability... ... I can compile it the DLL, ...
    (microsoft.public.vb.general.discussion)
  • Re: how do enable php to run "--with-mysql" ro curl on Windows XP?
    ... How do I recompile or add a start option to run "--with-mysql"? ... You need the right dll, replace the one compiled for communication to 3.23 to one for 4.1. ... On microsoft environments you download the precompiled one, if you want to compile it yourself, begin with downloading the gcc compiler from gnu.org and then the source for php. ...
    (alt.php)
  • Re: VBA and VSTO
    ... If you compile in VB6 with Global MultiUse than all you have to do is set a reference in Excel to your dll via Tools, References and you can access your functions in the dll directly. ... You will have to register the dll as well with Windows with Regsvr32, but that can be done quite simply in VBA. ...
    (microsoft.public.excel.programming)
  • Re: HOW CAN I OPEN A COM PROJECT COMPILED IN VS2005, IN VS2003?
    ... I keep getting the .exe output when I compile in the VC7. ... the General Configuration Type to be .dll in the Project Property. ... Microsoft MVP, MCSD ... instead create my own folders for file grouping... ...
    (microsoft.public.win32.programmer.ole)