Archive for April, 2007

Windows And .Net Framework Default Versions

Aaron Stebner has compiled a list of which version of the .Net Framework is included in which version of Windows by default:

Operating System Framework Version Included As
Windows XP Home/Professional SP1 .NET Framework 1.0 + SP2 MSI Based Installer
Windows XP Home/Professional SP2 .NET Framework 1.1 + SP1 MSI Based Installer
Windows XP Media Center Edition .NET Framework 1.0 + SP2 OS Component
Windows XP Tablet PC Edition .NET Framework 1.0 + SP2 OS Component
Windows Server 2003 (all editions) .NET Framework 1.1 OS Component
Windows Server 2003 R2 .NET Framework 2.0 MSI Based Installer*
Windows Vista (all editions) .NET Framework 2.0 & 3.0 OS Component

* although it appears as an OS component, it is actually just an MSI based installer.

The MSI based installers can be used to install or uninstall the .Net Framework from the OS, enabling it to be removed completely if needed.

Very useful if you are targeting specific platforms with your .Net applications.

Add comment Permalink April 24th, 2007 Adrian Banks
Subscribe to this feed Bookmark this post on del.icio.us Digg this post on digg.com Share this post

AssemblyFileVersion Compiler Warning

If you are using the AssemblyFileVersion attribute to mark your compiled assemblies with specific Win32 file version numbers, you may get a compiler warning with certain revision numbers. The compiler warning looks like this:

warning CS1607: Assembly generation -- The version '2.0.0.070105' specified for the 'file version' is not in the normal 'major.minor.build.revision' format.

This warning is documented as occurring when the version string is not in the major.minor.build.revision format, but does not explain why it happens for the example above.

Frans Bouma updated his existing post with the reason why. The revision part of the version number must not exceed 65535 (ie. a 16-bit number). If it does, the compiler generates the warning. The MSBuild Team posted about the same thing, but also provided the fact that it is the underlying operating system that imposes this limit.

Add comment Permalink April 23rd, 2007 Adrian Banks
Subscribe to this feed Bookmark this post on del.icio.us Digg this post on digg.com Share this post


Calendar

April 2007
M T W T F S S
« Mar   May »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Posts by Month

Posts by Category

RSS Feeds Feeds

Visitors

Visitor Map