April 2002
Intermediate to advanced
1024 pages
23h 26m
English
To demonstrate the installation and development processes, a simple application has been created that calls a method in an assembly. The main portion of this code is shown in Listing 6.5.
[STAThread]
static void Main(string[] args)
{
FooLib.Foo f = new FooLib.Foo();
Console.WriteLine("Foo: {0} ", f.Version);
}
|
This application references an assembly also in the project that implements the Version property, as shown in Listing 6.6.
[assembly: AssemblyDelaySign(true)] [assembly: AssemblyKeyFile(@"..\..\pubfoo.snk")] [assembly: AssemblyVersion("1.2.*")] . . . public class Foo { public Foo() { } public string ... |
Read now
Unlock full access