Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# WPF VS2010 .NET4
Hi everyone,
 
like the subject says, I am developing an aplication in wpf. The problem is when i try to run that app in another pc. .NET dependencies isn´t because i have .net client profile and extended.
What could be ? any ideas ?
Posted 18-Nov-11 4:18am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

There can be many reasons why an app fails to run. perhaps it's missing dependency DLLs. It could be a permissions issue. Maybe resource files or other config files are missing. It may be using hardcoded paths. And with .NET apps, the target machine may not have the exact same framework version (including any SPs).
  Permalink  
Comments
SAKryukov at 18-Nov-11 11:08am
   
Good check list, a 5.
--SA
cristovao50 at 18-Nov-11 11:19am
   
well, I made a install setup project and added all files in bin/debug directory of wpf app.
setup only detected one dependency - .NET;

I install the setup in other computers and it installs just fine. The problem is when i try to run application, nothing happens.
Nishant Sivakumar at 18-Nov-11 11:21am
   
You are releasing a debug-mode binary. You need to make a release-mode build and then distribute those files (/bin/release). The debug mode binaries are only meant for dev/debug/test work.
cristovao50 at 18-Nov-11 11:44am
   
its makes sense, I am going to try and after i leave some feedback...
cristovao50 at 18-Nov-11 13:14pm
   
problem solved, i was trying to load a wrong database ...

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

  Print Answers RSS
0 OriginalGriff 6,417
1 Sergey Alexandrovich Kryukov 5,344
2 Maciej Los 3,434
3 Peter Leow 3,259
4 DamithSL 2,490


Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 18 Nov 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