Click here to Skip to main content
15,902,492 members
Home / Discussions / C#
   

C#

 
GeneralRe: Encrypt bitmap image for C# Windows application Pin
nudma19-Mar-09 7:13
nudma19-Mar-09 7:13 
GeneralRe: Encrypt bitmap image for C# Windows application Pin
Henry Minute19-Mar-09 7:31
Henry Minute19-Mar-09 7:31 
GeneralRe: Encrypt bitmap image for C# Windows application Pin
nudma24-Mar-09 6:42
nudma24-Mar-09 6:42 
QuestionString to int Pin
mrithula818-Mar-09 23:47
mrithula818-Mar-09 23:47 
AnswerRe: String to int Pin
musefan18-Mar-09 23:50
musefan18-Mar-09 23:50 
GeneralRe: String to int Pin
Michael Bookatz19-Mar-09 0:54
Michael Bookatz19-Mar-09 0:54 
GeneralRe: String to int Pin
Mohammad Dayyan19-Mar-09 1:03
Mohammad Dayyan19-Mar-09 1:03 
GeneralRe: String to int Pin
musefan19-Mar-09 1:08
musefan19-Mar-09 1:08 
GeneralRe: String to int Pin
Michael Bookatz19-Mar-09 1:14
Michael Bookatz19-Mar-09 1:14 
GeneralRe: String to int Pin
DaveyM6919-Mar-09 2:09
professionalDaveyM6919-Mar-09 2:09 
GeneralRe: String to int Pin
musefan19-Mar-09 2:15
musefan19-Mar-09 2:15 
GeneralRe: String to int Pin
Mirko198019-Mar-09 1:11
Mirko198019-Mar-09 1:11 
GeneralRe: String to int Pin
Michael Bookatz19-Mar-09 1:16
Michael Bookatz19-Mar-09 1:16 
GeneralRe: String to int Pin
Mirko198019-Mar-09 1:36
Mirko198019-Mar-09 1:36 
GeneralRe: String to int Pin
Michael Bookatz19-Mar-09 2:11
Michael Bookatz19-Mar-09 2:11 
GeneralRe: String to int Pin
DaveyM6919-Mar-09 2:11
professionalDaveyM6919-Mar-09 2:11 
AnswerRe: String to int Pin
DaveyM6919-Mar-09 0:18
professionalDaveyM6919-Mar-09 0:18 
GeneralRe: String to int Pin
Greg Chelstowski19-Mar-09 0:57
Greg Chelstowski19-Mar-09 0:57 
GeneralRe: String to int Pin
DaveyM6919-Mar-09 2:18
professionalDaveyM6919-Mar-09 2:18 
QuestionBuild number control Pin
12Code18-Mar-09 23:25
12Code18-Mar-09 23:25 
AnswerRe: Build number control Pin
Nagy Vilmos18-Mar-09 23:35
professionalNagy Vilmos18-Mar-09 23:35 
GeneralRe: Build number control Pin
Simon P Stevens18-Mar-09 23:48
Simon P Stevens18-Mar-09 23:48 
williamnw wrote:
[assembly:AssemblyVersion("1.2.*")]


I've tried this and I've never been able to get it to work. It always just gives me a version of "1.2.*" on the actual file.

Have you got it working williamnw? (Sorry for hijacking your thread 8kelvin)

For 8kelvin: There are two other options:

1) The AssemblyInfo[^] task can be used to auto increment the version number by modifying the assemblyinfo.cs file prior to the build being run. You just add an include statement to your project file.

2) There's a task in the MSBuild Community Tasks[^] project that can be used to generate a version number and write it into a generated assemblyinfo.cs file prior to the build running. Again, it just requires some additions to your csproj file (or msbuild script if you use it)

To be honest I have problems with both methods in my projects. We have large projects containing multiple assemblies and always end up with references screwed up because one of them is trying to reference versions prior to the number increment, or version numbers getting incremented twice or stupid things like that. This is the one area of our system I'm very unhappy with, but I can't find a decent solution.

Simon

GeneralRe: Build number control [modified] Pin
12Code19-Mar-09 0:06
12Code19-Mar-09 0:06 
GeneralRe: Build number control Pin
Simon P Stevens19-Mar-09 0:10
Simon P Stevens19-Mar-09 0:10 
GeneralRe: Build number control Pin
Nagy Vilmos19-Mar-09 0:19
professionalNagy Vilmos19-Mar-09 0:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.