Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0 Deployment
Hi all,I am trying to deploy my project but it gives an error on other computers like 'system.io.filenotfound'
it's work perfect on my computer and People who have Visual studio 2010 in his computer.I noticed cause of the error is some of reference that I used.So I remove the reference it worked on other computers but it's important for my application Then I tried to open it with process explorer on my computer wiht this dll and without this dll.When I include this dll there is some more included dlls called accesesibility.ni.dll and System.Forms.Windows.Resources.dll.I tried to copy my app folder this dlls but not solved my problem.Then I tried to examine it with reflector but this is not worked too. Name of the dll is "skincrafter_.net4.0_vs2010.dll" copying app folder the dlls can solve my problem ? and how to detect what reference is exactly requires.
 
Sorry for my bad english.
Posted 14-Dec-11 19:23pm
Kutayy491
Edited 15-Dec-11 2:22am
v3
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

try to put you referenced dll in GAC (C:\Windows\Assembly\). just drag and drop dll there you can't make copy, paste.
  Permalink  
Comments
Abhinav S at 15-Dec-11 0:39am
   
Yes that is another approach 5. However, assuming the dll is a third party, if the file is available in the bin folder, things should work.
koolprasad2003 at 15-Dec-11 2:01am
   
Thanks
Kutayy at 15-Dec-11 0:42am
   
I am trying to run on WinXP is this could be reason of problem ?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Try to copy the contents of the bin folder and then try to run.
 
If you are using COM Interop, then you might need to register a few dll's on the client system.
  Permalink  
Comments
Kutayy at 15-Dec-11 0:34am
   
I tried to open with whole references,I don't think that I have any com interops.thanks for your answer.
Abhinav S at 15-Dec-11 0:39am
   
One more point - ensure the appropriate .Net framework is installed on the client machine.
Kutayy at 15-Dec-11 0:40am
   
all versions of Framework are installed on the machine.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Maciej Los 295
1 OriginalGriff 249
2 Sergey Alexandrovich Kryukov 205
3 Aajmot Sk 197
4 Sinisa Hajnal 176
0 OriginalGriff 7,800
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,790


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 15 Dec 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100