I created a strong naming key pair MyKey.snk using sn utility.
I strong named my assembly Hello(in the name space Greet) using that keyfile by setting it in the signing tab of the project properties.
I m using this strong named assembly in another console appln ConsoleExe as:
using System;
using System.Collections.Generic;
using System.Text;
using Greet;
namespace ConsoleExe
{
class Program
{
static void Main(string[] args)
{
Hello h = new Hello();
h.sayHello();
Console.ReadLine();
}
}
}
Now i change the content/version of Hello class and compile it.
Then try to run ConsoleExe(Ctrl+F5), i should get an error right.. saying the version CLR is looking for is not present!!! But I dont get any error.It runs fine.how s this possible?!?!