By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,424 Members | 1,375 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,424 IT Pros & Developers. It's quick & easy.

conflict between .net framework 1.1 and 2.0

P: n/a
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


An unhandled exception of type 'System.IO.FileNotFoundException' occurred in
system.dll

Additional information:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.40607\aspn et_admin.exe

here is the part of my code which gives the error

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
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
any idea?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.