Questions tagged [.net-runtime]

.NET Runtime also known as Common Language Runtime (CLR), the virtual machine component of Microsoft's .NET framework, manages the execution of .NET programs.

CLR is often referred to as .NET Runtime inside Microsoft components. For example, in the event of .NET Framework runtime errors, CLR is referred to as .NET Runtime in the Windows Event Log.

36 questions
1
vote
2 answers

Store version of UWP Package with a full trust process forms app keeps crashing on launch

I have a UWP app with a full trust win32 forms app bundled with it. My project structure is like UWP App Win32 Forms App (.NET Framework 4.7.2) Sync Library (.NET Framework 4.7.2) - referred by Forms App Domain Library (.NET Standard 2.0) -…
Razor
  • 669
  • 1
  • 10
  • 28
1
vote
0 answers

.Net Process terminated due to .net run time error. Exit code e0004743

We have a windows service which is actually a web server in production environment. It crashed once unexpectedly. The only clue was the event log which is as below: Log Name: Application Source: .NET Runtime Date: 4/8/2019…
1
vote
3 answers

Are there any differences when using Property "get {}", "set {}" or "=>" syntax in C#?

Code_1 ( This code is using "=>", Why both of these Code have the same result ) public class Infor { private TFirst first; private TSecond second; private TThird third; public TThird Third { get => third;…
CosMik
  • 51
  • 4
0
votes
0 answers

HTTP Error 500.31 - Failed to load ASP.NET Core runtime even after isntalling Hosting Bundle

I have an ASP.NET Core 7 API with front end on React.js. We recently migrated it to .NET 7 it was previously built on .NET 5. I'm trying to deploy it on the production server where I have already installed .NET 7 hosting bundle along with…
0
votes
0 answers

How to determine from within Java if .NET Runtime is installed?

I have a large Java program that also executes other programs, and some of them runs on .NET 6. That's why, when the program loads, I want to check if .NET is installed so I can show the user an error message prompting them to download and install…
Alexandre Paiva
  • 304
  • 3
  • 13
0
votes
0 answers

how to give a check whether the client machine has .net 6 installed or not if install then is that greater then .net runtime 6.0.0 in wix bootstarper

Here I have created that condition = 6.0.0]]> then I have declare the variable in the wix.
0
votes
0 answers

Dotnet 6.0.12 runtime installed silently, cannot be managed by the control panel or Windows settings

I have created a Windows software (desktop application) that runs on dotnet 6.0.12 runtime. So I install dotnet 6.0.12 silently via Wix Installer plugin, and it works fine. However, some users is installed dotnet runtimes but I cannot find or…
Hieu Pham
  • 7
  • 2
0
votes
0 answers

Could not load type 'System.Object' from assembly 'System.RunTime, Version=6.0.0.0

Previously my application was build on .net framework 4.8 and the setup has done by using wix toolset version 3.11.2 . due to some reason we have migrated some of the component into .net .standard 2.0 and one of the project in to .net 6 because it…
0
votes
1 answer

dotnet installation is not working properly

I have been trying to install dotnet in 2-3 different ways. I have tried the steps given on Microsoft's dotnet official page and some other ways that I have found on web. All the time after installation when I give dotnet --version command then it…
Abidstic
  • 46
  • 4
0
votes
1 answer

C# application host version detection when no .NET runtime is installed

I have an application that relies on .NET 6 runtime. If I don't have any .NET runtimes installed on my machine, not only the one my application needs but also without other versions of .net runtime, I could see some messages prompted when execute…
Xin Ding
  • 1
  • 1
0
votes
0 answers

Customize .NET Runtime Missing Error Message

I have a WPF application that needs .NET 6 Desktop Runtime installed on user's device. And I use TFM to use Windows SDK like net6.0-windows10.0.19041.0 However, when I don't have .net 6 desktop runtime installed,…
Xin Ding
  • 1
  • 1
0
votes
1 answer

.NET Core bin path changes randomly on Amazon Linux 2

We deploy our ASP.NET Core applications in Amazon Linux 2 using AWS Auto Scaling When the linux services were created, the path for the dotnet binary was configured as: ExecStart=/usr/bin/dotnet ... That path worked fine until some months ago, on…
0
votes
2 answers

Default .NET APIs in Visual Studio

My question is relatively simple, however I cannot find an answer online. Where can you find out which .NET APIs will be installed by default with visual studio, and which will need to be installed serperately? e.g. System.Threading.Tasks ->…
Bart
  • 63
  • 1
  • 12
0
votes
1 answer

unable to execute .Net core runtime commands

Whenever i run dotnet command say for example dotnet --list-runtime it gives me below error A fatal error occurred. The folder [C:\Program Files\dotnet\host\fxr] does not exist Please note .net runtime is already installed on my machine
Md Yunus
  • 1
  • 5
0
votes
0 answers

.NET locks all assemblies on runtime, even unused ones

I have a .NET 4.7 Solution with several projects, one of them a ServiceBase. I build the Solution, then start the service. Now it seems like the service locks every single DLL in the output folder, even the ones unrelated to the ServiceBase…
Doidel
  • 319
  • 8
  • 23