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…
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…
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…
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…
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” ? …
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.…
.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 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…
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. …
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…