Questions tagged [.net-4.6.2]

.Net 4.6.2 is the version of the popular Microsoft .Net framework and adds several new features. Use for questions specifically related to .NET Framework 4.6.2. For questions on .NET Framework generally, use the .net tag.

.Net 4.6.2 is the latest version of the popular Microsoft .Net framework and adds several new features.

What's New in .NET Framework 4.6.2
.NET Framework 4.6.2 System Requirements

Released by Microsoft Corporation
Release Date: 2016-08-06

158 questions
2
votes
0 answers

Clarification on .NET 4.6.2 Long Path Handling

With the release of .NET 4.6.2, a new way of handling long paths was implemented. I've read the release articles on it, and from what I understand: If I target .NET 4.6.2, I can use the System.IO classes with long paths, without having to prepend…
Michael C.
  • 93
  • 7
2
votes
0 answers

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable

My Asp.net application is hosted on IIS8 and OS Windows Server 2012. I have created my ASP.Net application using .Net framework 4.6.2. My application uses API provided by client using RestClient. APP Pool using framework 4.0. I found when Asp.net…
Rashi Garg
  • 177
  • 1
  • 1
  • 9
2
votes
1 answer

How to prevent DNS lookup when fetching by using HttpClient

I am not sure i am doing correctly or not Would below way prevent DNS lookup when keep-alive is set false? The host is : tatoeba.org The url is : http://188.213.24.161/eng/sentences/show/1 Here screenshots the url is given as above the host is set…
Furkan Gözükara
  • 22,964
  • 77
  • 205
  • 342
2
votes
1 answer

"Could not load file or assembly" error when net462 app references a netstandard1.5 library. But why?

I am trying to figure out what I could be doing wrong in this sample project. I am getting an error when my net462 application references a netstandard1.5 library. The application has a dependency on "System.Collections.Immutable": "1.3.0", which…
2
votes
0 answers

CommandLine v1.9.71.2 is incompatible with .NET Framework 4 Client Profile

I am currently transitioning between Visual Studio 2010 (with .NET v4.0) and Visual Studio 2015 (with .NET v4.6.2). I'm maintaining a production version of my application on 4.0 and a development version on 4.6.2. As an aside: Once the development…
2
votes
1 answer

Access denied when launching WPF application

We have a problem when launching WPF application that's been distributed via ClickOnce. Users that have this problem recently updated to .NET 4.6.2, but application itself is built and compiled under 4.5.2. But it installs ok as you can see from the…
chester89
  • 8,328
  • 17
  • 68
  • 113
1
vote
1 answer

NLog generating logs only once after the web api is launched instead of appending new logs to the file

I have a .net 4.6.2 web api project with NLog logging with only one target of type file. The issue is that logging is behaving differently. Instead of appending logs to the same file continuously only first exception is getting logged and then…
1
vote
1 answer

NUnit3TestExecutor detecting tests as explicit run when they are not

When I try to run the tests, below message get displayed and none of the tests get executed NUnit3TestExecutor discovered 0 of xxxx NUnit test cases using Current Discovery mode, Explicit run Test run finished: 0 Tests (0 Passed, 0 Failed, 0…
user12073359
  • 289
  • 1
  • 11
1
vote
1 answer

How to Validate Azure AD SAML 2.0 Assertion in C# using ITfoxtec Identity SAML 2.0 library

My project technology is ASP.NET Webforms (.NET framework 4.6.2). We are using "ITfoxtec Identity SAML 2.0" library for Azure AD SAML Authentication. The sample code present in Itfoxtech website was helpful but, my manager asked me, how you are…
1
vote
0 answers

Want to create UTF-8 with BOM csv file in c#

static void Main(string args[]) { using (var streamWriter = new StreamWriter("D:\\path\\outputcsv")) { using (var csvWriter = new CsvWriter(streamWriter, CultureInfo.InvariantCulture)) ` This is my code to…
Shammu
  • 81
  • 7
1
vote
1 answer

C#. Windows Form. Partial class problem when migration from .NET 4.6.1 to 4.6.2

I try to modify Target framework from .NET 4.6.1 to 4.6.2 in Project Properties window of VS2019. Compilation of version 4.6.1 is OK. Compilation of version 4.6.2 fails: error CS0101: The namespace 'CoreClient' already contains a definition for…
Yakov
  • 187
  • 1
  • 11
1
vote
0 answers

apple push notification : The server returned an invalid or unrecognized response while using System.Net.HttpHttpClient

As per apple notification, https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns/ I am trying to upgrade my server side push notification code into standard .net…
1
vote
2 answers

ITfoxtec.Identity.Saml2 Invalid URI Issue

When i use net462 for my Okta SAML implementation this throw a Invalid URL when it this new Saml2AuthnRequest(config); but on my first try using this code on netcoreapp3.1` this worked perfectly fine. Please let…
1
vote
1 answer

Deployment of .NET Standard assembly (Microsoft.AspNetCore.SignalR.Client) in 4.6.2 Framework

There does not seem to be any particular guidance on what needs to be deployed when consuming a .net standard 2.0 package into the 4.6.2 framework build. We have a large 4.6.2 project that has one assembly using Microsoft.AspNetCore.SignalR.Client…
1
vote
1 answer

Attempting to run .Net Framework Web API in Docker container

I have a .NET Framework 4.6.2 Web API I am trying to run in Docker. docker-compose.yml version: "3.7" services: doctorportalapi: image: mcr.microsoft.com/dotnet/framework/aspnet:4.6.2-20200211-windowsservercore-ltsc2016 container_name:…
zhydian
  • 76
  • 5