I use the latest release of VS 2017 + .NET Framework 4.6.2. The compiler does not hook System.ValueTuple.dll , although it should (this is C # 7). I don’t want to install System.ValueTuple.dll with the nuget package, because the output binary does not need extra dependencies. It is remarkable that along the way
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Roslyn is System.ValueTuple.dll ,
and on the way C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2 it is not.
I tried to remove and reinstall the .NET Framework and VS 2017 did not help. Tried to shaman with the addition of System.ValueTuple.dll in \Reference Assemblies and writing in FrameworkList.xml , the same did not help. Tried to register in csc.rsp , csc.exe.config , did not help. And with all this, csi.exe works quietly with ValueTuple . How can I fix this?
