locked
TFS 2017 Not recognizing VS 2017 in Visual Studio Build (C# 7 features) RRS feed

  • Question

  • I have been trying to get our build machine to build c# 7 projects with no luck...  I thought it would be as easy as install VS 2017 on the build machine, pick "Latest" from the Visual Studio Build task / Visual Studio Version dropdown and go.  Nope.  Try specifying /p:VisualStudioVersion=15.0 on the MSBuild Arguments.  Nope.   Select 'Visual Studio "15" (preview)' from the visual studio version dropdown - nope.  

    Google the heck out of it - I must be searching for the wrong things, because I am unable to solve it.

    I get two errors in the builds:

    1.  Error CS8026: Feature 'interpolated strings' is not available in C# 5. Please use language version 6 or greater.

    2.  2017-06-27T21:30:24.9829519Z ##[error]C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\amd64\Microsoft.Common.CurrentVersion.targets(1111,5): Error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.6.2" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.

    We are using TFS 2017 (Version 15.105.25910.0) with Visual Studio 2017 installed on the build machine.   I thought installing VS 2017 it would take care of the necessary tools.  Does anyone know what step I have missed?

    Update: Installed .net 4.6.2 target / developer pack and reboot.  No love.
    Wednesday, June 28, 2017 12:07 PM

Answers

  • Hi John Hennesey,

    We are using TFS 2017.1(version 15.112.26307.0).

    In your TFS 2017 (Version 15.105.25910.0), is the Visual Studio version dropdown list in vs build task like this:

    In TFS 2017.1, you could use vs 2017. If yours doesn't like this, please consider to upgrade to TFS 2017.1.

    Best Regards


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by John Hennesey Thursday, June 29, 2017 8:12 PM
    • Unmarked as answer by John Hennesey Thursday, August 3, 2017 11:36 AM
    • Marked as answer by John Hennesey Thursday, August 10, 2017 1:26 AM
    Thursday, June 29, 2017 6:51 AM
  • Turns out our build machine is capable of building 4.62 & c# 7.0.  I feel really dumb about this - but it turns out when I was changing the language version and .net version I was doing it locally in debug configuration and the build machine always builds in release.  I didn't realize that these were per configuration.

    Thursday, August 10, 2017 1:27 AM

All replies

  • Hi John Hennesey,

    We are using TFS 2017.1(version 15.112.26307.0).

    In your TFS 2017 (Version 15.105.25910.0), is the Visual Studio version dropdown list in vs build task like this:

    In TFS 2017.1, you could use vs 2017. If yours doesn't like this, please consider to upgrade to TFS 2017.1.

    Best Regards


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by John Hennesey Thursday, June 29, 2017 8:12 PM
    • Unmarked as answer by John Hennesey Thursday, August 3, 2017 11:36 AM
    • Marked as answer by John Hennesey Thursday, August 10, 2017 1:26 AM
    Thursday, June 29, 2017 6:51 AM
  • Thank you Jingzhu Yan -

    It appears upgrade is the route we have to go.  We already have plans to upgrade to 2017.2 once it comes out (mid-July).

    Thursday, June 29, 2017 12:15 PM
  • Jingzhu Yan - 

    We upgraded to TFS 2017.2 two days ago and I tried it again - got past the first error (.net 4.62) but are still getting the error about c# v7.  Odd thing is we have VS 2017 Enterprise installed on the build machine [we build ssrs, ssas and click once apps which require it] - I am able to go into the "s" directory of the build that fails and open the solution - and build it successfully.  This proves all the tools are on the machine to compile it successfully with c# v7 and .net 4.62.  

    When I attempt to use interpolated strings I went into the project properties -> build -> advanced and set the language version to C# 7.0.  Is there something else I need to do for the builds to recognize it?


    Our updated TFS version (as taken from the about in the web site):

    About Microsoft Visual Studio Team Foundation Server
    Microsoft Visual Studio Team Foundation Server

    Version 15.117.26714.0

    © Microsoft Corporation. All rights reserved.

    Our build machine help-about taken from admin console:

    Our updated options for the visual studio version selector:


    Output from the build:

    2017-08-02T22:33:35.0138263Z CoreCompile:
    2017-08-02T22:33:35.0138263Z   C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Roslyn\csc.exe /noconfig /nowarn:1701,1702 /langversion:5 /nostdlib+ /platform:x64 /errorreport:prompt /warn:4 /define:TRACE /main:Installer.Program /highentropyva+ /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Microsoft.CSharp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\mscorlib.dll" /reference:C:\agentDedicated\_work\7\s\Tip\Installer\packages\NLipsum.0.1.3\lib\net40\NLipsum.Core.dll /reference:C:\agentDedicated\_work\7\s\Tip\BuildReferences\SevenZipSharp\SevenZipSharp.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.ComponentModel.Composition.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Configuration.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Data.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Data.Linq.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Deployment.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Design.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.DirectoryServices.AccountManagement.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.DirectoryServices.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Drawing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Net.Http.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Runtime.Serialization.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.ServiceModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Web.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Web.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Web.Services.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Windows.Forms.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Xaml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\System.Xml.Linq.dll" /reference:C:\agentDedicated\_work\7\s\Tip\BuildReferences\Telerik\Winforms\2017.2\Telerik.WinControls.dll /reference:C:\agentDedicated\_work\7\s\Tip\BuildReferences\Telerik\Winforms\2017.2\Telerik.WinControls.GridView.dll /reference:C:\agentDedicated\_work\7\s\Tip\BuildReferences\Telerik\Winforms\2017.2\Telerik.WinControls.PdfViewer.dll /reference:C:\agentDedicated\_work\7\s\Tip\BuildReferences\Telerik\Winforms\2017.2\Telerik.WinControls.RichTextEditor.dll /reference:C:\agentDedicated\_work\7\s\Tip\BuildReferences\Telerik\Winforms\2017.2\Telerik.WinControls.Themes.TelerikMetroBlue.dll /reference:C:\agentDedicated\_work\7\s\Tip\BuildReferences\Telerik\Winforms\2017.2\Telerik.WinControls.UI.dll /reference:C:\agentDedicated\_work\7\s\Tip\BuildReferences\Telerik\Winforms\2017.2\TelerikCommon.dll /reference:C:\agentDedicated\_work\7\a\Tropics.Core.dll /reference:C:\agentDedicated\_work\7\a\Tropics.Cryptography.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Collections.Concurrent.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Collections.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.ComponentModel.Annotations.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.ComponentModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.ComponentModel.EventBasedAsync.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Diagnostics.Contracts.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Diagnostics.Debug.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Diagnostics.Tools.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Diagnostics.Tracing.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Dynamic.Runtime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Globalization.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.IO.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Linq.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Linq.Expressions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Linq.Parallel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Linq.Queryable.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Net.NetworkInformation.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Net.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Net.Requests.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Net.WebHeaderCollection.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.ObjectModel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Reflection.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Reflection.Emit.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Reflection.Emit.ILGeneration.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Reflection.Emit.Lightweight.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Reflection.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Reflection.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Resources.ResourceManager.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Runtime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Runtime.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Runtime.Handles.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Runtime.InteropServices.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Runtime.InteropServices.WindowsRuntime.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Runtime.Numerics.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Runtime.Serialization.Json.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Runtime.Serialization.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Runtime.Serialization.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Security.Principal.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.ServiceModel.Duplex.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.ServiceModel.Http.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.ServiceModel.NetTcp.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.ServiceModel.Primitives.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.ServiceModel.Security.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Text.Encoding.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Text.Encoding.Extensions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Text.RegularExpressions.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Threading.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Threading.Tasks.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Threading.Tasks.Parallel.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Threading.Timer.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Xml.ReaderWriter.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Xml.XDocument.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.2\Facades\System.Xml.XmlSerializer.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\Release\Installer.exe /ruleset:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Team Tools\Static Analysis Tools\\Rule Sets\MinimumRecommendedRules.ruleset" /subsystemversion:6.00 /resource:obj\Release\Installer.CodeVersionCheck.resources /resource:obj\Release\Installer.ProcessDialog.resources /resource:obj\Release\Installer.Form1.resources /resource:obj\Release\Installer.LicenseModal.resources /resource:obj\Release\Installer.Properties.Resources.resources /resource:obj\Release\WebServiceStudio.GetToken.resources /resource:obj\Release\WebServiceStudio.MainForm.resources /resource:Splat\Setup-NewInstance-Splat.ps1,Installer.Splat.Setup-NewInstance-Splat.ps1 /resource:Splat\Update-Application-Splat.ps1,Installer.Splat.Update-Application-Splat.ps1 /resource:Splat\Update-DatabaseScripts-Splat.ps1,Installer.Splat.Update-DatabaseScripts-Splat.ps1 /resource:Splat\Update-Reports-Splat.ps1,Installer.Splat.Update-Reports-Splat.ps1 /resource:AppSettings.config.txt,Installer.AppSettings.config.txt /resource:ConnectionStringsTemplate.txt,Installer.ConnectionStringsTemplate.txt /resource:Images\check_alt-512.png,Installer.Images.check_alt-512.png /resource:Images\denied-512.png,Installer.Images.denied-512.png /resource:MicrosoftScripts\ASPStateInMemory.sql,Installer.MicrosoftScripts.ASPStateInMemory.sql /resource:HelpDocumentation\Help.pdf,Installer.HelpDocumentation.Help.pdf /resource:obj\Release\Installer.exe.licenses /target:winexe /utf8output /win32icon:Configure-Tools-Metro.ico /win32manifest:Installer.exe.manifest CodeVersionCheck.cs CodeVersionCheck.Designer.cs ConnectionInfo.cs Constants.cs Form1.cs Form1.Designer.cs LicenseModal.cs LicenseModal.Designer.cs Logging.cs ProcessDialog.cs ProcessDialog.Designer.cs Program.cs Properties\AssemblyInfo.cs ScrubData.cs "Service References\objectInfoService\Reference.cs" SOAPTester\Dumper\Dumper.cs SOAPTester\Global.cs SOAPTester\WebServiceStudio\ArrayProperty.cs SOAPTester\WebServiceStudio\ClassProperty.cs SOAPTester\WebServiceStudio\Configuration.cs SOAPTester\WebServiceStudio\CustomHandler.cs SOAPTester\WebServiceStudio\DataSetEditor.cs SOAPTester\WebServiceStudio\DynamicConverter.cs SOAPTester\WebServiceStudio\DynamicEditor.cs SOAPTester\WebServiceStudio\GetToken.cs SOAPTester\WebServiceStudio\GetToken.Designer.cs SOAPTester\WebServiceStudio\IAdditionalProperties.cs SOAPTester\WebServiceStudio\InvokeProperties.cs SOAPTester\WebServiceStudio\Language.cs SOAPTester\WebServiceStudio\ListStandardValues.cs SOAPTester\WebServiceStudio\MainForm.cs SOAPTester\WebServiceStudio\MessageTracer.cs SOAPTester\WebServiceStudio\MessageType.cs SOAPTester\WebServiceStudio\MethodProperty.cs SOAPTester\WebServiceStudio\NoCloseMemoryStream.cs SOAPTester\WebServiceStudio\NullableGenericProperty.cs SOAPTester\WebServiceStudio\NullablePrimitiveProperty.cs SOAPTester\WebServiceStudio\OptionDialog.cs SOAPTester\WebServiceStudio\PrimitiveProperty.cs SOAPTester\WebServiceStudio\Protocol.cs SOAPTester\WebServiceStudio\ProxyProperties.cs SOAPTester\WebServiceStudio\ProxyProperty.cs SOAPTester\WebServiceStudio\RequestProperties.cs SOAPTester\WebServiceStudio\Script.cs SOAPTester\WebServiceStudio\SearchDialog.cs SOAPTester\WebServiceStudio\TreeNodeProperty.cs SOAPTester\WebServiceStudio\UiProperties.cs SOAPTester\WebServiceStudio\Wsdl.cs SOAPTester\WebServiceStudio\WsdlProperties.cs SOAPTester\WebServiceStudio\WSSWebRequest.cs SOAPTester\WebServiceStudio\WSSWebRequestCreate.cs SOAPTester\WebServiceStudio\WSSWebResponse.cs SOAPTester\WebServiceStudio\XmlAttributeProperty.cs SOAPTester\WebServiceStudio\XmlElementProperty.cs SOAPTester\WebServiceStudio\XmlTreeNode.cs SOAPTester\WebServiceStudio\XmlTreeWriter.cs Properties\Resources.Designer.cs Properties\Settings.Designer.cs "C:\Users\tstsvs\AppData\Local\Temp\.NETFramework,Version=v4.6.2.AssemblyAttributes.cs"
    2017-08-02T22:33:35.0138263Z   Using shared compilation with compiler from directory: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Roslyn
    2017-08-02T22:33:35.4044487Z ##[error]Tip\Installer\Form1.cs(62,28): Error CS8026: Feature 'interpolated strings' is not available in C# 5.  Please use language version 6 or greater.
    2017-08-02T22:33:35.4044487Z Form1.cs(62,28): error CS8026: Feature 'interpolated strings' is not available in C# 5.  Please use language version 6 or greater. [C:\agentDedicated\_work\7\s\Tip\Installer\Installer.csproj]
    2017-08-02T22:33:35.4513342Z Done Building Project "C:\agentDedicated\_work\7\s\Tip\Installer\Installer.csproj" (default targets) -- FAILED.

    Any thoughts?

    Thursday, August 3, 2017 11:51 AM
  • Turns out our build machine is capable of building 4.62 & c# 7.0.  I feel really dumb about this - but it turns out when I was changing the language version and .net version I was doing it locally in debug configuration and the build machine always builds in release.  I didn't realize that these were per configuration.

    Thursday, August 10, 2017 1:27 AM