Puresharper / NuPack

NuPack .NET 4.0+ produces nuget package at build time
MIT License
12 stars 11 forks source link

Publishing causes exception 'Could not load file or assembly Microsoft.TeamFoundation.VersionControl.Client...' #11

Open jerchap opened 5 years ago

jerchap commented 5 years ago

Using Visual Studio 2017 on a .net framework 4.5 class library project I get the following exception when I try to deploy the package:

Could not load file or assembly 'Microsoft.TeamFoundation.VersionControl.Client, Version=10.0.0.0, Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

I have tried setting different Target Frameworks but nothing works. I've deployed successfully on other projects. The only different is that this project was originally built in a prior version of Visual Studio, then upgraded where the other projects were built in VS 2017.

uurcakmak commented 4 years ago

Same problem here. Facing the same issue with Visual Studio 2019, latest version as of today.