Questions tagged [.net-4.7.1]

62 questions
46
votes
9 answers

TFS Tests do not match framework settings

I am attempting to move a solution from TFS 2012 to TFS 2018 SP2RC2 but I can't get the unit tests to run correctly. All projects have been re-targeted to 4.7.1 and are built as x86 platform. We have a testsettings file that supplies nothing but…
Sam
  • 1,325
  • 1
  • 13
  • 26
25
votes
3 answers

The request queue limit of the session is exceeded

I have this error in ASP.NET application , NET 4.7.1. The request queue limit of the session is exceeded. Full: System.Web.HttpException (0x80004005): The request queue limit of the session is exceeded. at…
Kiquenet
  • 14,494
  • 35
  • 148
  • 243
12
votes
3 answers

Build error "An attempt was made to load an assembly with an incorrect format " after upgrade net framework 4.5.2 to 4.7.1

We are trying to update the framework of our program. We currently have it in version 4.5.2 and we want to update it to version 4.7.1 We have changed all the csproj of the solution, and when we compile in debug, the application compiles and works…
Meldrel
  • 155
  • 1
  • 2
  • 9
10
votes
3 answers

Simplified approach to IOptions

I am trying to get a .NET Framework class library in line with an ASP.NET Core 2.1 application while using builtin DI mechanism. Now, I created a config class and added appropriate section to…
mmix
  • 6,057
  • 3
  • 39
  • 65
8
votes
3 answers

Span and streams in .NET framework

I am working with network buffers and streams, and Span and Memory would fit perfectly in the application requirements. As per this question, I would like to get a Stream to accept Span as a parameter. I know that is implemented in .NET Core 2.1,…
Tomy
  • 439
  • 1
  • 5
  • 13
7
votes
1 answer

How to Override Web.config values with Azure KeyVault in .NET Framework 4.7.1

How can I implement Microsoft's Azure KeyVault in a ASP.NET Framework 4.7.1 WebForms application to override values in web.config with values from KeyVault? I do see references that we need a minimum version of .NET Framework 4.7.1 in order to do it…
Bmoe
  • 888
  • 1
  • 15
  • 37
7
votes
3 answers

How do I prevent .NET 4.7.1 libraries from copying the facade dlls to the bin folder?

I'm certain there's probably a bunch of things going on here that I don't understand well enough, so forgive me if this is a stupid question or if there's obvious details missing. I have a Visual Studio 2015 solution that I've upgraded from .NET…
Mir
  • 2,429
  • 1
  • 29
  • 34
6
votes
3 answers

C# HttpClient and Windows Authentication: Cannot access a closed Stream

I'm using the native C# HTTP client with a handler to process Windows Authentication and I'm having ObjectDisposedException. using (var httpClientHandler = new HttpClientHandler { Credentials = CredentialCache.DefaultNetworkCredentials }) { bool…
Kino101
  • 765
  • 8
  • 18
5
votes
3 answers

net471 System.Configuration.Install namespace could not be found

I am developing a .NET Core application using Visual Studio Code and the dotnet sdk on C#. I have two targets frameworks in the csproj: netcoreapp2.0;net471 and I want to compile a console application when the…
jjamardo
  • 267
  • 3
  • 9
4
votes
1 answer

Custom Provider for AWS SSM using Microsoft.Configuration.ConfigurationBuilders

I seem to be stuck at developing a custom Key/Value pair provider for Amazon's System Manager Parameter Store (SSM) using NETFramework 4.7.1 that utilizes Microsoft.Configuration.ConfigurationBuilders. The implementation: using System; using…
Haroon
  • 1,052
  • 13
  • 28
4
votes
1 answer

Mixing .net Framework projects with .net Core projects (and languages) - System.IO.FileNotFoundException

I have a solution in which most of the projects are VB.net projects which all target the .NET Framework 4.8. All of those specific projects compile properly and are running in production. I have added a C# project that targets .net standard 2.0. The…
3
votes
0 answers

VSCode C# Debug Symbols aren't loading

I have a .Net 4.7.1 framework program that I need to debug, but I can't put a breakpoint because debug symbols aren't loading. I've spent a day wasting time on this and it's getting extremely frustrating. I've rebooted VSCode, tried generating new…
Thomas
  • 871
  • 2
  • 8
  • 21
3
votes
2 answers

TimeZoneInfo.ConvertTimeFromUtc is not correctly applying DST on a deployed Azure Webjob

We've got a webjob that runs on .Net Framework 4.7.1 and that performs a datetime conversion from DateTimeOffset.UtcNow to Chile continental time (that is if I'm not mistaken "Pacific SA Standard Time"). When running this webjob locally (in a…
Glezalex
  • 33
  • 5
3
votes
2 answers

Can an app targeting .net framework 4.7.2 be safely run on .net framework 4.7.1?

I have this issue in which I'm currently targeting .NET Framework 4.7.2 in my solution but the Azure Web App Service only supports up to .NET Framework 4.7.1. So, my question is this: As long as I only use 4.7.1 features, should it work without…
3
votes
1 answer

How to correctly specify proxy with System.Net.HttpClient

Can anyone answer whether or not an HttpClient should be using default proxy if specified within web.config?
Jon Selby
  • 502
  • 1
  • 8
  • 23
1
2 3 4 5