1,130 questions with .NET Runtime tags

Sort by: Updated
2 answers

Is it possible to perform a standalone build with a C++/CLI project?

As the question suggests, I'm trying to find out if it's possible to build a C++/CLI project so that the .NET runtime is included, in order to minimise dependencies on .NET being installed in advance. Is this possible with .NET 5 (or is it on the…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2020-11-30T10:07:43.587+00:00
Thomas Clarke 1 Reputation point
commented 2020-11-30T15:50:24.227+00:00
Thomas Clarke 1 Reputation point
1 answer

Integration Tests using XUnit.NET - Solution root could not be located using application root

I have two projects in the solution. Web API using .NET Core 3.1 Integration Tests using XUnit.NET and .NET Core 3.1, this project has a reference to Web API project A sample integration test class is here. public class…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,385 questions
asked 2020-11-27T14:04:28.237+00:00
Bhanu Prakash Thunuguntla 31 Reputation points
answered 2020-11-30T07:02:21.877+00:00
Brando Zhang-MSFT 2,961 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Cant find method DataGridView.ClearSelection(Int32, Int32, Boolean)

Hello, I am using VS VB.Net with .NET Framework 4.8. I want to clear the selection of all cells in a row of a DataGridView except for one cell. The .NET API Browser shows a method for that "ClearSelection(Int32, Int32, Boolean)". But with…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,591 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2020-11-29T13:26:44.327+00:00
STL 21 Reputation points
commented 2020-11-29T14:56:33.223+00:00
STL 21 Reputation points
1 answer One of the answers was accepted by the question author.

How to prevent ComImport interface function reordering?

Hi! I have strange problem while writing c# ComImport interface. Same name functions are reordered!? Example.... In C++ IDCompositionVisual function order is: STDMETHOD(SetOffsetX)(THIS_ float offsetX ) PURE STDMETHOD(SetOffsetX)(THIS_ In…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,685 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
324 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,345 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2020-11-27T10:15:43.607+00:00
vb 276 Reputation points
commented 2020-11-28T13:25:33.913+00:00
vb 276 Reputation points
1 answer

Blocking .NET 5 installation

Hello Microsoft , Looking forward to working with .NET 5.0 but we also need to know how to block the installation on those application servers where its not supported. Is the registry key to block it, “BlockNetFrameWork50” and set the value to “1” ? …

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2020-11-26T19:41:14.57+00:00
SamT 6 Reputation points
answered 2020-11-27T05:17:50.633+00:00
Roman Blinkov 1 Reputation point
3 answers

How to fin Class/Entity References and Line Number

Hi folks, I hope you are doing well. I want to write a program in C# that extract the class/entity references and with there line numbers where it is used in solution. I do research from internet I have found some references() but it can't me help.…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,345 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2020-11-26T05:53:05.417+00:00
Saifullah 1 Reputation point
commented 2020-11-26T10:40:35.217+00:00
Saifullah 1 Reputation point
1 answer

.Net Core : back compatibility problem when loading a legacy .Net 4.7.2 DLL using System.Console.Write() (missing method)

I have a .Net 5.0 C# wrapper that dynamically loads a legacy C++/CLI .NET 4.7.2 assembly Loading is successful, but I cannot run the code : an exception is raised about a missing System.Console.Write() implementation This is definitely a .Net 5.0…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2020-11-19T10:40:45.697+00:00
Pierre Chatelier 81 Reputation points
commented 2020-11-26T08:49:24.453+00:00
Pierre Chatelier 81 Reputation points
0 answers

.Net Core 3.1.10 Hosting Bundle - Is a restart required to complete installation?

Hi, I'm looking at installing the .Net Core 3.1.10 hosting bundle on to some Win16 backend Service Fabric nodes. The installation initiates a system restart at the end of the installation, however, there is an option viz. /norestart to perform the…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2020-11-25T12:55:31.17+00:00
Stephen Mahon 6 Reputation points
2 answers One of the answers was accepted by the question author.

Producing Word document with windows form, doesn't work for all PCs: System.Runtime.InteropServices.COMException (0x800A16CA)

Hello, I developed a windows form app to produce Word reports. At the beginning it worked fine on all the PCs producing well done documents, after I added the following chunk of code it stopped to produce the reports when executed on some PCs. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,846 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2020-11-24T11:33:54.547+00:00
TRIACCA Marco 101 Reputation points
accepted 2020-11-25T11:20:29.077+00:00
TRIACCA Marco 101 Reputation points
0 answers

Change field text color(red) on Main Entity and Subgrid using Javascript (Unified Interface)

I am currently using Dynamic 365 Unified Interface whereby on the javascript web resource which is using XMLHttpRequest(Retrieve data) to change some text field color on certain tabs and subgrid entity. May I know what will be the correct syntax on…

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,345 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
asked 2020-11-20T02:59:23.587+00:00
Kweh Hong Yang 1 Reputation point
commented 2020-11-23T08:06:52.07+00:00
Timon Yang-MSFT 9,576 Reputation points