问题
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