.net-4.6 Questions

2

I have been looking over the web and still no luck, hence why I am asking. I have a WEB API 4.6 project that will also be home to an angularjs2 application, I have set up to use static files like t...
Illustrational asked 5/6, 2016 at 22:20

5

Solved

We have a ASP.NET 5 web application in our solution. Typically, we could right click on the Cloud Service "Roles" item and add a new role from an existing project in the solution. But it cannot ...

4

Solved

I am working on developing a new binding for a Wcf service that is hosted in IIS, I thought I got everything working, but it turns out that the client only works when it is targetting .Net framewor...
Schoening asked 20/1, 2016 at 20:57

1

I have built a DLL in .net core 2.0 and I now want to use it in a WinForms-project using the .net 4.6.1-framework. I can reference the dll but I get a "System.IO.FileLoadException" which says that...
Cassondracassoulet asked 8/9, 2017 at 5:48

3

I am trying to set the compatibility switch "Switch.System.Xml.IgnoreEmptyKeySequences" from an entry in an app.config (or web.config) file, but the override appears to be ignored. To rem...
Shelf asked 14/9, 2015 at 14:26

12

Solved

Application built with VS 2015, C#, Winforms, using the DateTimePicker Windows control, text is garbled after updating machines to the Windows Creators Update. Has anyone else come across this o...
Comply asked 13/4, 2017 at 16:18

1

I am using Visual Studio 2015 Enterprise RTM to write unit tests for a project that uses Unity Container. I have discovered that the simple act of adding a fakes assembly for Unity, not even actual...
Ticonderoga asked 24/9, 2015 at 18:9

3

Has VS 2015 changed drastically on how references are added? I am doing a MVC web project. I wanted to use System.Configuration.ConfigurationManager in my .NET 4.6 application. I went to the the ...
Steddman asked 17/12, 2015 at 1:38

1

Solved

Framework is c# .net 4.6.2 I am generating automatic XML classes from XML codes When I auto generate, it automatically converts as Array[][] But i want to use it as List<List<>> And...
Sphincter asked 27/2, 2017 at 15:56

6

Solved

We use TFS 2013 to as our build server. I've started a C# 6.0 project and I am trying to get it to build. I am using the new null-conditional operators, and my build chokes. I've tried installing s...
Wilmer asked 18/9, 2015 at 18:51

1

I have a .NET web app that connects to SQL Azure with no problem from my local machine. Then, on the same machine, I've created another command-line .NET app in the same solution, copied the connec...

1

Solved

Error : "The feature named NetFx46 that is required by the uploaded package is not available in the OS * chosen for the deployment."
Aubrette asked 24/11, 2016 at 11:1

1

Solved

I'm been investigating options available to me for referencing existing .NET Framework 4.6 libraries in new .NET Core App projects. As a proof of concept I've built a very simple .NET Framework 4....
Sarasvati asked 27/9, 2016 at 9:50

4

Solved

See the following code snippet: (IEnumerable<object>)new Dictionary<string, string>() The above cast will throw an invalid cast exception. Actually, IDictionary<TKey, TValue> ...
Misname asked 18/7, 2016 at 9:32

1

I'm trying to code in a Portable Class Library using ASP.NET Core 1.0, the following instruction: public static void WriteMessage<T>(T value) { if (typeof(T).IsEnum) { Debug.Print("Is en...
Arlon asked 12/7, 2016 at 11:18

2

Solved

I did some benchmarks with collection types implemented in the .NET Framework. From the Reference Source I know that List<T> uses an array to store contents. To avoid resizing the array with...
Procter asked 30/6, 2016 at 11:53

2

Solved

I have an owin culture middle ware running very nice. It just changes the culture according to the url. This works in 4.5.* perfectly. Now when the runtiome is changed to 4.6.1, the culture isn't ...
Aperture asked 6/4, 2016 at 15:35

3

Solved

Is there a way to put the GC on hold completely for a section of code? The only thing I've found in other similar questions is GC.TryStartNoGCRegion but it is limited to the amount of memory you sp...
Gearard asked 16/5, 2016 at 20:31

2

Solved

Given asp.net 4 with mvc 5.2.3 and .net 4.6.1 I want to change the CurrentCulture support globalization based on some request related things like the host. A Owin-Middleware which sets a culture...
Eveevection asked 10/3, 2016 at 7:28

2

Solved

Summary: In a library method, when should I use the async and await keywords instead of returning a Task directly? I believe my question is related to this one. However, that question is about .NE...
Dysplasia asked 14/3, 2016 at 12:18

1

Solved

After installing Visual Studio 2015 Update 1 on my machine I saw that some of my unit tests failed. After doing some investigation I was able to reduce the problem to this line of code: Expression...
Sitsang asked 5/12, 2015 at 0:37

1

Solved

I am having trouble with F# Units of Measure when defining an operator that has a parameter with a generic unit of measure defined in terms of the generic unit of measure from another parameter. Fo...
Jump asked 11/3, 2016 at 22:53

3

Solved

For the last couple days we have seen intermittent crashes of the w3wp.exe worker process serving the main application pool for our corporate web site. Sometimes the crashes are isolated, and IIS i...
Brietta asked 7/10, 2015 at 19:55

1

What I have I have Portable Class Library MyProj.Backend.Contracts.csproj with following project.json: { "supports": { "net46.app": {}, "uwp.10.0.app": {}, "dnxcore50.app": {} }, "depend...
Elnaelnar asked 15/1, 2016 at 13:19

5

Solved

I have the following code contract: public void F(string x) { Contract.Requires(!string.IsNullOrWhiteSpace(x)); throw new NotImplementedException(); } When compiling, I get the following warn...
Pteranodon asked 5/1, 2016 at 13:1

© 2022 - 2024 — McMap. All rights reserved.