By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,738 Members | 1,682 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,738 IT Pros & Developers. It's quick & easy.

How to automatically increment application assembly information

P: n/a
VS2005. I've read to put in assemblyInfo.cs:

[assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyFileVersion("1.0.0.*")]

but this does not work and the version is always 1.0.0.0.

Why in the graphic tool i can't put the * character?

Thanks.

Sep 18 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi Diogene,

Leave this line only:
[assembly: AssemblyVersion("1.0.0.*")]

and remove the other one:
[assembly: AssemblyFileVersion("1.0.0.*")]
This should help :)

_____________
Adam Bieganski
http://godevelop.blogspot.com
"Diogene Laerzio" wrote:
VS2005. I've read to put in assemblyInfo.cs:

[assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyFileVersion("1.0.0.*")]

but this does not work and the version is always 1.0.0.0.

Why in the graphic tool i can't put the * character?

Thanks.

Sep 18 '07 #2

P: n/a
Thanks it works! But I think there's no fast method (without writing
code) to increment only by one the version :(
Can I write a script in "Pre-Build event command line" to obtain this?

Do you know how?
On 18 Set, 16:48, Adam Bieganski <abieganski(at)gmail.comwrote:
Hi Diogene,

Leave this line only:
[assembly: AssemblyVersion("1.0.0.*")]

and remove the other one:
[assembly: AssemblyFileVersion("1.0.0.*")]

This should help :)

_____________
Adam Bieganskihttp://godevelop.blogspot.com

"Diogene Laerzio" wrote:
VS2005. I've read to put in assemblyInfo.cs:
[assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyFileVersion("1.0.0.*")]
but this does not work and the version is always 1.0.0.0.
Why in the graphic tool i can't put the * character?
Thanks.- Nascondi testo tra virgolette -

- Mostra testo tra virgolette -

Sep 18 '07 #3

P: n/a
I think this is the answer:

http://biasecurities.com/blogs/jim/a...10/08/166.aspx
Cheers,
_____________
Adam Bieganski
http://godevelop.blogspot.com
"Diogene Laerzio" wrote:
Thanks it works! But I think there's no fast method (without writing
code) to increment only by one the version :(
Can I write a script in "Pre-Build event command line" to obtain this?

Do you know how?
On 18 Set, 16:48, Adam Bieganski <abieganski(at)gmail.comwrote:
Hi Diogene,

Leave this line only:
[assembly: AssemblyVersion("1.0.0.*")]

and remove the other one:
[assembly: AssemblyFileVersion("1.0.0.*")]

This should help :)

_____________
Adam Bieganskihttp://godevelop.blogspot.com

"Diogene Laerzio" wrote:
VS2005. I've read to put in assemblyInfo.cs:
[assembly: AssemblyVersion("1.0.0.*")]
[assembly: AssemblyFileVersion("1.0.0.*")]
but this does not work and the version is always 1.0.0.0.
Why in the graphic tool i can't put the * character?
Thanks.- Nascondi testo tra virgolette -
- Mostra testo tra virgolette -


Sep 18 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.