Click here to Skip to main content
16,012,843 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi developer's

I have created a windows application in C# 2.0 using visual studio 2005. This project takes CSV file form any location of system and after sort and replace function apply on CSV file and save this in CSV format.

The problem is my client want only a project exe, not all project file and setup of project because this .exe client want to another members.
So when I given this exe file to my client, this exe work on their system very efficiently, but after 23 days .exe throws some errors.
But after solving all the errors .exe file does not given a great response. How make a project exe portable?

Please solve my problem.
Posted
Updated 22-Dec-10 18:42pm
v3

Well, apart from other answer, a direction to move ahead for portable exe if that is what you are looking for: Use it to make portables[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 26-Feb-11 19:28pm    
Good reference.
--SA
The problem you're describing is not a portability problem.

(You never mentioned what versions of the platform was used by your client and those "another members". Basically, if you develop any project using VS 2005, the result of compilation is always backward-compatible with all .NET run-time versions from v.2.0 and later. In real life you can usually disregard versions prior to 2.0 -- they were no good. In this way, you should consider the portability problem closed.)

To solve this seemingly mysterious problem, we would need full source code of your project. Alternatively, something could understand what's going on if you provide detailed description of the problem and full exception dump (if there is an exception), however, this is much less likely. However, I do understand you may have limited access to your client's computers to do anything, but... do they need a fix, after all?

Also, you would need seriously improve grammar of your text (spelling is not bad, but your grammar barely allows me to understand your though).

At the same time, such ill behavior is not quite a miracle. It you say it is 23 days, the application can involve time calculation with a bug which is only manifested after some time; your application may write persistent data and use it again in next run time, so there could be a bug such as the problems are accumulated in this data file(s); one of the computers could simply have over-populated hard drive. Also, one of the computers could have a virus -- a lot of reasons.

But after all, you should understand that nobody will be able to provide any more help unless you do your investigation or perhaps provide your source code (sometimes first glance shows obviously wrong or suspect code).
 
Share this answer
 
Comments
Espen Harlinn 26-Feb-11 11:06am    
Good reply - a 5
Sergey Alexandrovich Kryukov 26-Feb-11 19:28pm    
Thank you.
--SA

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900