I'm developing extension for VSTS. Some time ago I migrated it from .NET 4.6 to .NET Standard 1.3 and faced stange issue.
When I run it on my own build agent it works fine
When I run it on Hosted VS2017 agent it works fine as well
But when I run it on Hosted agent it fails with following error:
Could not load file or assembly 'System.IO.FileSystem, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
I'm developing extension for VSTS. Some time ago I migrated it from .NET 4.6 to .NET Standard 1.3 and faced stange issue.
Information
VSTS extension: https://marketplace.visualstudio.com/items?itemName=sergeyzwezdin.magic-chunks
Sources are available here - https://github.com/sergeyzwezdin/magic-chunks
Could you point me direction for further investigation? Why could this happen?