Trying to get a build pipeline running in azure devops 2019 on premise with the following azure-pipelines.yaml
steps:
- task: MSBuild@1
inputs:
solution: 'solution.sln'
msbuildVersion: 16.0
But one compile error keeps popping up.
Error CS1043: { or ; expected
It's on this line:
public List<CountryZipCode> ZipCodeExceptions { get => _zipCodeExceptions;
set => _zipCodeExceptions = value; }
How do you pick a version in the msbuild agent? Or do I need to install something?