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

.NET (Core and Framework)

 
GeneralRe: Slow property initialization and thread safety [modified] Pin
Not Active28-Mar-11 18:13
mentorNot Active28-Mar-11 18:13 
GeneralRe: Slow property initialization and thread safety Pin
davidnz28-Mar-11 20:16
davidnz28-Mar-11 20:16 
GeneralRe: Slow property initialization and thread safety Pin
Bernhard Hiller28-Mar-11 20:19
Bernhard Hiller28-Mar-11 20:19 
GeneralRe: Slow property initialization and thread safety Pin
davidnz28-Mar-11 20:23
davidnz28-Mar-11 20:23 
QuestionFatal Execution Engine Error while trying to run .net exe Pin
surender.m22-Mar-11 20:38
surender.m22-Mar-11 20:38 
AnswerRe: Fatal Execution Engine Error while trying to run .net exe Pin
Pete O'Hanlon22-Mar-11 23:04
mvePete O'Hanlon22-Mar-11 23:04 
GeneralRe: Fatal Execution Engine Error while trying to run .net exe Pin
surender.m22-Mar-11 23:52
surender.m22-Mar-11 23:52 
GeneralRe: Fatal Execution Engine Error while trying to run .net exe Pin
Pete O'Hanlon23-Mar-11 0:01
mvePete O'Hanlon23-Mar-11 0:01 
Are you running multiple versions of .NET on your machine? It could be that the app is targetting a different version of the runtime to the one you think it is. A way to test this is to create a virtual machine with an installation of the framework that you think it's targetting, and attempt to run the application in this VM. Then, if it still fails, create a simple console application that definitely targets that version. If you the console app works, then you pretty much know that either your whole application is hosed, or it's a different version of the framework that it should be running.

One thing you could do, is try to load your assembly from a different .NET application using the Assembly load methods and see if it throws a BadImageFormatException which can occur if your application is either not a .NET assembly, or is internally corrupted.

Beyond that, the corruption could be because you are relying on a component that uses a different version of the .NET framework to the one you reloaded, and that framework is corrupt.

I'm not a stalker, I just know things. Oh by the way, you're out of milk.

Forgive your enemies - it messes with their heads


My blog | My articles | MoXAML PowerToys | Onyx


GeneralRe: Fatal Execution Engine Error while trying to run .net exe Pin
surender.m23-Mar-11 0:30
surender.m23-Mar-11 0:30 
GeneralRe: Fatal Execution Engine Error while trying to run .net exe Pin
Pete O'Hanlon23-Mar-11 0:42
mvePete O'Hanlon23-Mar-11 0:42 
AnswerRe: Fatal Execution Engine Error while trying to run .net exe Pin
Prasanta_Prince15-Apr-11 0:17
Prasanta_Prince15-Apr-11 0:17 
QuestionBest practices on Generics (in .NET 4.0)? Pin
Sander Rossel22-Mar-11 11:09
professionalSander Rossel22-Mar-11 11:09 
AnswerRe: Best practices on Generics (in .NET 4.0)? Pin
DaveyM6922-Mar-11 12:07
professionalDaveyM6922-Mar-11 12:07 
GeneralRe: Best practices on Generics (in .NET 4.0)? Pin
Sander Rossel24-Mar-11 1:15
professionalSander Rossel24-Mar-11 1:15 
GeneralRe: Best practices on Generics (in .NET 4.0)? Pin
DaveyM6924-Mar-11 5:21
professionalDaveyM6924-Mar-11 5:21 
GeneralRe: Best practices on Generics (in .NET 4.0)? Pin
Sander Rossel24-Mar-11 5:48
professionalSander Rossel24-Mar-11 5:48 
GeneralRe: Best practices on Generics (in .NET 4.0)? Pin
DaveyM6926-Mar-11 6:58
professionalDaveyM6926-Mar-11 6:58 
AnswerRe: Best practices on Generics (in .NET 4.0)? Pin
Luc Pattyn26-Mar-11 7:16
sitebuilderLuc Pattyn26-Mar-11 7:16 
GeneralRe: Best practices on Generics (in .NET 4.0)? Pin
Sander Rossel28-Mar-11 8:43
professionalSander Rossel28-Mar-11 8:43 
GeneralRe: Best practices on Generics (in .NET 4.0)? Pin
Rob Grainger25-Mar-11 5:18
Rob Grainger25-Mar-11 5:18 
QuestioncurrentElement.GetAttribute(VB.NET) Pin
Herboren21-Mar-11 10:10
Herboren21-Mar-11 10:10 
AnswerRe: currentElement.GetAttribute(VB.NET) Pin
davidnz22-Mar-11 23:32
davidnz22-Mar-11 23:32 
QuestionNew SDK for visual studio projects Pin
rodrigogroff18-Mar-11 9:39
rodrigogroff18-Mar-11 9:39 
AnswerRe: New SDK for visual studio projects Pin
Not Active18-Mar-11 9:49
mentorNot Active18-Mar-11 9:49 
GeneralRe: New SDK for visual studio projects Pin
rodrigogroff18-Mar-11 9:52
rodrigogroff18-Mar-11 9:52 

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.