1,272 questions with Developer technologies | .NET | .NET Runtime tags

Sort by: Updated
0 answers

Performance issue for dot-net-5.0 on docker running on centos server

I am encountering a performance problem while executing a bash command from dot-net-core 5.0. I have n files (.csv) in a specific directory based on some business rules I write n file_name into a (.txt) file After finishing I execute a shell…

Developer technologies | .NET | .NET Runtime
Developer technologies | .NET | Other
Developer technologies | C#
asked 2021-04-20T05:30:28.537+00:00
Marc Dibeh 1 Reputation point
0 answers

.Net Core 3.1 Based Stand alone Web API is crashing with stack overflow exception due to the KERNELBASE.dll

I have a .Net Core 3.1 based Web API created as a standalone package MyApp.exe and installed in a windows based container. Only in certain container instances the WebAPI process MyApp.exe getting crashed randomly. From the application it is not logging…

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
290 questions
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
757 questions
Developer technologies | .NET | .NET Runtime
asked 2021-02-18T11:57:28.547+00:00
Mohammad Bhaji 1 Reputation point
commented 2021-04-16T10:11:58.943+00:00
prmanhas-MSFT 17,946 Reputation points Microsoft Employee Moderator
3 answers

Directory.CreateDirectory error on linux using C#.net core - Error: access path is denied

Hello All, I cannot create directory on linux ,it is giving error. The error is "access to the path is denied" I am using following code in c#.net core if (!Directory.Exists(logPath)) { Directory.CreateDirectory(logPath); } Please…

Developer technologies | .NET | .NET Runtime
Developer technologies | .NET | .NET CLI
Developer technologies | C#
asked 2021-04-07T10:00:12.823+00:00
Prabs 1 Reputation point
commented 2021-04-15T09:05:46.557+00:00
Prabs 1 Reputation point
1 answer

Method not found: System.MissingMethodException

I am upgrading .net core web api 2.2 to .net core 3.1 while runtime i am getting error like , 'Microsoft.Extensions.DependencyInjection.IServiceCollection…

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | .NET Runtime
Developer technologies | ASP.NET | Other
asked 2021-04-12T06:57:37.02+00:00
Ketan Patil 21 Reputation points
commented 2021-04-14T18:04:13.383+00:00
Ketan Patil 21 Reputation points
0 answers

How to close c#.net core console application in Linux terminal window.

Hi, I have an c#.net core console application. I need to close application manually in Linux terminal window. My application is long running process. some time user wants to close application. How to do it? Please help me on this

Developer technologies | .NET | .NET Runtime
Developer technologies | C#
asked 2021-04-14T08:41:46.95+00:00
Prabs 1 Reputation point
commented 2021-04-14T17:24:26.767+00:00
Lex Li 6,037 Reputation points
0 answers

CLR, when does it actually loads referenced assembly

Hi all, my first question here so please be forgiving. I'll try not to get in too much of business logic here. What my problem is, in general, is that depending of what properties given class has on itself, then regular typeof(className) causes some…

Developer technologies | .NET | .NET Runtime
Developer technologies | C#
asked 2021-04-13T10:18:53.117+00:00
Maciej Krzemiński 1 Reputation point
commented 2021-04-14T10:58:18.8+00:00
Viorel 122.6K Reputation points
3 answers

Windows 10 Enterprise 2016 version 1607 - .NET Runtime version 2.0.50727.8745

Hi, We have Windows 10 enterprise 2016 version 1607. We have an HMI RUNTIME software that always crashes because of the error in the attached screenshot. We are not able to identify the root cause of this error. Any idea, what is the reason for…

Developer technologies | .NET | .NET Runtime
Windows for business | Windows Client for IT Pros | Devices and deployment | Configure application groups
asked 2021-04-10T19:33:55.783+00:00
Amrhassan 1 Reputation point
commented 2021-04-14T07:58:41.45+00:00
Teemo Tang 11,466 Reputation points
2 answers

C++/CLI V.S error " ClassLibrary.dll isn't a valid win32 application" . Changing startup item .

Hello Everyone... I am trying to creat "UserControl" then add it to "MainForm" in C++/CLI. But i found only one solution to add "UserControl" to "MainForm" via creating project as a Class Library.dll…

Developer technologies | .NET | .NET Runtime
Developer technologies | C++
Developer technologies | .NET | Other
Developer technologies | C#
asked 2021-04-10T21:50:05.687+00:00
Wami007 296 Reputation points
commented 2021-04-14T03:32:39.287+00:00
Petrus 【KIM】 546 Reputation points
2 answers One of the answers was accepted by the question author.

VS2019 not showing older frameworks installed

I haven't created a new project for about 6 months (this is Windows Forms). Today I tried to create a new .NET project and started work. I needed impersonation, and i have a reusable class I always use. The class would not work because the methods…

Developer technologies | .NET | .NET Runtime
asked 2021-04-13T20:05:22.703+00:00
bek1 26 Reputation points
answered 2021-04-13T21:18:34.39+00:00
bek1 26 Reputation points
1 answer

How to check avilable free disk space drive on linux using C#.Net Core

Hi, I have an console application which is developed with .net core 3.1. I want to check free available disk space drive on linux. Please help me on this. In windows it will look like this, but i need to check on linux string…

