Click here to Skip to main content
15,899,026 members
Home / Discussions / C#
   

C#

 
GeneralRe: Component Text Property Pin
je_gonzalez24-Mar-04 9:26
je_gonzalez24-Mar-04 9:26 
GeneralRe: Component Text Property Pin
Heath Stewart24-Mar-04 8:47
protectorHeath Stewart24-Mar-04 8:47 
GeneralRe: Component Text Property Pin
dbetting24-Mar-04 15:41
dbetting24-Mar-04 15:41 
GeneralRe: Component Text Property Pin
Heath Stewart24-Mar-04 17:08
protectorHeath Stewart24-Mar-04 17:08 
Generalversion numbers Pin
surgeproof24-Mar-04 6:22
surgeproof24-Mar-04 6:22 
GeneralRe: version numbers Pin
Michael Flanakin24-Mar-04 6:50
Michael Flanakin24-Mar-04 6:50 
GeneralRe: version numbers Pin
surgeproof24-Mar-04 7:15
surgeproof24-Mar-04 7:15 
GeneralRe: version numbers Pin
Heath Stewart24-Mar-04 8:55
protectorHeath Stewart24-Mar-04 8:55 
You specify the version of the assembly using the AssemblyVersionAttribute. You can also increment the version of only the file - keeping the assembly version, which is what is used for Type references, the same to facilitate easier updates - by using the AssemblyFileVersionAttribute.

For instance, .NET 1.0 uses the assembly versions 1.0.3300.0, but the file versions (as of SP2) are 1.0.3705.228. If you examine your MANIFEST in your assemblies that target 1.0, you'll always see assembly references to versions 1.0.3300.0 for .NET 1.0 (1.0.5500.0 for 1.1).

All this is to facilitate side-by-side installation of both the .NET Framework versions and applications that use these versions. In many cases, applications can work on newer frameworks for which they were compiled so long as you don't use obsoleted functionality and don't use reflection to access private members (you may get lucky and it may still work, but it isn't gauranteed).

To learn more about versioning your apps - including how to redirect assembly bindings to newer or older assemblies, read the following articles:
  1. How the Runtime Locates Assemblies (Step 1 especially)[^]
  2. Redirecting Assembly Versions[^]
  3. Creating a Publisher Policy[^]


 

Microsoft MVP, Visual C#
My Articles
GeneralRe: version numbers Pin
surgeproof24-Mar-04 9:19
surgeproof24-Mar-04 9:19 
GeneralRe: version numbers Pin
Michael Flanakin24-Mar-04 10:32
Michael Flanakin24-Mar-04 10:32 
QuestionTransparent Label on a Progressbar? Pin
DennisMetz24-Mar-04 5:54
DennisMetz24-Mar-04 5:54 
AnswerRe: Transparent Label on a Progressbar? Pin
surgeproof24-Mar-04 6:24
surgeproof24-Mar-04 6:24 
AnswerRe: Transparent Label on a Progressbar? Pin
Heath Stewart24-Mar-04 9:54
protectorHeath Stewart24-Mar-04 9:54 
GeneralRe: Transparent Label on a Progressbar? Pin
DennisMetz24-Mar-04 11:40
DennisMetz24-Mar-04 11:40 
GeneralApps without Mice Pin
Andrew Torrance24-Mar-04 5:43
Andrew Torrance24-Mar-04 5:43 
GeneralRe: Apps without Mice Pin
surgeproof24-Mar-04 6:15
surgeproof24-Mar-04 6:15 
GeneralRe: Apps without Mice Pin
Colin Angus Mackay24-Mar-04 6:25
Colin Angus Mackay24-Mar-04 6:25 
GeneralRe: Apps without Mice Pin
Heath Stewart24-Mar-04 9:12
protectorHeath Stewart24-Mar-04 9:12 
Questionhow to wrap some dll functions from VC6 Pin
yyf24-Mar-04 5:37
yyf24-Mar-04 5:37 
AnswerRe: how to wrap some dll functions from VC6 Pin
Heath Stewart24-Mar-04 9:08
protectorHeath Stewart24-Mar-04 9:08 
GeneralRe: how to wrap some dll functions from VC6 Pin
yyf24-Mar-04 10:23
yyf24-Mar-04 10:23 
GeneralRe: how to wrap some dll functions from VC6 Pin
Heath Stewart24-Mar-04 11:19
protectorHeath Stewart24-Mar-04 11:19 
GeneralProperty Sheet Pin
DrGreen24-Mar-04 4:41
DrGreen24-Mar-04 4:41 
GeneralRe: Property Sheet Pin
Heath Stewart24-Mar-04 4:50
protectorHeath Stewart24-Mar-04 4:50 
GeneralRe: Property Sheet Pin
DrGreen24-Mar-04 5:08
DrGreen24-Mar-04 5:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.