Questions tagged [.net-4.6.2]

.Net 4.6.2 is the version of the popular Microsoft .Net framework and adds several new features. Use for questions specifically related to .NET Framework 4.6.2. For questions on .NET Framework generally, use the .net tag.

.Net 4.6.2 is the latest version of the popular Microsoft .Net framework and adds several new features.

What's New in .NET Framework 4.6.2
.NET Framework 4.6.2 System Requirements

Released by Microsoft Corporation
Release Date: 2016-08-06

158 questions
0
votes
1 answer

Lazy Delegate Creator breaks when upgrading to .net 4.6.2

I'm not really sure where to begin so this question is likely to evolve as I receive feedback. That said, I'm upgrading our projects to .net 4.6.2. After updating nuget packages and resolving dependency issues, I'm finally able to build. However,…
DontThinkJustGo
  • 380
  • 2
  • 11
0
votes
1 answer

My.User.IsInRole() is not working after migrating to 4.6.2 framework in vb.net

Currently i'm working in one migration request, where we need to change the framework from 3.5 to 4.6.2. Here the problem is after changing the framework below method is not showing result as expected. My.User.IsInRole() is returning null. Could…
0
votes
2 answers

The RelayCommand for enable/disable a button don't work like expected

The case is that I try to disable a button in the window form when it was clicked and after some time (some seconds) it should be enabled again. But this didn't work. After a click on the button the command set the enabled to false and after some…
Mirar
  • 171
  • 13
0
votes
2 answers

Windows 7 Path too long to create file above 260 Characters with .Net Framework 4.6.2

I trying to create file with more than 260 characters of file path with .Net Framework 4.6.2 This is working fine in Windows 10, but not able to create in Windows 7 environment. I am trying to create file pragmatically using C#. Can you please help…
Herin
  • 704
  • 3
  • 18
  • 34
0
votes
3 answers

C# event exception not caught in parent method

I`m working on implementing a get method for cache. This method will return to caller if a maximum wait time has passed(in my case 100ms for tests). My issue is that the exception NEVER reaches the catch, after the timer triggered the event. Please…
Pacurar Stefan
  • 235
  • 4
  • 9
0
votes
1 answer

Correct number of objects after JSON deserialization, but they are all blank

Send Grid bounce API returns me a list similar to this: "[ {\"created\":1487173664,\"email\":\"lklklk@kkk.com\",\"reason\":\"550 No Such User Here \",\"status\":\"550\"} ,{\"created\":1487169530,\"email\":\"bb@hotmail.com\",\"reason\":\"550…
ajeh
  • 2,652
  • 2
  • 34
  • 65
0
votes
0 answers

Which .Net Framework version to use?

I am working in a wpf project which uses two external dll's. One of this dll requires .Net framework 2.0 and the other requires 3.5. While adding this to my solution it asks for changing the .Net framework to 4.6.2. My application only needs 4.6.1…
SHK
  • 135
  • 3
  • 13
0
votes
1 answer

Nhibernate Nunit Framework Exception

I get the error below when running my tests from command line. I use re-sharper for my test environment. When I run from VS2015, all the tests pass. But when I run them from command line using nunit framework the configuration setup fails. My…
Abhishek
  • 23
  • 2
0
votes
1 answer

Re-entrancy pattern 5: cancel previous invocation

I need a re-entry task, and implementing similar code to https://blogs.msdn.microsoft.com/lucian/2014/03/03/async-re-entrancy-and-the-patterns-to-deal-with-it/ (pattern 5) but I'm wondering if the CancellationTokenSource dispose is not missing. My…
Chris
  • 1,122
  • 1
  • 12
  • 14
0
votes
0 answers

How to create logger that log input paramters and response of method

How to create attribute based logger class which would read the all the input paramters of method and response object of method and both log into database. so, [LogReqResponse(request:fieldname,LogObject:Employee,Message:"")] public int…
user3711357
  • 1,425
  • 7
  • 32
  • 54
0
votes
1 answer

Asp.Net Running a content page using master page error > TemplateContainer(typeof(MySite.MasterPage))

I created an empty asp.net web application > .Net 4.6.2 in VS 2015 I added a simple master page & a simple content page on this project. When i open content page in browser i get the error below : Line 174: …
SilverLight
  • 19,668
  • 65
  • 192
  • 300
0
votes
2 answers

CultureInfo and Double.parse and double.toString not worked correctly

How can I force c# application to use . for decimal separator and ignore culture settings in server. I have this problem with double.ToString and double.parse I should change setting in application level because of large scale of…
Hamed Mahdizadeh
  • 936
  • 1
  • 15
  • 29
0
votes
1 answer

C# Application is written with .Net Framework 4.0 But It Requires .Net Framework 4.6.2

I have a 2 WPF application uses .Net Framework 4.0 and suddlenly one of them started to require .Net Frameowork 4.6.2 in my clients Windows 7 computers. In properties Target Framework is still 4.0. I checked my commits, a while ago I changed 2…
tetralobita
  • 453
  • 6
  • 16
0
votes
1 answer

How am i able to pass private object to another class by reference?

I just noticed that i am able to pass private object to another class by a reference I would guess this should not be possible but it works fine Here an example private static StreamWriter swYandexErrors; // in classA csLogger.logAnyError(ref…
Furkan Gözükara
  • 22,964
  • 77
  • 205
  • 342
0
votes
2 answers

Can I tune IndexOf selection?

I have performance profiled the application for a long time It turns out that the most of the CPU is used by the IndexOf function Here the function public static string func_Fix_Google_Source(string srSource) { int irIndex =…
Furkan Gözükara
  • 22,964
  • 77
  • 205
  • 342