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
2
votes
0 answers

Is there an equivalent to a worker service in .net-framework?

I need to write a long running service in .net 4.7.2. Actually in .net core I know about the worker services, but I am insecure if I can write those worker service in .net 4.7.2 as well. The use case is that I have a library (.dll) from an extern…
Marcel Müller
  • 368
  • 3
  • 17
2
votes
2 answers

Change issuer name of X509 certificate

There is same question 7 years ago but solved using external library. Now it is possible to change X509Certificate2 Issuer Name without external library? public static X509Certificate2 Create(string host) { var ecdsa = ECDsa.Create(); var…
uingtea
  • 6,002
  • 2
  • 26
  • 40
2
votes
0 answers

Per-Monitor V2 DPI awareness in WinForms not rescaling controls with non-ambient fonts

I have been tasked with adding support for Per-Monitor V2 DPI awareness to a legacy WinForms application which targets .NET 4.7.2. I know this is a complicated issue and I've done a lot of reading on StackOverflow and the MSDN on this topic. Using a…
Jason Tyler
  • 1,331
  • 13
  • 26
2
votes
1 answer

Azure Storage File share dll causing runtime.compiler.unsafe error at runtime when working with Azure Function V1

Azure.Storage.Files.Shares v12.0.0 - 12.5.0 is giving runtime error Microsoft.Azure.WebJobs.Host.FunctionInvocationException : Exception while executing function: Function2 ---> System.IO.FileNotFoundException : Could not load file or assembly…
2
votes
1 answer

.NET Framework 4.7.2 with MoreLINQ

I am trying to update a large solution to .NET Framework 4.7.2 with VS2019. One of the problems with this solution is that it is a large plugin type architecture, where (for many reasons) I am not able to recompile and release the plugins to…
debracey
  • 6,517
  • 1
  • 30
  • 56
2
votes
1 answer

Webforms InvalidOperationException when updating to httpRuntime targetFramework="4.7.2"

I'm updating my old code to target 4.7.2 to create consistency across our applications. This one is an old webforms application. It's one aspx and one master file. I used visual studio to change the target to 4.7.2 and this updated my csproj and…
Jeff
  • 4,622
  • 2
  • 27
  • 40
2
votes
0 answers

MsBuild fails on Azure thus failing deployments on App Service using GitHub/Azure DevOps

I have an app that runs locally using the test-webserver (xsp) in visual studio 2019 for mac. I have setup the azure app service to deploy from a branch in the repository in github (via deployment center). When it runs the deployment I get the…
FelixHJ
  • 1,071
  • 3
  • 12
  • 26
2
votes
2 answers

Nuget install failed: the package does not contain any assembly references or content files that are compatible with that framework

If I understand Scott Hanselman's post here correctly then I should be able to reference a .net standard library from a framework 4.7.2 solution. I want to use Nuget to install such a reference. I am using Azure DevOps Artifacts for the Nuget…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
2
votes
1 answer

Where isn't the transitive dependencies of my .Net Standard library copied into the executing assembly?

I have this dependency of projects: Client [.NET 4.7.2] -> Infrastructure [.NET Standard 2.0] -> ExternalLib [dll] When I try to call a method of Infrastructure that uses ExternalLib from the Client project, the compiler generates the following…
Gofu
  • 51
  • 8
2
votes
1 answer

How do I get accounts from Azure AD?

I have a nice Azure Active Directory set up with a dozen users. (All me!) So I have a Tenant ID, client ID and Client Secret. I am also working on a simple console application that will function as a public client for this directory. This client…
Wim ten Brink
  • 25,901
  • 20
  • 83
  • 149
2
votes
0 answers

Why in IIS 8.5 fcnMode="Disabled" not works - any edit of web.config cause appllication recycling?

I was read tons of articles where is specified that I can disable asp.net application recycling after web.config changes by using fcnMode="Disabled". I want to keep my application state and not allow recycle after any configuration changes until I…
Chameleon
  • 9,722
  • 16
  • 65
  • 127
2
votes
0 answers

Is there a WPF equivalent of Win2D.uwp CanvasControl?

The UWP CanvasControl has a great performance. It uses GPU rendering. Is there anything comparable for WPF .NET 4.7.2?
mFDev
  • 83
  • 7
2
votes
1 answer

The Include path expression must refer to a navigation property defined

I'm trying to create a generic include, but I get this error. What is wrong? Thank you. The Include path expression must refer to a navigation property defined on the type. Use dotted paths for reference navigation properties and the Select…
avechuche
  • 1,470
  • 6
  • 28
  • 45
2
votes
1 answer

WPF + PostSharp’ed View Model get frozen in a minute

UPDATED (See below) WPF starts ignoring property change notifications after a minute of intensive work. Here is a demo to reproduce (also on GitHub). View model is: [Aggregatable] [NotifyPropertyChanged] [ContentProperty("Tests")] public class…
Dmitry Nogin
  • 3,670
  • 1
  • 19
  • 35
2
votes
0 answers

Trusted Certificate fails after upgrade from 4.6.1 to 4.7.2

After upgrading a service written in F# from 4.6.1 to 4.7.2 i startet getting a classic SSL/TLS error "The request was aborted: Could not create SSL/TLS secure channel". TLS 1.2 is enabled on all servers. I verified with Fiddler that the old…
Christian Mikkelsen
  • 1,661
  • 2
  • 19
  • 44