Questions tagged [.net-4.7]

.NET 4.7 was originally released by Microsoft in June of 2017. It is a followup to .NET-4.6 and was included in the Windows 10 Creators Update.

109 questions
1
vote
1 answer

Render superscript in WPF

Here’s the code: static readonly char[] s_expChar = "eE".ToCharArray(); static void setValue( TextBlock target, double val ) { string text = val.ToString(); int indE = text.IndexOfAny( s_expChar ); if( indE > 0 ) { string…
Soonts
  • 20,079
  • 9
  • 57
  • 130
1
vote
0 answers

.Net Framework 4.7 Advanced Series not available as windows feature

On my windows 10 PC I have a windows feature (control panel > programs > programs and feautres > turn windows features on or off) called .Net Framework 4.7 advanced series. I am trying to enable a feature under that folder on another users PC, but…
Hunter Nelson
  • 1,707
  • 3
  • 20
  • 37
1
vote
0 answers

Error CS0246 while building solution in VSTS build agent

I have created a project in Visual studio 2017. It builds perfectly locally, but when trying to build using VSTS build agent, its giving below warning - [warning]C:\Program Files (x86)\Microsoft Visual…
1
vote
0 answers

WebBrowser control throwing lots of JavaScript errors

The WebBrowser control shipped with .NET 4.7 is throwing lots of JavaScript errors. For example, we tried with www.yahoo.com and we get multiple JavaScript errors. One such example is shown below: If we browse the same link in internet explorer 11,…
Sivaraman
  • 438
  • 2
  • 9
1
vote
1 answer

Process a large numeric input and output hex string

I need to take a numeric input which is greater than 64 bits, ensure only the remaining 83 bits (if input is greater than 83 bit) are discarded and convert it into a hex string. I have found I can use BigInteger (System.Numerics.BigInteger) to…
MrR0b0t
  • 57
  • 5
1
vote
1 answer

TeamCity: Unmet Requirements DotNetFramework4.[56]

We've just installed .NET Framework 4.7.1 on our build agents, however our projects are now showing as having no compatible build agents. Each agent is showing: Unmet requirements: Exists=>DotNetFramework4.[56](.[0-9]+)?_(x86|x64) exists We've…
Tom
  • 2,321
  • 2
  • 18
  • 29
1
vote
0 answers

StateChange event issue in SQL Server 2016 and .net 4.7 ado.net

I am facing an issue with SQL Server 2016, we have an application in windows forms to block multiple logins with the same username. The logic that we implemented to prevent this is: the first time a user logs in to the application a DB connection…
arun
  • 21
  • 3
1
vote
1 answer

PlatformNotSupportedException for HttpClientHandler.SslProtocol on .NET 4.7.1

I have following code in .NET Framework 4.7.1: using (var handler = new HttpClientHandler()) { handler.SslProtocols = SslProtocols.Tls12; ... } This code works on my development machine (Windows 10 Enterprise, Build 17101/rs4_release.…
Raghu
  • 2,859
  • 4
  • 33
  • 65
1
vote
0 answers

Running asp.net 4.5 code on asp.net 4.7

Is it possible to run an application created with asp.net 4.5 on a server running asp.net 4.7.1? According to Microsoft's Application Compatibility Page, any application created for 4.0 runtime will run on Compatibility Mode. Does this mean that…
FDaniels
  • 23
  • 7
1
vote
1 answer

Why are multiple where in LINQ so slow?

Using C# and Linq to SQL, I found that my query with multiple where is orders of magnitude slower than with a single where / and. Here is the query using (TeradiodeDataContext dc = new TeradiodeDataContext()) { var filterPartNumberID = 71; …
djv
  • 15,168
  • 7
  • 48
  • 72
1
vote
1 answer

Why AesManaged.FeedbackSizeValue = 8 when AesManaged.FeedbackSize = 128

I wish to explicitly set the encryption parameters (as read from .NET 4.7 defaults) so as to avoid decryption difficulties later down the line when future framework versions implement different defaults. Why is it that after manually setting the…
golfalot
  • 956
  • 12
  • 22
1
vote
3 answers

Upgraded from 4.6.2 to 4.7.1 and now none of my console apps will run

I just upgraded all of my .NET console/ASP.NET applications from 4.6.2 to 4.7.1. The ASP.NET applications work fine, but running any of my console apps results in the following message: This application requires one of the following versions of the…
oscilatingcretin
  • 10,457
  • 39
  • 119
  • 206
1
vote
1 answer

The type or namespace name 'IClientValidatable' could not be found - in .NET 4.7

I'm building an ASP.NET MVC app with VS 2017, targeting .NET 4.7, and I'm trying to build my models inside of business library being referenced by the web application. So I'm trying to get many of the same classes that come with an MVC project by…
KyleMit
  • 30,350
  • 66
  • 462
  • 664
1
vote
1 answer

.NET Standard Nuget References

I am making a class library in .NET Standard, which I wish to be usable from Windows and Android. However, when I try to reference the project or the project output directly, then I get AssemblyNotFoundExceptions at runtime, with a different one for…
laptou
  • 6,389
  • 2
  • 28
  • 59
0
votes
0 answers

How to prioritize c# code errors over Razor view errors when upgrading .Net versions?

I am currently performing my 3rd .Net upgrade from .Net4.7 to .Net6.0. The reason I am continually updating from those specific .Net versions is because this is an Optimizely CMS/Commerce web-app upgrade. However, the errors I am experiencing seem…
zg303
  • 97
  • 1
  • 11