19 |
|
{ |
20 |
|
// the loaded version does not match |
21 |
|
Console.WriteLine("Warning:\n" + |
22 |
< |
"\t Loaded Granny2 DLL Version: " + _version.APIVersion.Version + "\n" + |
23 |
< |
"\t Expected Version: " + _version.ExpectedAPIVersion.Version); |
22 |
> |
"\t Loaded Granny2 DLL Version: " + _version.apiversion.Version + "\n" + |
23 |
> |
"\t Expected Version: " + _version.expectedapiversion.Version); |
24 |
|
// return from void to exit application |
25 |
|
return; |
26 |
|
} |
27 |
|
else |
28 |
|
{ |
29 |
|
// the loaded version matches |
30 |
< |
Console.WriteLine("Loaded granny2.dll: " + _version.APIVersion.Version); |
30 |
> |
Console.WriteLine("Loaded granny2.dll: " + _version.apiversion.Version); |
31 |
|
} |
32 |
|
// if we have arrived at this point, the loaded api version matches the what the library was built against |
33 |
|
} |