Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Browsing all 1710 articles
Browse latest View live

Generating sequence diagrams in Visual Studio 2019 Enterprise Edition

Team,I'm looking for options to generate sequence diagrams from the code in VS2019 Enterprise edition. I can see that option in VS previous editions and not in VS 2019 enterprise. Any helps around this...

View Article


How to get complete call stack of each thread -using dostacksnapshot

Hi, In my CLR profiler, I am going to get stack trace of each thread. For that, i set the event mask COR_PRF_MONITOR_THREADS |  COR_PRF_ENABLE_STACK_SNAPSHOT in my profiler initialize function. When a...

View Article


Generating minidumps/itrace files manually

Is it possible to generate .itrace files without using the Intellitrace standalone collector ?I'd like to manually generate them directly from my app.Thanks

View Article

How to get complete call stack of each thread -using dostacksnapshot

Hi, In my CLR profiler, I am going to get stack trace of each thread. For that, i set the event mask COR_PRF_MONITOR_THREADS |  COR_PRF_ENABLE_STACK_SNAPSHOT in my profiler initialize function. When a...

View Article

Interop: Importing WIN32 dll functions and void *data I/O parameters

I am not 100% sure what could be wrong here. I spent long hours and did all online research.Basically, I have this C# sharp class API DLL with over 100 DllImport functions from WIN32 APIENTRY DLL....

View Article


Unable to locate LocalDb when using container in Docker and Asp.net core 3.1

Hi,I have an asp.net core 3.1 project and I want to use containerized using docker. I stumble into a problem when I start the app it cannot locate the localdb. The LocalDb resides on a separate project...

View Article

IOException: More Data is Available on Microsoft.Win32.RegistryKey.GetValueNames

RegistryKey testkey =...

View Article

Finalizer

What is the core differnce betwenn destructor and Finalize()

View Article


A need for a PreFinalizer?!

What is plausibility and prospects for a PreFinalizer?  It is not same as try...prefinally...finally.~PreFinalize() anyone ?

View Article


Moq and Microsoft.Extensions.Logging.ILogger unit tests failing after...

Hello,Some of my unit tests are failing after updating Microsoft.Extensions.Logging.Abstractions from Version=2.0.0.0 to Version=3.1.1.0.I have an ILogger mocked as so:            var loggerMock = new...

View Article

Instrumentation Profiler in CoreCLR - Ways to Load HelperAssembly in to...

I am trying to Instrument .NET Core web applications that runs on .NET Core 3.1 using CoreCLR Profiler. I have set the environment values CORECLR_PROFILER , CORECLR_ENABLE_PROFILING  and...

View Article

Get originating exception details from SEHException?

We have a very large application that we are moving to C# over the course of several years. There is still a lot of "legacy" C++ code that was originally making heavy use of COM; especially ADO...

View Article

CLR exception - code e0434352

I have one .net application which crashes.. An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module. I tried to analyze the dump file but I could not find the root...

View Article


Runtime DLLs taken from NativeImages_v4.0.30319_32

Its about Windows Service built on Dot Net Framework 4.0 and hosted on 2  identical Windows servers 2016 and  having Dot Net Framework 4.7.2.However if we check the output of Process Explorer for the...

View Article

regarding the .net core

hello,Can any on elaborate that is clr of .net and .net core is separate or they work on same clr, also what is the execution process of .net core applications.and also can we develop platform...

View Article


App crashes with error code 80131506

We are using .Net Framework 4.0 and while running the console app the application is throwing below the error and exiting with error code 80131506."Faulting module name: clr.dll" We have uninstalled...

View Article

.NET Core on Linux and MAC

Can you call a .NET Core library from native C++ on Linux and MAC.  I know this is possible through C++/CLI on windows, is there an option on Linux?

View Article


Memory leaks if I do not call garbage collection at app start

The application has a class with a finalizer (CF).CF refers to instances of class C1. An instance of class C2 refers to an instance of class C1. Finalizer of CF removes the reference from C2 toC1. When...

View Article

WPF. Class with finalizer. Memory leak

Continuing the topic I received fundamentally new data, so I decided to create a separate topic.Created a minimal reproducing application.Reproducing conditions:1) Visual Studio 20172) WPF...

View Article

Can SmtpClient.Send() Method send through different thread instead of main/ui...

Hello All,I try using SmtpClient.Send() in my C# application , as per my understanding this method will initiate the sending on the main/ui thread and would block..but in my application it seems...

View Article
Browsing all 1710 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>