Azure DevOps Use Nuget task Build Failing
Using Azure DevOps. Starting today, all builds are failing at the "Use NuGet" task:
"##[error]Unhandled: Unexpected token ="
The output from the log
This was not an issue before today (11/16/2018). Anyone else using Azure DevOps running into this problem? New builds and existing builds cannot be completed.
continuous-integration azure-devops nuget-package nuget-package-restore
add a comment |
Using Azure DevOps. Starting today, all builds are failing at the "Use NuGet" task:
"##[error]Unhandled: Unexpected token ="
The output from the log
This was not an issue before today (11/16/2018). Anyone else using Azure DevOps running into this problem? New builds and existing builds cannot be completed.
continuous-integration azure-devops nuget-package nuget-package-restore
Sounds like something on the Command Line. Can you show the Nuget Task?
– DaveShaw
Nov 16 '18 at 20:53
Can you show us the configuration of your 'Nuget tool installer' task ?
– D.J.
Nov 17 '18 at 14:05
Here is the YAML: steps: - task: NuGetToolInstaller@0 displayName: 'Use NuGet 4.4.1' inputs: versionSpec: 4.4.1
– M.Robeson
Nov 19 '18 at 15:33
add a comment |
Using Azure DevOps. Starting today, all builds are failing at the "Use NuGet" task:
"##[error]Unhandled: Unexpected token ="
The output from the log
This was not an issue before today (11/16/2018). Anyone else using Azure DevOps running into this problem? New builds and existing builds cannot be completed.
continuous-integration azure-devops nuget-package nuget-package-restore
Using Azure DevOps. Starting today, all builds are failing at the "Use NuGet" task:
"##[error]Unhandled: Unexpected token ="
The output from the log
This was not an issue before today (11/16/2018). Anyone else using Azure DevOps running into this problem? New builds and existing builds cannot be completed.
continuous-integration azure-devops nuget-package nuget-package-restore
continuous-integration azure-devops nuget-package nuget-package-restore
edited Nov 16 '18 at 20:25
Theo
4,2512520
4,2512520
asked Nov 16 '18 at 20:11
M.RobesonM.Robeson
41
41
Sounds like something on the Command Line. Can you show the Nuget Task?
– DaveShaw
Nov 16 '18 at 20:53
Can you show us the configuration of your 'Nuget tool installer' task ?
– D.J.
Nov 17 '18 at 14:05
Here is the YAML: steps: - task: NuGetToolInstaller@0 displayName: 'Use NuGet 4.4.1' inputs: versionSpec: 4.4.1
– M.Robeson
Nov 19 '18 at 15:33
add a comment |
Sounds like something on the Command Line. Can you show the Nuget Task?
– DaveShaw
Nov 16 '18 at 20:53
Can you show us the configuration of your 'Nuget tool installer' task ?
– D.J.
Nov 17 '18 at 14:05
Here is the YAML: steps: - task: NuGetToolInstaller@0 displayName: 'Use NuGet 4.4.1' inputs: versionSpec: 4.4.1
– M.Robeson
Nov 19 '18 at 15:33
Sounds like something on the Command Line. Can you show the Nuget Task?
– DaveShaw
Nov 16 '18 at 20:53
Sounds like something on the Command Line. Can you show the Nuget Task?
– DaveShaw
Nov 16 '18 at 20:53
Can you show us the configuration of your 'Nuget tool installer' task ?
– D.J.
Nov 17 '18 at 14:05
Can you show us the configuration of your 'Nuget tool installer' task ?
– D.J.
Nov 17 '18 at 14:05
Here is the YAML: steps: - task: NuGetToolInstaller@0 displayName: 'Use NuGet 4.4.1' inputs: versionSpec: 4.4.1
– M.Robeson
Nov 19 '18 at 15:33
Here is the YAML: steps: - task: NuGetToolInstaller@0 displayName: 'Use NuGet 4.4.1' inputs: versionSpec: 4.4.1
– M.Robeson
Nov 19 '18 at 15:33
add a comment |
2 Answers
2
active
oldest
votes
There appears to be some sort of issue going on with DevOps at the moment. About the same time that you posted this question, we had attempted to start a build that has run successfully in the past; the only commit edited code, nothing to the packages.config. We received the exact same error that you received here.
A few minutes ago (about an hour after you've posted this), I ran the same build again. This time it got past Nuget Restore, but failed to contact our Octopus Deploy server.
Hopefully this will work itself out, but for now I don't think it has anything to do with your code.
add a comment |
This seems to have been addressed: https://developercommunity.visualstudio.com/content/problem/384011/nuget-tool-installer-018-unexpected-token.html
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53344732%2fazure-devops-use-nuget-task-build-failing%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
There appears to be some sort of issue going on with DevOps at the moment. About the same time that you posted this question, we had attempted to start a build that has run successfully in the past; the only commit edited code, nothing to the packages.config. We received the exact same error that you received here.
A few minutes ago (about an hour after you've posted this), I ran the same build again. This time it got past Nuget Restore, but failed to contact our Octopus Deploy server.
Hopefully this will work itself out, but for now I don't think it has anything to do with your code.
add a comment |
There appears to be some sort of issue going on with DevOps at the moment. About the same time that you posted this question, we had attempted to start a build that has run successfully in the past; the only commit edited code, nothing to the packages.config. We received the exact same error that you received here.
A few minutes ago (about an hour after you've posted this), I ran the same build again. This time it got past Nuget Restore, but failed to contact our Octopus Deploy server.
Hopefully this will work itself out, but for now I don't think it has anything to do with your code.
add a comment |
There appears to be some sort of issue going on with DevOps at the moment. About the same time that you posted this question, we had attempted to start a build that has run successfully in the past; the only commit edited code, nothing to the packages.config. We received the exact same error that you received here.
A few minutes ago (about an hour after you've posted this), I ran the same build again. This time it got past Nuget Restore, but failed to contact our Octopus Deploy server.
Hopefully this will work itself out, but for now I don't think it has anything to do with your code.
There appears to be some sort of issue going on with DevOps at the moment. About the same time that you posted this question, we had attempted to start a build that has run successfully in the past; the only commit edited code, nothing to the packages.config. We received the exact same error that you received here.
A few minutes ago (about an hour after you've posted this), I ran the same build again. This time it got past Nuget Restore, but failed to contact our Octopus Deploy server.
Hopefully this will work itself out, but for now I don't think it has anything to do with your code.
answered Nov 16 '18 at 21:46
Chris SmithChris Smith
223
223
add a comment |
add a comment |
This seems to have been addressed: https://developercommunity.visualstudio.com/content/problem/384011/nuget-tool-installer-018-unexpected-token.html
add a comment |
This seems to have been addressed: https://developercommunity.visualstudio.com/content/problem/384011/nuget-tool-installer-018-unexpected-token.html
add a comment |
This seems to have been addressed: https://developercommunity.visualstudio.com/content/problem/384011/nuget-tool-installer-018-unexpected-token.html
This seems to have been addressed: https://developercommunity.visualstudio.com/content/problem/384011/nuget-tool-installer-018-unexpected-token.html
answered Dec 4 '18 at 19:22
M.RobesonM.Robeson
41
41
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53344732%2fazure-devops-use-nuget-task-build-failing%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Sounds like something on the Command Line. Can you show the Nuget Task?
– DaveShaw
Nov 16 '18 at 20:53
Can you show us the configuration of your 'Nuget tool installer' task ?
– D.J.
Nov 17 '18 at 14:05
Here is the YAML: steps: - task: NuGetToolInstaller@0 displayName: 'Use NuGet 4.4.1' inputs: versionSpec: 4.4.1
– M.Robeson
Nov 19 '18 at 15:33