Click here to Skip to main content
15,923,789 members
Home / Discussions / C#
   

C#

 
QuestionRe: howto disable sort in datagridview ? Pin
iswoolley20-Jun-06 5:00
iswoolley20-Jun-06 5:00 
Questionsignature of a file [modified] Pin
Mahmood Ilyas5-Jun-06 1:19
Mahmood Ilyas5-Jun-06 1:19 
AnswerRe: signature of a file Pin
Ed.Poore5-Jun-06 1:33
Ed.Poore5-Jun-06 1:33 
Questionantispyware Pin
Mahmood Ilyas5-Jun-06 1:12
Mahmood Ilyas5-Jun-06 1:12 
AnswerRe: antispyware Pin
Wjousts5-Jun-06 4:55
Wjousts5-Jun-06 4:55 
GeneralRe: antispyware Pin
led mike5-Jun-06 5:55
led mike5-Jun-06 5:55 
AnswerRe: antispyware Pin
Eric Seipp5-Jun-06 6:05
Eric Seipp5-Jun-06 6:05 
Questionhow to include header file in C# project [modified] Pin
Daniel Dusek5-Jun-06 1:03
Daniel Dusek5-Jun-06 1:03 
Hi,
I have a header file with some constants, e.g:
#define PRODUCT32_BUILD 4
#define INTERNAL_VERSION 1
#define INTERNAL_RELEASE 2
#define INTERNAL_SUBRELEASE 3
#define INTERNAL_BUILD PRODUCT32_BUILD
...

Then I have a C# project with class 'AssemblyInfo.cs', with informations like this:
// Appears as 'Assembly Version' and 'File Version' in file properties dialog box
[assembly: AssemblyVersion("0.0.0.0")]
...

What I need is to find a way, how to use the constants of the header-file to change the information in the 'AssemblyInfo.cs' of the c# project. So the result after the build will be : [assembly: AssemblyVersion("1.2.3.4")]. The 'AssemblyInfo.cs' must be changed before the build runs. Start with something like a pre-build and then build?

Regards Daniel




Daniel Dusek

-- modified at 7:13 Monday 5th June, 2006
AnswerRe: how to include header file in C# project Pin
Ed.Poore5-Jun-06 1:41
Ed.Poore5-Jun-06 1:41 
GeneralRe: how to include header file in C# project Pin
Daniel Dusek5-Jun-06 2:05
Daniel Dusek5-Jun-06 2:05 
GeneralRe: how to include header file in C# project Pin
Ed.Poore5-Jun-06 2:11
Ed.Poore5-Jun-06 2:11 
GeneralRe: how to include header file in C# project Pin
Kevin McFarlane5-Jun-06 2:26
Kevin McFarlane5-Jun-06 2:26 
GeneralRe: how to include header file in C# project Pin
Daniel Dusek5-Jun-06 2:32
Daniel Dusek5-Jun-06 2:32 
GeneralRe: how to include header file in C# project Pin
Kevin McFarlane5-Jun-06 3:51
Kevin McFarlane5-Jun-06 3:51 
AnswerRe: how to include header file in C# project [modified] Pin
leppie5-Jun-06 8:55
leppie5-Jun-06 8:55 
AnswerRe: how to include header file in C# project [modified] Pin
Daniel Dusek7-Jun-06 2:00
Daniel Dusek7-Jun-06 2:00 
Questionsavefiledialog help ? [modified] Pin
cmpeng345-Jun-06 0:34
cmpeng345-Jun-06 0:34 
AnswerRe: savefiledialog help ? Pin
Ed.Poore5-Jun-06 2:15
Ed.Poore5-Jun-06 2:15 
GeneralMessage Closed Pin
5-Jun-06 2:28
cmpeng345-Jun-06 2:28 
GeneralRe: savefiledialog help ? Pin
Dan Neely5-Jun-06 3:32
Dan Neely5-Jun-06 3:32 
Questiondatagridview problem: change cell type ? [modified] Pin
cmpeng345-Jun-06 0:24
cmpeng345-Jun-06 0:24 
AnswerRe: datagridview problem: change cell type ? Pin
RSindia5-Jun-06 0:35
RSindia5-Jun-06 0:35 
QuestionAdding assembly reference Problem Pin
EngHafez5-Jun-06 0:19
EngHafez5-Jun-06 0:19 
AnswerRe: Adding assembly reference Problem Pin
S. Senthil Kumar5-Jun-06 0:53
S. Senthil Kumar5-Jun-06 0:53 
GeneralRe: Adding assembly reference Problem Pin
EngHafez5-Jun-06 1:15
EngHafez5-Jun-06 1:15 

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.