Click here to Skip to main content
15,895,142 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionVector graphic Pin
asestar6-Dec-06 3:41
asestar6-Dec-06 3:41 
AnswerRe: Vector graphic Pin
Paul Conrad26-Dec-06 17:07
professionalPaul Conrad26-Dec-06 17:07 
GeneralRe: Vector graphic Pin
asestar5-Jan-07 5:44
asestar5-Jan-07 5:44 
Questioncrystalr reports Pin
shaz jazz6-Dec-06 1:17
shaz jazz6-Dec-06 1:17 
AnswerRe: crystalr reports Pin
gnadeem10-Dec-06 6:32
gnadeem10-Dec-06 6:32 
Questionfaulting module mscorwks.dll .Net Runtime 2.0 Error Reporting Pin
bigeyed5-Dec-06 17:47
bigeyed5-Dec-06 17:47 
AnswerRe: faulting module mscorwks.dll .Net Runtime 2.0 Error Reporting Pin
MatrixCoder5-Dec-06 18:01
MatrixCoder5-Dec-06 18:01 
Questionhow to execute ngen output .ni.exe file Pin
Andrew Shapira5-Dec-06 15:30
Andrew Shapira5-Dec-06 15:30 
I am doing performance measurements and would like to use a native executable to avoid having JITs occur during performance timing. How does one execute an ngen-generated executable?

There are blogs and MS documentation everywhere that talk about how to use ngen, but I have not found a single place that says how to execute an ngen-executable! Mad | :mad:

Here is what I tried. Compile:

% csc helloworld.cs

Then install in the global assembly cache:

% ngen install helloworld.exe

Then go to the assembly cache and try to execute:

% cd c:\windows\assembly\helloworld\[hex string]
% ./helloworld.ni.exe

This gives the error message: c:\windows\assembly\helloworld\[hex string\helloworld.ni.exe is not a valid WIN32 application.
AnswerRe: how to execute ngen output .ni.exe file Pin
Scott Dorman5-Dec-06 16:10
professionalScott Dorman5-Dec-06 16:10 
GeneralRe: how to execute ngen output .ni.exe file Pin
Andrew Shapira5-Dec-06 16:32
Andrew Shapira5-Dec-06 16:32 
QuestionNeed a way to map enum values to human friendly strings Pin
nicknotyet5-Dec-06 8:49
nicknotyet5-Dec-06 8:49 
AnswerRe: Need a way to map enum values to human friendly strings Pin
George L. Jackson5-Dec-06 10:39
George L. Jackson5-Dec-06 10:39 
GeneralRe: Need a way to map enum values to human friendly strings Pin
nicknotyet5-Dec-06 10:51
nicknotyet5-Dec-06 10:51 
GeneralRe: Need a way to map enum values to human friendly strings Pin
Dan Neely5-Dec-06 10:55
Dan Neely5-Dec-06 10:55 
GeneralRe: Need a way to map enum values to human friendly strings Pin
George L. Jackson5-Dec-06 10:56
George L. Jackson5-Dec-06 10:56 
GeneralRe: Need a way to map enum values to human friendly strings Pin
nicknotyet5-Dec-06 11:16
nicknotyet5-Dec-06 11:16 
GeneralRe: Need a way to map enum values to human friendly strings Pin
Scott Dorman5-Dec-06 13:59
professionalScott Dorman5-Dec-06 13:59 
GeneralRe: Need a way to map enum values to human friendly strings Pin
nicknotyet6-Dec-06 5:18
nicknotyet6-Dec-06 5:18 
Question'OptionalField' attribute Pin
Hendrik Debedts5-Dec-06 8:16
Hendrik Debedts5-Dec-06 8:16 
AnswerRe: 'OptionalField' attribute Pin
Scott Dorman5-Dec-06 14:04
professionalScott Dorman5-Dec-06 14:04 
GeneralRe: 'OptionalField' attribute [modified] Pin
Hendrik Debedts5-Dec-06 22:32
Hendrik Debedts5-Dec-06 22:32 
AnswerRe: 'OptionalField' attribute Pin
Hendrik Debedts6-Dec-06 0:19
Hendrik Debedts6-Dec-06 0:19 
GeneralFileSystemWatcher question Pin
Alsvha5-Dec-06 5:20
Alsvha5-Dec-06 5:20 
AnswerRe: FileSystemWatcher question Pin
Stuart Wells5-Dec-06 6:05
Stuart Wells5-Dec-06 6:05 
GeneralRe: FileSystemWatcher question Pin
Hendrik Debedts5-Dec-06 8:06
Hendrik Debedts5-Dec-06 8:06 

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.