Questions tagged [.net-4.7.2]

.NET Framework 4.7.2 was released on April 30th, 2018, and includes several improvements.

The .NET Blog announcement can be found here:

https://blogs.msdn.microsoft.com/dotnet/2018/04/30/announcing-the-net-framework-4-7-2/

Some of those improvements include:

  • [ASP.NET] Support for SameSite cookie in ASP.NET
  • [ASP.NET] Support for ASP.NET Dependency Injection
  • [ClickOnce] Per-monitor support for WPF and HDPI-aware VSTO apps deployed via ClickOnce
  • [SQL] Always Encrypted enhancements in SQL Connectivity
  • [Networking & BCL] Enhanced .NET Framework support for .NET Standard 2.0
  • [BCL] Cryptography improvements
  • [WPF] Diagnostic enhancements

The full content of the development notes can be found here:

https://github.com/Microsoft/dotnet/blob/master/releases/net472/README.md

311 questions
3
votes
2 answers

install .net framework 4.7.2 in docker

I'm new to .Net Environment, I'm trying to implement docker here for my firm. They were using 4.5 earlier so I used the following statement in my dockerfile: RUN Install-WindowsFeature NET-Framework-45-ASPNET ; \ Install-WindowsFeature…
NealGul
  • 101
  • 1
  • 3
  • 13
3
votes
3 answers

"Error 0x800713ec - Asia" when Installing .NET Framework 4.7.2 targeting pack

I downloaded and tried to install the .NET Framework 4.7.2 Targeting Pack. When the downloaded installer runs it produces this error for unknown reasons: Note that I am in the USA and have not downloaded an Asia-specific installer (AFAIK), so that…
StayOnTarget
  • 11,743
  • 10
  • 52
  • 81
3
votes
2 answers

The type or namespace name 'HttpResponseMessage' could not be found

I have verified that the file which has the HttpResponseMessage as return type is set to "compile" like they said here: Why I cannot use HttpResponseMessage class? I have migrated from packages.config to packagereference (nuget) and have a .net…
JP Hellemons
  • 5,977
  • 11
  • 63
  • 128
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

TDS Error on Azure Entity Framework SQL Calls after Windows 10 April 2018 Update

I have the following C# code that executes against a SQL Server hosted in Azure. protected IQueryable FilterUpdatedRows(IQueryable query, DateTime lastSyncTimestamp) where T: class, ITimestamp { return query.Where(x => x.InsertTimestamp…
2
votes
1 answer

Should I pass the full URL or just the domain to ServicePointManager.FindServicePoint()?

I've been reading about how to use HttpClient in .NET Framework. The two main points I gathered was that HttpClient should be a singleton, and ServicePointManager.FindServicePoint() needs to be called in case of DNS changes. But what do you pass to…
David Klempfner
  • 8,700
  • 20
  • 73
  • 153
2
votes
0 answers

How to work with dates, which exists before the start of the summertime?

Germany introduced a summer time shift on 6. April 1980. Therefore I would expect the time shift on 1979 to GMT+1 and on 1980 to GMT+2 In Javascript this is correct: new Date("1979-06-18T00:00:00.000") new Date("1980-06-18T00:00:00.000") How ever,…
Christian Gollhardt
  • 16,510
  • 17
  • 74
  • 111
2
votes
1 answer

.NET Framework 4.7.2 installed but not shown in the target type

I have already installed .NET Framework 4.7.2 as shown in the screenshot below. But when I create a new project (or try to add a new project within an existing solution), the target type for .NET Framework 4.7.2 is not shown (shown in the second…
2
votes
1 answer

How to get js intellisense for pagemethods/webmethods ASP.NET Webforms VS2022?

I'm maintaining a solution developed in .NET Framework 4.7.2 and using ASP.NET Webforms. To do some serverside functions I'm using WebMethods. The framework is exposing a PageMethods (object i assume?) to call the functions…
2
votes
0 answers

Newly installed .NET version doesn't show up in target frameworks

I want do develop a console app for .NET Framework 4.72 I installed the .NET Framework 4.7.2 developer pack. I restarted the system, opened Visual Studio to create a new project but the :NET Framework 4.7.2 doesn't show up in the target framework…
Maxxx
  • 87
  • 1
  • 2
  • 9
2
votes
1 answer

How to output all .NET framework DLLs used by exe

I am using .NET Standard Framework 4.7.2 for a simple console application. Is there a way to output all the necessary referenced dlls from the .NET Framework to the output folder so the user doesn't have to install the .NET Runtime on their machine?
2
votes
1 answer

The Timer with TimerCallback and TimeSpan parameter is not calling the callback cyclically

Knowing well that Windows is not a real time OS I need to call a function cyclically in a very short time-span below 1 millisecond (Requirement). To avoid a higher CPU load, I felt good about using a System.Threading.Timer and a TimerCallback…
2
votes
1 answer

unable to make httpclientfactory working from a .net framework 4.7.2 winform project

i read about everything i could find about HttpClientFactory and after a few days struggling with this, i am about to give up, but taking a chance here in case anyone could help. I am just trying to implement HttpClientFactory in my .net 4.7.2…
2
votes
1 answer

Get uncompressed form of P-384 curve PK

I have a base-64 public key of a P-384 elliptic curve. Trying to write a C# (.NET 4.7.2) code to get the uncompressed form (manage to do with OpenSSL, but from operatives reasons, cannot use it in production). I can use Microsoft cryptography lib or…
baruchl
  • 219
  • 2
  • 13
2
votes
1 answer

System.Text.Json 6.0.2 Serialize error - trying to load System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1

We are using C# .Net Framework 4.7.2, JsonSerializer in System.Text.Json Version 6.0.2. Solution builds fine. We get a runtime error when Serializing: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1,…
1 2
3
20 21