ILASM versioning
Hello everyone,I've got a question regarding the version of ilasm.exe as part of CLR 4:The version number is different on Windows 8.1 and Windows 10 (both have .NET 4.6 installed). I checked the...
View ArticleUnsigned assemblies and application running from NAS
I created an in-house utility program that we run from a NAS location. This program loads several unsigned DLLs at runtime (LoadAssembly). The program runs fine most of the time, but from time to time,...
View ArticleTreatment of NULLS in .NET Framework 4.5
HelloI've converted an application from .NET framework 3.5 to 4.5 and it appears NULLS are treated differently. Can any advise if this is correct and how it is different?Thanks
View ArticleFaulting module name: clr.dll
We are using .Net Framework 4.0 and while running the console app the application is throwing below the error and exiting with error code80131506."Faulting module name: clr.dll" After restarting the...
View ArticlePros and Cons of COM reference and DLL reference
I would like to know pros and cons of COM object reference and DLL reference. Say,I'm writing a tool to do some operation with MS Excel, should i add the reference of the Excel in .Net tab or COM...
View ArticleHow to pass all arguments to a wrapper function in .NET Profiler with ILRewrite?
Hi , I want to make a profiler like New Relic's .NET agent, but I get some trouble. The effect just like the output below. a C# method like: int Foo(int a, int b, int c) { Console.Writeline("a={0},...
View ArticleDelegate Caching Question
I have a question about delegate caching. Lets say I have this simple object: public class MyObject { public MyObject() {} public void Speak( delegate Action<string> getString ) {...
View ArticleIs there any hot fix for Windows 10 for CLR known crash issue
Hi everyone, There is an known CLR crash issue like below: Issue 8 When you create native code for certain methods, the .NET Framework applications and NGEN processes may experience an unexpected...
View ArticleMulti Page Printpreview in vb.net
I'm trying to Show Multi Page in printPreview Dailog. Actually a Tablelayoutpanel1 have 12 row .Each Row have Radchart graph.So i want to print the whole Chart graph.in below Code is Showing only one...
View ArticleInstalling in mapped network drive.
Hi, I am developing an installer packege in VS 2005. One of our clients reported that he could not install our application in mapped network drive. One Unhandled exception...
View ArticleX509Certificate2.PrivateKey fails even if HasPrivateKey == true
Hi,I am trying to exercise the methods and properties of X509Certificate2 class as I wish to convert an application from .Net Framework 1.1 with its many P/Invoke and CAPICOM calls to a pure .Net app...
View Article.Net Profiler - JIT Compilation Callbacks not called in .Net Version 2.0
The profiler is getting registered and i am getting the ModuleLoadStarted and ModuleLoadFinished Callbacks in my profiler code. But For the same modules the JITCompilationStarted and any other JIT...
View Article.Net Profiler - How to do sampling .Net web applications
Hi,Now i am following Instrumentation of .Net web applications which gives me some overhead .How can i do this profiling by Sampling..? (Hope Sampling will not give much overhead to me)Sampling too...
View ArticleUnable to use some APIs from a network drive, CASPOL does not seem to do the...
Hi All,We are using Clearcase so our code is running from a network drive. Our client application is using C# UI and native code behind.I recently upgraded my computer and moved to Windows 7 and for...
View Articlewhy does an assembly in the BIN folder get referenced at runtime from another...
Hi there,I solved this already after a day, but a) thought it might help others and b) wanted to (try to) understand WHY this happened and how I could have discovered it sooner.I think this is fairly...
View ArticleCngkey import not working for ECDSA
Hi,I am trying to use the CngKey import and it gives me an exception.I have a byte array of 64 bytes as my public key and I need to used it to verify an ECDSA signature received.How will be this...
View ArticleUWP Release mode - .NET Native tool chain - Bad performance
Compiling the project in debug mode just works fine. But for the store submission a release mode compiled version is required.Therefore, I started to build my app in release mode and had to determine...
View ArticleSolved: InstallUtil throws ArgumentOutOfRangeException when trying to install...
This is just to help people troubleshoot the ArgumentOutOfRangeException problem when trying to install a windows service with installutil. It took me a good while to understand the reason of the...
View ArticleXamarin
I want to create an android blank app on visual studio, but there is a error always occurs "value can not be null", even when I create cross platform application, just IOS template shows up.
View ArticleHow can I change any type from function signature to object type in IL?
I saw the link below, and want to implement my dynamic IL for making any type to Oject type. https://blogs.msdn.microsoft.com/davbr/2006/02/27/bug-inspecting-value-type-returns/ My way is below: 1.If a...
View Article