Questions tagged [.net-4.7.1]

51 questions
35
votes
5 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,083
  • 1
  • 8
  • 23
15
votes
1 answer

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
  • 13,271
  • 31
  • 133
  • 232
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
  • 5,458
  • 2
  • 34
  • 60
8
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
  • 115
  • 2
  • 8
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
  • 393
  • 3
  • 13
6
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
  • 340
  • 3
  • 12
6
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,101
  • 1
  • 26
  • 32
3
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
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
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
  • 235
  • 2
  • 8
3
votes
1 answer

Using .NET Standard library with Windows Compatibility Pack in .NET Framework

I'm working on migrating a large code base of libraries in a direction to eventually support .NET Core. Currently, everything is based on .NET Framework. I have a set of library projects which are consumed by several web applications. The plan is…
StuffOfInterest
  • 488
  • 3
  • 10
3
votes
2 answers

System.Net.Http MethodNotFoundException when executing method on .NET Framework 4.7.1 library loaded through Reflection

Setup As part of migrating a large VS solution from .Net 4.6 to 4.7.1, I have replaced all packages.config files with "PackageReferences" in each .csproj file and removed the corresponding standard "Reference" tags containing hint paths pointing at…
3
votes
0 answers

MVC view compilation using wrong .NET Framework

An existing web application is using .NET Framework 4.5.1. The project has the setting MvcBuildViews set to true. The project also uses a Prepend extension method for IEnumerable. Stuff breaks miraculously after merely installing the .NET…
AroglDarthu
  • 741
  • 5
  • 13
2
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
  • 750
  • 2
  • 6
  • 19
2
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
  • 23
  • 4
1
2 3 4