Developer technologies | .NET | .NET Runtime
Developer technologies | C#
asked 2021-04-05T07:11:19.157+00:00
Prabs 1 Reputation point
commented 2021-04-13T06:07:43.28+00:00
Timon Yang-MSFT 9,606 Reputation points
1 answer

inputbox textbox

Hi I want know what is the structure of inputbox() function and textbox control in VS 2017 .NET Framework 4.6.2. Please tell me

Developer technologies | .NET | .NET Runtime
asked 2021-04-11T16:34:42.627+00:00
kaveh rahimi 66 Reputation points
commented 2021-04-12T05:56:19.067+00:00
Xingyu Zhao-MSFT 5,381 Reputation points
0 answers

Can't activate .NET Framework

Hello Everyone When I try to start Powershell, I get this message: ][2] I am from switzerland and I speak german and this means: To run this application, you must first install one of the following versions of .NET Framework: v4.0 To obtain the…

Developer technologies | .NET | .NET Runtime
asked 2021-04-09T08:04:05.83+00:00
Sathu 1 Reputation point
commented 2021-04-12T02:38:04.077+00:00
Xingyu Zhao-MSFT 5,381 Reputation points
0 answers

Visual Studio C++/CLI Error : “Failed to load toolbox item, It will be removed from Toolbox”

Picture Linked to Title, I was try to: Clean and Rebuild won't work Project built in x86 Restart V.S doesn't work I just: Created Form and userControl by Default name Linked To Windows and Advanced to "main" Added code…

Developer technologies | .NET | .NET Runtime
Developer technologies | C++
Developer technologies | .NET | Other
Developer technologies | .NET | .NET CLI
Developer technologies | C#
asked 2021-04-07T22:39:48.463+00:00
Wami007 296 Reputation points
commented 2021-04-10T21:29:23.96+00:00
Wami007 296 Reputation points
1 answer One of the answers was accepted by the question author.

WinForm Timers not firing

I have an application that has been running for the last couple of years without problem. I had reason to make some additions to the application recently and it completely stopped working. On closer investigation, NONE of the timers that I have…

Developer technologies | Windows Forms
Developer technologies | .NET | .NET Runtime
Developer technologies | C#
asked 2021-04-08T10:27:49.033+00:00
Andrew Fraser TDK 101 Reputation points
commented 2021-04-09T10:35:37.107+00:00
David Lowndes 4,726 Reputation points
0 answers

System.DirectoryServices is not supported on this platform.

Hi, I am converting a .net core application which run on Windows to container image on linux. This application check for AD group the user belongs to and uses System.DirectoryServices namespace. But when running in linux container, getting this…

Developer technologies | .NET | .NET Runtime
asked 2021-04-08T17:22:28.107+00:00
Binil Balakrishnan 6 Reputation points
commented 2021-04-09T02:10:23.34+00:00
Xingyu Zhao-MSFT 5,381 Reputation points
1 answer One of the answers was accepted by the question author.

I need to install a proprietary app on Windows 10 and get a dfsvc error

Our company purchased two brand new Dell laptops. We have a proprietary app that we have been using for several years on previous versions of Windows 10 with no issues. When trying to install it on these new laptops, both of them give this error: …

Developer technologies | .NET | .NET Runtime
asked 2021-04-08T13:46:47.617+00:00
Ian Cook 96 Reputation points
accepted 2021-04-08T22:05:39.8+00:00
Ian Cook 96 Reputation points
1 answer

.NET 3.5 reference dll not found on .NET 2.0 Windows Server 2003 machine. Should I manually add this dll to GAC or need to install .NET Framework 3.5 ?

Hi All, I have .NET framework 2.0 installed on my Windows Server 2003 machine. I have a source code which was targeting .NET framework 3.5. My project is throwing error on the reference file System.Data.DataSetExtensions.dll. It says file not found…

Developer technologies | .NET | .NET Runtime
Developer technologies | Visual Studio | Setup
asked 2021-04-07T04:53:48.743+00:00
Ian Taylor 1 Reputation point
commented 2021-04-08T12:13:32.333+00:00
Tianyu Sun-MSFT 34,441 Reputation points Microsoft External Staff
0 answers

C# Directory.CreateDirectory() not working on linux machine

Hello All, I have an .Net core 3.1 console applicaiton. Directory.CreateDirectory() is giving error on linux. Error: Access to the path is denied" Please help me on this issue.

Developer technologies | .NET | .NET Runtime
Developer technologies | C#
asked 2021-04-08T10:35:55.417+00:00
Prabs 1 Reputation point
0 answers

Application dll memory consumption after crossgen execution

Good day! We have a terminal server. For the one of dll in application, crossgen was executed. After executing crossgen, at the first launch of the application, an address in memory is allocated for this dll, for other instances of the running…

Developer technologies | .NET | .NET Runtime
asked 2021-04-08T07:26:37.593+00:00
Support TOR 1 Reputation point
2 answers

Encountering System.UnauthorizedAccessException when trying to delete a file.

Hi All, I am encountering System.UnauthorizedAccessException while trying to delete a file even though the file is not marked as read only and the user has all the required access for that file. Can someone help me in identifying the other possible…

Developer technologies | .NET | .NET Runtime
Developer technologies | C#
asked 2021-04-07T11:06:04.583+00:00
Wadhawan, Rishabh 1 Reputation point
answered 2021-04-07T12:53:33.66+00:00
Karen Payne MVP 35,586 Reputation points Volunteer Moderator