Does NuGet packages have versions in Azure DevOps Nuget Tool Installer task?

ε祈祈猫儿з 提交于 2019-12-11 15:50:14

问题


This is a visual studio 2015, dotnet framework 4.6.1 application. I have tried to build and deploy from Azure DevOps onto Azure cloud. The error on deployment is "NewtonSoft.json.dll missing".

So when i replace the Azure DevOps artifacts with the visual studio build dll's and files the application works. This is UAT test i'm performing where in the build pipeline i have used NuGet Packages task. The final artifacts generated contains newtonsoft file but i crosschecked it is not same size as the one generated on visual studio build.

The tasks i set with versions:

Do i have to provide different version of Nuget task to reference the correct newtonsoft.json file since i do have this file in my artifacts. Does providing a wrong version cause this missing file error. Please assist.

来源:https://stackoverflow.com/questions/53362281/does-nuget-packages-have-versions-in-azure-devops-nuget-tool-installer-task

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!