Questions tagged [.net-4.7]

.NET 4.7 was originally released by Microsoft in June of 2017. It is a followup to .NET-4.6 and was included in the Windows 10 Creators Update.

109 questions
0
votes
0 answers

Implementing a customized desktop application using C# and.NET 4.7

How to customize the properties of the startmenu shortcut desktop application implemented in C# and .NET 4.7? I had created desktop application shortcut using IWshRuntimeLibrary,WshShell,IWshShortcut and the application name as exe1.I was stuck on…
0
votes
1 answer

Unable to resolve Serlog.Exceptions reference in build pipeline

My .NET Framework 4.7 App will not build in my CI pipeline, thought it will build in Visual Studio 2022 I get the following messages in the build logs Warning MSB3245: Could not resolve this reference. Could not locate the assembly…
Andy Joiner
  • 5,932
  • 3
  • 45
  • 72
0
votes
0 answers

How to get Microsoft.Extensions.Http in COM+ to work?

We use IHttpClientFactory in a .NET 4.7 COM+ class. To be able to use IHttpClientFactory, we added the Nuget package Microsoft.Extensions.Http version 7.0, which installed the following dlls in the packages…
Alex
  • 419
  • 1
  • 5
  • 14
0
votes
0 answers

IHttpClientFactory in .NET Framework without Dependency Injection

In a .NET Framework project without dependency injection, is it better to get an HttpClient instance through its constructor (new HttpClient) or through IHttpClientFactory? Which of the following two cases is better? HttpClient constructor …
Alex
  • 419
  • 1
  • 5
  • 14
0
votes
1 answer

How to specify private key for ECDSA Signing Key for Xml

I was implementing code for signing a xml document using specific private key in .net 6 using algorithm ECDSA with curve secp256k1 my .net6 code : ECDsaCng key = new ECDsaCng(); …
Moaaz Mahmoud
  • 17
  • 1
  • 9
0
votes
1 answer

Get Azure service bus queue status using NServiceBus

https://stackoverflow.com/a/50267687/2063755 provides the following code to get the queue status: string connectionString = "connection string"; var namespaceManager = NamespaceManager.CreateFromConnectionString(connectionString); var…
David Klempfner
  • 8,700
  • 20
  • 73
  • 153
0
votes
1 answer

FastReport .Net C# load frx file with Map object

I use FastReport .Net Designer to create .frx file with all my Report definition, and then I load it to my c# code, I added a Map Object, I did run the Preview and the map is shown well. But when I tried to load the .frx file from my c# code it…
0
votes
1 answer

WPF touch event in screen not working with UserControl

We are developing a WPF application. We use .net4.7 but we have tested it with .net5 and our problem persists. We have some different elements (buttons, input text...) and sometimes they have to show a "popup" (as a messagebox). So, our problem…
rosa.tarraga
  • 145
  • 1
  • 2
  • 10
0
votes
0 answers

Could not load file or assembly 'Microsoft.Azure.Services.AppAuthentication, Version=1.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

While trying to configure the AzureKeyVaultConfigBuilder for my .NET Framework 4.7.1 application I am getting the following error: "Could not load file or assembly 'Microsoft.Azure.Services.AppAuthentication, Version=1.0.1.0, Culture=neutral,…
Bmoe
  • 888
  • 1
  • 15
  • 37
0
votes
0 answers

An error occurred when trying to create a controller of type 'xxx'. Make sure that the controller has a parameterless public constructor. Ninject

I am working in .Net framework 4.7.2. I am facing a problem while using NInject dependency injection resolver. I am getting the following error when trying to access NotificationController, which has no parameterless constructor: "Message": "An…
0
votes
0 answers

Using date named archives together with archiveAboveSize parameter

Using nlog 4.7.2.11786. Same behavior with the latest version - 4.7.10.13013. I use archiveAboveSize to invoke archiving when log file reaches set size. All logs from a single day needs to be stored in the same archive. However old data is just…
InfernumDeus
  • 1,185
  • 1
  • 11
  • 33
0
votes
1 answer

Earliest inspection of request before entry to application

Before hitting the application itself, is there a way to respond to requests, preferably based on URL, and return a response? Possibly a web.config server (IIS) configuration or a static page kinda like app_offline. Essentially, this is my scenario:…
AnimaSola
  • 7,146
  • 14
  • 43
  • 62
0
votes
3 answers

Successfully run a C# project on client machine with proper functioning Crystal Reports?

I made my project in C# Visual Studio 2017 using .Net Framework 4.7 and SQL Server 2008. Now I tried to run my project in the client machine which has Windows 10 installed on it. After installing I ran the .exe file, all my functions are running…
0
votes
0 answers

Detect Windows version correctly (when using a generated app manifest)

I want to be able to tell the Windows version during the app execution. According to the documentation, to differentiate between Windows 8.1+ and Windows 8, I need to target the application using manifest. Applications not manifested for Windows…
zvizesna
  • 43
  • 8
0
votes
1 answer

Selecting the right framework for a ConsoleApp on Mono

I need to develop a ConsoleApp that will run on Windows as well as a RaspberryPi (Raspbian - Debian 9) I have installed mono-complete on the RaspPi Now my question is this. Do I create in Visual Studio a consoleApp for .net Core or a consoleApp for…
Ian Chilvers
  • 161
  • 1
  • 7