Links not included in VSTS
I am building Windows 10 UWP in XAML and C #. I have several extensions installed in VS2017 that are referenced by links from the links section. Since VS2017 Host Agent has no extensions, I had to copy to a local folder and redistribute the extensions with source code. I put this code in CSProj to access extensions by folder.
<PropertyGroup>
<SDKReferenceDirectoryRoot>..\SDKs\Microsoft SDKs;
</SDKReferenceDirectoryRoot>
</PropertyGroup>
To simulate the process, I will compile using powershell my application using MSBuild 15. When extracting the SDK in powershell compilation, it runs 6 steps, 3 to enumerate and 3 to add the SDK to the project:
ExpandSDKReferences: Enumerating SDK Reference "Microsoft.VCLibs,
ersion=14.0" from "C:\Users\myusername\Source\Repos\VSTS\BI Read
Windows\SDKs\Microsoft SDKs\Windows
Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\".
Enumerating SDK Reference "PDFTron.PDFNetUWPApps, Version=6.5.4.47152" from
"C:\Users\myusername\Source\Repos\VSTS\BI Read Windows\SDKs\Microsoft
SDKs\UAP\v0.8.0.0\ExtensionSDKs\PDFTron.PDFNetUWPApps\6.5.4.47152\".
Adding reference "References\CommonConfiguration\x86\pdftron.winmd".
Adding file "Redist\CommonConfiguration\x86\pdftron.dll" from redist folder
with target path "pdftron.dll".
Enumerating SDK Reference "SQLCipher.UAP.2015, Version=3.4.0" from
"C:\Users\myusername\Source\Repos\VSTS\BI Read Windows\SDKs\Microsoft
SDKs\UAP\v0.8.0.0\ExtensionSDKs\SQLCipher.UAP.2015\3.4.0\".
Adding file "Redist\Debug\x86\sqlite3.dll" from redist folder with target
path "sqlite3.dll".
On the other hand, in a hosted agent in VSTS, it only PROVIDES sdks, but never adds them to the project:
ExpandSDKReferences:
Enumerating SDK Reference "Microsoft.VCLibs, Version=14.0" from
"C:\a\1\s\SDKs\Microsoft SDKs\Windows
Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\".
Enumerating SDK Reference "PDFTron.PDFNetUWPApps, Version=6.5.4.47152" from
"C:\a\1\s\SDKs\Microsoft
SDKs\UAP\v0.8.0.0\ExtensionSDKs\PDFTron.PDFNetUWPApps\6.5.4.47152\".
Enumerating SDK Reference "SQLCipher.UAP.2015, Version=3.4.0" from
"C:\a\1\s\SDKs\Microsoft
SDKs\UAP\v0.8.0.0\ExtensionSDKs\SQLCipher.UAP.2015\3.4.0\".
And since it is not added, I have compilation errors. What can happen?
Sincerely.
source to share
Yes I think so, I represent a custom vote here: SQLite for Universal Windows Platform on Hosted VS2017 server , you can vote and follow it.
The workaround is that you can set up a build agent on your machine and use it for your builds.
source to share