T
Tolga Tanriverdi
I wrote my program with visual c#2005 so it s written with .net framework
2.0 but after that i take my code and compiled with visual studio .net 2003
it was working good until today.
Today i deleted the .net framework 2.0 and i took this error when my program
executed
here is the part of my code which gives the error
what can be the problem
2.0 but after that i take my code and compiled with visual studio .net 2003
it was working good until today.
Today i deleted the .net framework 2.0 and i took this error when my program
executed
Code:
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in
system.dll
Additional information:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.40607\aspnet_admin.exe
here is the part of my code which gives the error
Code:
private System.Diagnostics.FileVersionInfo myinfo;
String dir = myproc[i].MainModule.FileName.ToString();
if (dir[0] == 'C' || dir[0] == 'D' || dir[0] == 'E' || dir[0] == 'F' ||
dir[0] == 'G' || dir[0] == 'H')
{
myinfo = System.Diagnostics.FileVersionInfo.GetVersionInfo(dir);
}
what can be the problem