Gregory
I think the code
public string GetMyAssName()
{
string vbTab = " ";
foreach (Assembly ass in AppDomain.CurrentDomain.GetAssemblies())
{
vbTab = vbTab + ass.FullName;
}
return vbTab;
}
will give to me all available assemblies ( for example , as you said
@"System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";
)
but it gave me blank string, when I called my class dll in different testing program
const string ASSEMBLY_SYSTEM = "System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089";
const string ENCODING_NAME = "windows-1251";
static void Main(string[] args)
{
try
{
MyNetClass.Myclass myDot = new MyNetClass.Myclass ();
string sprp = " " ;
sprp = myDot.GetMyAssName();
Console.WriteLine(sprp);
This part of the code shows me black blank screen
and no errors , Building project MyNetClass as class dll library also was ok and has no errors
Whet I am trying to undestand, how NET reflector could be inside code
MVP-2006-2011, PHD in Math and Physics ,
host of
www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.