Answer the question
In order to leave comments, you need to log in
Why doesn't ValueTuple work out of the box?
Why doesn't ValueTuple work out of the box?
Is it part of the .NET 4.6.2 DevPack?
I use the latest release of VS 2017 + .NET Framework 4.6.2 DevPack The compiler does not hook System.ValueTuple.dll , and because of this, tuples ( System.ValueTuple
) do not work, although they should (this is C# 7). I do not want to install System.ValueTuple.dll as a nuget package, since the output binary does not need extra dependencies. It is noteworthy that the path
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Roslyn is System.ValueTuple.dll ,
and the path C:\Program Files (x86)\Reference Assemblies\ Microsoft\Framework\.NETFramework\v4.6.2 does not exist.
Tried uninstalling and reinstalling .NET Framework and VS 2017, didn't help. I tried to shaman with adding System.ValueTuple.dll to \Reference Assemblies and writing it to FrameworkList.xml , the same did not help. Tried to register in csc.rsp, csc.exe.config , didn't help. And with all this, csi.exe works quietly with ValueTuple
. How can this be fixed?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question