Reputation: 646
We have created a uwp app with Windows 10 SDK for Creators update (10.0.16299.15), and now we want to integrate that into the CI on VSTS. So updated the build agent with latest SDK. But our we builds fails with not able to find types like below:
error CS0246: The type or namespace name 'AssemblyTitleAttribute' could not be found (are you missing a using directive or an assembly reference?) [D:\Windows-universal-samples-master\Windows-universal-samples-master\Samples\Logging\cs\Logging.csproj]"
we even tried to build the samples from SDK download page, with same result.
Build Agent OS: Windows 2012 R2 Server
Are we missing anything?
Upvotes: 1
Views: 376
Reputation: 33698
You need to add NuGet Restore task to restore packages. There is Universal Windows Platform build template, so the simple way is that:
Upvotes: 1