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
3
votes
1 answer

UseLegacyPathHandling is not loaded properly from app.config runtime element

I'm trying to use the new long path support at my app. In order to use it, without forcing clients to have the newest .NET 4.6.2 version instelled on their machines, one should only add those elements to his app.config (see the link for more info…
Ofir H
  • 31
  • 5
3
votes
0 answers

Can not reference classes from asp.net core 4.6.2 project from within 4.6.2 class library

I have created a asp.net core (windows) project with asp.net identity targeting .NET 4.62. Then I created a class library (windows) project targeting .NET 4.62. To the class library I added the nuget: mstest.testframework dotnet-test-mstest I…
Elisabeth
  • 20,496
  • 52
  • 200
  • 321
2
votes
0 answers

Azure KeyVault Secrets Implementation for .NET Framework 4.6.2

I have some .NET Framework 4.6.2 Web applications that I am trying to implement with Azure Keyvault for my organization. The applications live on-prem. Our app has web.config files for multiple environments (DEV, QA, TEST, PROD, etc.). There are…
Bmoe
  • 888
  • 1
  • 15
  • 37
2
votes
2 answers

The type or namespace name "HTTP" doesn't exist in the namespace system.web error in .net 4.6.2

I am new to .net/C#. I am trying to build a project but getting a lot of missing reference error. When I am trying to install the packages like mentioned in example, I am getting error that it already exists in the project. PM> Install-Package…
Naxi
  • 1,504
  • 5
  • 33
  • 72
2
votes
1 answer

WebRequest with certificate fails on first call and succeeds all subsequent calls

Infrastructure I have an old .NET Framework application that I migrated from an old server. It's in 4.6.2 running on Windows Server 2012 R2. The forms application makes a call to a WCF service running also in the same server under the same…
Nick
  • 2,877
  • 2
  • 33
  • 62
2
votes
0 answers

Can a .Net Framework 4.6.2 project generate a .Net Core DLL?

Is it possible for a .Net Framework 4.6.2 project to use System.Reflection.Emit to create a .Net Core or .Net Standard DLL file? What I have now is a project that generates a .Net Framework 4.0 DLL file. Can I change some setting somewhere so that…
user2023861
  • 8,030
  • 9
  • 57
  • 86
2
votes
1 answer

XML Serialization Not populating the array

I am trying to serialize the below XML. But the section "Keys" are not getting populated and its coming as null in the serialized object. New 1
Ullan
  • 905
  • 4
  • 15
  • 28
2
votes
0 answers

Mismatched IEnumerable between mscorlib and netstandard?

In a multi-project solution, I am converting some of the projects from .NET Framework (4.6.2) to .NET Standard (2.0). I have an abstract class in the converted .NET Standard project that defines (for example) Public MustOverride Function…
2
votes
1 answer

Framework 4.6.2 not available in Visual Studio 2015?

I'm currently using Visual Studio 2015 with framework version 4.6.1. I need to use TLS 1.2 with my app. From what I've read, TLS 1.2 is the default with framework version 4.6.2. But, that version isn't listed in visual studio: VS 2015 Frameworks…
2
votes
1 answer

How to change WindowTaskScheduler RunDurationFor to Indefinitely

I have the method below to create TaskScheduler for Windows using ASquare.WindowsTaskScheduler, and it works as expected. public bool CreateTaskScheduler() { var file = $"{Setting.GetDirectory()}\\{Setting.GetSpacename()}.exe"; var response…
Maytham Fahmi
  • 31,138
  • 14
  • 118
  • 137
2
votes
1 answer

GZip/Deflate compression works for .NetCore 2.0 but not for .Net 4.6.2

I have written some code for compressing and decompressing data with Gzip or Deflate (both inside System.IO.Compression) and I have tested it in a .NetCore project where it works fine and all test cases pass. So I've recycled the same code in a .Net…
Paolo Ardissone
  • 837
  • 1
  • 6
  • 15
2
votes
0 answers

System.Runtime.Extensions Injection Errors in Visual Studio 2015

I'm running into an error which seems to be a combination of three factors, and I'm trying to find out if this is a known issue, and if there is a fix or work-around for it. Factor 1: We are using Visual Studio 2015, update 3. Factor 2: We are using…
2
votes
1 answer

How do you reference a netstandard project from .net project in VS2017?

I have a netstandard2.0 project that I'm using to interface with a 3rd party web service. I need to reference that project from an older .net 4.6.2 project in the same solution, but when I do I get a bunch of errors about needing references to types…
Zach
  • 2,537
  • 2
  • 17
  • 17
2
votes
1 answer

Enabling Long Paths in web application

I am attempting to enable long path support on a web application. I have followed the instruction here and was able to get long paths working on a simple console app. When I translate the same concept to a web application (Using the web.config…
CW2272
  • 183
  • 1
  • 10
2
votes
1 answer

WPF - Binding to an Integer/Double Property to show X amount of Rectangles

I'm currently trying to design a "stats" window that are known to be seen in RPG games, for example, showing how many points are distributed to Attack, Defense and Life. For example, I have the Property Life in my Class, and in my XAML I have a…
Steven Borges
  • 401
  • 1
  • 3
  • 16
1 2
3
10 11