D
D
Daniil Demidko2017-03-11 09:20:24
.NET
Daniil Demidko, 2017-03-11 09:20:24

Why doesn't ValueTuple work out of the box?

XwvVm.png
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

1 answer(s)
T
Tom Nolane, 2017-03-11
@Daniro_San

maybe it will help ....
they write the same thing here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question