my windows forms application throws filenotfoundexception when run on another machine

Posted by user248785 on Stack Overflow See other posts from Stack Overflow or by user248785
Published on 2010-01-19T07:58:28Z Indexed on 2010/03/16 17:01 UTC
Read the original article Hit count: 356

Filed under:
|

Hi, I have created a windows forms application using vs2008. when i copy the bin folder over to another machine and try to run it the applicaiton throws a filenotfoundexception error. Ive looked at the references files used in the project and each file points to either

  • c:\Windows\Microsoft.NET\Framework\v2.0.50727...
  • c:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5...
  • c:\Program Files\Common Files\Microsoft Shared\Visual Basic Power Packs\1.1...

i have verified that these directories exist on the other machines that cause the error. the two machines that i have tried it on and that throw there error are

Windows XP WITHOUT VS2008 installed and Windows 7 with VS2008 installed

I tried on two machine that DID work which are

Windows XP with VS2008 and and my development machine Windows 7 with VS2008

Could anyone provide me with some insight on this issue Thanks

© Stack Overflow or respective owner

Related posts about filenotfoundexception

Related posts about .NET