|
Prev: ASP.Net Hosting
Next: task bar
From: D Browne on 23 Jun 2008 16:07 This is probably going to be an obvious answer for some, but I'm just looking for directions or where to look or read. How can you make an application that references a specific file ... say foo1.2 ... not break when foo1.3 is released. For example, I have an application that uses a commercial available class say V.1.0 that has a function called getColor, then the vendor releases V1.1 that fixes a bug in getColor. How could I write the application so I could just add V1.1 in the apps folder without having to recompile the entire application? The assembly fails because it is looking for V.1.0
From: Peter Duniho on 24 Jun 2008 14:18 On Mon, 23 Jun 2008 13:07:03 -0700, D Browne <gordigor(a)community.nospam> wrote: > This is probably going to be an obvious answer for some, but I'm just > looking for directions or where to look or read. How can you make an > application that references a specific file ... say foo1.2 ... not break > when foo1.3 is released. > > For example, I have an application that uses a commercial available > class say V.1.0 that has a function called getColor, then the vendor > releases V1.1 that fixes a bug in getColor. How could I write the > application so I could just add V1.1 in the apps folder without having > to recompile the entire application? The assembly fails because it is > looking for V.1.0 Can you be more specific about what you're doing? Generally, the default for a reference is for the "Specific Version" property to be "false". In that case, you should automatically use the newer version if it's provided. There are ways to use assemblies in which a specific version is required, but I wouldn't care to speculate on which, if any, of these techniques you might be using. More information from you as to why you're not just getting the default behavior would be useful. Pete
From: denny on 28 Jun 2008 11:36 That's exactly what the issue was. The third party control was defaulting to specific version to true. "Peter Duniho" <NpOeStPeAdM(a)nnowslpianmk.com> wrote in message news:op.uc9mhqrp8jd0ej(a)petes-computer.local... > On Mon, 23 Jun 2008 13:07:03 -0700, D Browne <gordigor(a)community.nospam> > wrote: > >> This is probably going to be an obvious answer for some, but I'm just >> looking for directions or where to look or read. How can you make an >> application that references a specific file ... say foo1.2 ... not break >> when foo1.3 is released. >> >> For example, I have an application that uses a commercial available >> class say V.1.0 that has a function called getColor, then the vendor >> releases V1.1 that fixes a bug in getColor. How could I write the >> application so I could just add V1.1 in the apps folder without having >> to recompile the entire application? The assembly fails because it is >> looking for V.1.0 > > Can you be more specific about what you're doing? > > Generally, the default for a reference is for the "Specific Version" > property to be "false". In that case, you should automatically use the > newer version if it's provided. > > There are ways to use assemblies in which a specific version is required, > but I wouldn't care to speculate on which, if any, of these techniques you > might be using. More information from you as to why you're not just > getting the default behavior would be useful. > > Pete >
From: microsoft.news.com on 1 Jul 2008 15:03 Too early... same problems Let me see if I can explain better. We created an application using Acme's Superbar.dll v3.0. The reference was set to specific version:false. The application works fine. Acme releases a hotfix called Superbar.dll v3.5. The new component is added to the applications working folder. Now the application errors, looking for v3.0. Is there something I'm missing? "denny" <gordigor(a)community.nospam> wrote in message news:u$KuKTT2IHA.1236(a)TK2MSFTNGP02.phx.gbl... > That's exactly what the issue was. The third party control was defaulting > to specific version to true. > "Peter Duniho" <NpOeStPeAdM(a)nnowslpianmk.com> wrote in message > news:op.uc9mhqrp8jd0ej(a)petes-computer.local... >> On Mon, 23 Jun 2008 13:07:03 -0700, D Browne <gordigor(a)community.nospam> >> wrote: >> >>> This is probably going to be an obvious answer for some, but I'm just >>> looking for directions or where to look or read. How can you make an >>> application that references a specific file ... say foo1.2 ... not break >>> when foo1.3 is released. >>> >>> For example, I have an application that uses a commercial available >>> class say V.1.0 that has a function called getColor, then the vendor >>> releases V1.1 that fixes a bug in getColor. How could I write the >>> application so I could just add V1.1 in the apps folder without having >>> to recompile the entire application? The assembly fails because it is >>> looking for V.1.0 >> >> Can you be more specific about what you're doing? >> >> Generally, the default for a reference is for the "Specific Version" >> property to be "false". In that case, you should automatically use the >> newer version if it's provided. >> >> There are ways to use assemblies in which a specific version is required, >> but I wouldn't care to speculate on which, if any, of these techniques >> you might be using. More information from you as to why you're not just >> getting the default behavior would be useful. >> >> Pete >> >
|
Pages: 1 Prev: ASP.Net Hosting Next: task bar |