I am getting the Unable to find version '4.2.20023.15120' of package 'ReadyRoll.MSBuild' error while restoring the NuGet package with CI build.
The NuGet for the solution gets restored successfully when tried manually with Visual Studio but doesn't get restored with CI build definition.
For CI build, we use service account and I have updated its NuGet.config file present at C:Users[User name]AppDataRoamingNuGetNuGet.config similar to the account i.e. my EId where if tried to restore it works fine.
I am triggering the build on the same server where it is restoring the NuGet if tried manually with VS.
I tried referring different solutions suggested in similar queries but no success. Not sure where is the CI build trying to refer while restoring the NuGet.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…