I am using VSTS (Azure DevOps) for the first time and am setting up my first build (I have previously been using TFS). I'm trying to build a .NET application targeting .NET Framework 4.6.
However I'm getting build errors relating to missing namespaces and / or assemblies.
Error CS0246: The type or namespace name 'OwinStartupAttribute' could not be found (are you missing a using directive or an assembly reference?)
Error CS0234: The type or namespace name 'Http' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Error CS0234: The type or namespace name 'Azure' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
The issues all seem to be related i.e. the nuget packages aren't getting restored during the build process.
I've therefore added a Nuget restore task to the pipeline before my build step.
And have checked the option Restore Nuget packages on the build step.
NuGet Restore
task present? – Daniel Mann