// Format: ...
// Valid values for each part of the version number are between 0 and 65535.
[assembly: AssemblyVersion("1.0.*")]
At this point, the C# compiler has all the information needed to generate strong name data (as
you are not specifying a unique culture value via the [AssemblyCulture] attribute, you “inherit” the
culture of your current machine, which in my case would be US English). Compile your CarLibrary
code library and open the manifest using ildasm.exe. You will now see a new .publickey tag is used
to document the full public key information, while the .ver token records the version specified via
the [AssemblyVersion] attribute (see Figure 15-19).
C H A P T E R 1 5
■
I N T R O D U C I N G . N E T A S S E M B L I E S
507
8849CH15.qxd 10/22/07 1:46 PM Page 507
Figure 15-19.
A strongly named assembly records the public key in the manifest.
Do'stlaringiz bilan baham: |