Click here to Skip to main content
15,884,029 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,
I have written a small C# application and have the EXE file for that in the debug folder. I need to change the file version for that file. When ever i edit that file i am unable to change its version. Can any one tell me how i can do it.
Also please let me know how i can read the version from the application code itself.
Posted
Comments
Ankur\m/ 6-Jul-10 2:15am    
You can set it in project property pages as well.

you set it in the app.config file. I can't imagine that it would have been hard to find this info if you'd tried to look.
 
Share this answer
 
Comments
asjadazeez 6-Jul-10 1:41am    
Sorry i am new to programming. any way i can find app.config file. can you please tell me where i can find it.
Apart from App.Config, you can handle the version in AssemblyInfo file that must be present in your application's properties folder.
 
Share this answer
 
Comments
asjadazeez 6-Jul-10 1:42am    
well thanks i get it.
asjadazeez 6-Jul-10 1:46am    
Can you please tell me one more thing. Is there any way i can access assembly info data from form1.cs.
Sandeep Mewara 6-Jul-10 2:10am    
Here you go: http://www.developersdex.com/gurus/articles/804.asp
This link is on 'HowTo retrive data from the AssemblyInfo.cs class'

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