-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: How to restore missing dependencies ? #4572
Comments
Hi @g3rzi, the Microsoft.TeamFoundation.DistributedTask.WebApi.dll is a part of the vss-api-netcore package. |
HI @g3rzi! |
Thanks, I edited the
But after restart of Visual Studio, it still doesn't show a reference to Pipelines.AgentJobRequestMessage. The problem is much larger than that, all the dependencies appear to be missing: Did you try to download the repository from scratch? |
Hi @g3rzi, could you please confirm that you can build agent using |
Yes, it works.
|
@kirill-ivlev - please confirm that VS 2017 is the version of VS that should be used for this. |
@StingyJack not really, I'm using VS 2022 with no issues. Closing this one, since issue is resolved. |
Describe your question
I am able to make changes in the agent and build through the script
dev.cmd
but when I open the solution with Visual Studio 2017 it shows me that all the dependencies are missing although they are not:It makes debugging harder because I can see some of the object properties. For example, in the RunAsync function in the
JobRunner
class ofAgent.Worker
I wanted to see the properties of thePipelines.AgentJobRequestMessage
object which is part of the dependencyMicrosoft.TeamFoundation.DistributedTask.WebApi.dll
but the solution can't find it.Is there a simple way to restore them? I tried with
dotnet restore
without success.Versions
latest, this is a general question, it happens in every solution I tried.
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
Azure DevOps Server (Please specify exact version in the textbox below)
Operation system
No response
Version controll system
No response
Azure DevOps Server Version (if applicable)
No response
The text was updated successfully, but these errors were encountered: