.net-4.6 Questions
3
Solved
I'm using things like $"hello {person}" and nameof(arg1) in my code, but on checking the project properties I'm targeting .NET 4.5.
Is this okay? I thought these things were introduced in 4.6.
Th...
Windy asked 18/1, 2016 at 16:38
2
Solved
.net 4.6 framework is inplace upgrade then how is the .net framework 4.5 works in vs2015? I see only one folder v4.0.30319 . How is the dll stored and where ?
Varietal asked 21/9, 2015 at 15:51
2
Solved
I was investigating some strange object lifetime issues, and came across this very puzzling behaviour of the C# compiler:
Consider the following test class:
class Test
{
delegate Stream CreateS...
4
Please do not set duplicate flag on this qustion - it is not about "why ThreadAbortException occurs", it is about "why w3wp.exe process terminates after ThreadAbortException".
Let's say we have si...
Supertonic asked 1/9, 2015 at 15:4
5
Solved
My code:
Keys = new Dictionary<string, string>();
Keys.Add("Набег_0", "raid_0");
When I get Keys.ElementAt(0), I have this: {[Íàáåã_0, raid_0]}.
Of course, when I run the program, key = "Н...
Piliferous asked 1/8, 2015 at 13:10
1
Solved
I found a weird behavior in VS2015 Here are the details:
I have a .Net 4.6 project referencing a 3.5 assembly. This assembly defines in one of it's interfaces the following method that I was able ...
Nonpareil asked 29/9, 2015 at 10:39
1
Solved
What is the easiest way to get an ISymbol from a ClassDeclaration that I just created?
Consider the following code:
AdhocWorkspace workspace = new AdhocWorkspace();
Project project = workspace.A...
1
Solved
I migrated a Visual Studio 2012 solution to Visual Studio 2015. I'm working on Windows 10. The target .NET Framework of my solution is 4.5. I want to continue using that version. So I thought...
Pillbox asked 16/9, 2015 at 7:35
1
I have a WPF .NET 4.6 application running on a Windows 8.1 tablet and for the last few days I've been struggling to make my app touch friendly to make it work as expected. My main problems are focu...
Parmenter asked 27/8, 2015 at 12:12
1
Solved
I have a portable class library project that targets .NET 4.6 and Universal Windows Platform. This class library contains just one class with the following line of code in its constructor:
Directo...
Mizzenmast asked 18/8, 2015 at 6:30
1
Solved
Until now, I could build .NET 4.5.2 using command line
c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild MySolution.sln
The only what I need to install on a computer was .NET Framework and V...
3
Solved
I have some code to process several million data rows in my own R-like C# DataFrame class. There's a number of Parallel.ForEach calls for iterating over the data rows in parallel. This code has bee...
Ballot asked 31/7, 2015 at 13:57
2
Solved
When creating a new Visual Studio 2015 class library (package) project, one is able to set multiple target frameworks.
What is the difference between dotnet and net452?
project.json:
"frameworks...
Roose asked 28/7, 2015 at 12:7
1
Solved
Some people in our team are using VisualStudio 2015 while the rest is still using 2013 (both with ReSharper 9.1).
The Target Framework in the project properties is set to .NET Framework 4.5.1.
My ...
Holiday asked 7/8, 2015 at 12:32
1
Solved
I upgraded to Visual Studio 2015 from our MSDN subscription because I was pretty excited to read about Shared Projects... No more managing 21382 nuget packages in our dependencies when all we want ...
Watteau asked 3/8, 2015 at 19:43
1
Solved
.NET framework 4.6 instroduced new classes in System.Numerics namespace including Matrix4x4. It also introduced new static helper methods for 3D computer graphics like CreateLookAt or CreatePerspec...
1
Solved
In .NET 4.5 this cipher worked perfectly on 32 and 64 bit architecture. Switching the project to .NET 4.6 breaks this cipher completely in 64-bit, and in 32-bit there's an odd patch for the issue.
...
1
Solved
I am getting the following run-time error:
[InvalidOperationException: The current runtime target framework is not compatible with 'TestDeployProject'.
Current runtime Target Framework: 'DNX,Vers...
Swarey asked 31/7, 2015 at 11:6
1
Solved
2
Solved
I have a project that targets older versions of the .NET framework (.NET 4.5.2). I installed Visual Studio 2015 (and therefore .NET 4.6 on my machine). I noticed that if I use C# language fea...
Casillas asked 22/7, 2015 at 17:59
0
I have an interface in a .NET 4.5 (not 4.6) class library,
public interface IBrokenFakeInterface
{
Claim WhyWontItGenerateFakeOfThisInterface();
}
In my unit test project (MSTest) when I have a...
Immanuel asked 21/7, 2015 at 13:50
1
I've just installed VS2015, which at the same time installed .NET Framework 4.6, and suddenly AutoFixture 3.30.8 is unable to create a Claim object.
I'm guessing having the new .NET Framework versi...
Overcome asked 21/7, 2015 at 8:16
1
Solved
Reading from Announcing .NET Framework 4.6 it seems to imply that RyuJIT is only for .NET 4.6.
Does that means I will need to re-target my applications to .NET 4.6 for RyuJIT to take effect?
1
Solved
I'm studying examples of SIMD operations in C# and want to try some exapmles. I downloaded NuGet package System.Numerics.Vectors v4.0, and want to reproduce examples from the internet. But they doe...
2
Solved
In this blog post, Stephan Toub describes a new feature that will be included in .NET 4.6 which adds another value to the TaskCreationOptions and TaskContinuationOptions enums called RunContinuatio...
Experimentalize asked 4/2, 2015 at 12:29
© 2022 - 2024 — McMap. All rights reserved.