Questions tagged [.net-4.6.1]

.Net 4.6.1 of the Microsoft .Net framework. .Net 4.6.1 is compatible with .NET Standard 1.4

238 questions
52
votes
11 answers

.Net Framework 4.6.1 not defaulting to TLS 1.2

Our client have recently upgrade the security protocol to TLS 1.2. Therefore We have our application upgraded to 4.6.1 expecting the security protocol will be default to TLS 1.2 but it is not. Any idea why?
Harihara Iyer
  • 539
  • 1
  • 4
  • 5
45
votes
10 answers

Type 'Object' is defined in an assembly that is not referenced (NET Standard 2.0/.NET Framework 4.6.1)

I'm using the .NET Standard 2.0 preview, on which my Class Libraries are based. After having trouble with a few NuGet packages, especially regarding archive extraction, I decided to migrate my .NET Core 2.0 Console projects back to the .NET…
jAC
  • 4,800
  • 6
  • 37
  • 51
27
votes
1 answer

What is the difference between .NET Framework 4.6.1 Targeting Pack and .NET Framework 4.6.1 Runtime?

I want to develop .net framework 4.6.1 applications using Visual studio 2012.So, I tried to install 4.6.1 developer pack for visual studio 2012.But when I go to this link to install the framework.It provides me two links, one for .NET Framework…
V K
  • 1,495
  • 3
  • 16
  • 40
17
votes
3 answers

Unable to resolve error when try dotnet restore multi project solution

I've got a solution that builds locally and I've created a new build and added one step to it dotnet restore I'm getting this error message: ... OTHER SUCCESSFUL INSTALLATIONS ... log : Installing…
chris31389
  • 5,798
  • 2
  • 44
  • 55
17
votes
1 answer

4.6.1 framework update leaves web.config httpRuntime still at 4.5?

i recently upgraded our c# Web Applications to use .net framework 4.6.1 from 4.5 and only today noticed in the web.configs the .net version differs from the .net version. Everything seems to work fine in production but my questions is, since the…
Kakoritz
  • 300
  • 1
  • 2
  • 15
11
votes
1 answer

Why Uri.TryCreate throws NRE when url contains Turkish character?

I have encountered an interesting situation where I get NRE from Uri.TryCreate method when it's supposed to return false. You can reproduce the issue like below: Uri url; if (Uri.TryCreate("http:Ç", UriKind.RelativeOrAbsolute, out url)) { …
Selman Genç
  • 94,267
  • 13
  • 106
  • 172
10
votes
4 answers

This application requires one of the following versions of .NET Framework

I am trying to migrate our application to the newer version of .NET Framework. From current version of 4.5 to 4.6.1 Reason, why we are migrating to version 4.6.1 instead of 4.7 or 4.6.2 is, that most of our users and developers do have Windows 10…
Kajiyama
  • 3,163
  • 7
  • 23
  • 37
10
votes
1 answer

Can't select .NET Framework 4.6.1 in Visual Studio Project properties

I installed .NET Framework 4.6.1 using this url: http://www.microsoft.com/en-us/download/details.aspx?id=49981 But when I open a Visual Studio (2015) Project I can't select version 4.6.1 See image: Why I can't choose 4.6.1 which I installed?
Ozkan
  • 3,481
  • 7
  • 35
  • 65
9
votes
1 answer

C# Method overloading resolution and user-defined implicit conversions

I try to find some information about method overloading resolution in case of presence of user-defined implicit conversions and about conversions priority. This code: class Value { private readonly int _value; public Value(int val) { …
Daniel Vlasenko
  • 407
  • 2
  • 10
7
votes
1 answer

System.Web.Http methods missing in Nunit test project

I am writing some unit test for an ApiController. I continue to get multiple System.MissingMethodException exceptions for methods in the System.Web.Http namespace. Message: System.MissingMethodException : Method not found:…
7
votes
2 answers

How to fix No connection could be made because the target machine actively refused it 127.0.0.1:64527

I have an MVC application which depends on a web API application, I hosted the two on a shared hosting environment. API on the subdomain and MVC on the main domain the API is api.mydomain.com and the MVC is mydomain.com, the API works fine anytime I…
banji
  • 107
  • 1
  • 1
  • 3
7
votes
2 answers

How do I configure target framework for VSTest 2015 to run a unit test built to use .net 4.6.1?

I'm attempting to configure TeamCity to run my unit tests using VSTest.console.exe for Visual Studio 2015. The only options that appear valid for the test runner ( even in the .runsettings file ) are: