You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a single solution with multiple web projects and shared libraries. We build and deploy each web project in separate jobs within the same pipeline. We specify a target parameter in the build to ensure that only the required project is built in each job.
This was working until last week. At some point last week the build tasks intermittently failed, until Friday, at which point none would run successfully.
For each project in the solution that isn't the target, the same error is generated:
##[error]X.csproj(0,0): Error MSB4057: The target "Projects\Y" does not exist in the project.
This is an example of one of the tasks. We use VSBuild, but I have confirmed that the same error occurs with MSBuild.
Running the build command locally runs without error. Running the pipeline tasks without the target parameter works, but obviously builds the whole solution. I also tried rolling back to a previously working build, which now also fails.
Required Information
Bug, VSBuild@1 & MSBuild@1
Environment
Server: Azure Pipelines
Account: WriteUpp
Project: WriteUpp
Build Number: 20210528.4 onwards
Agent: Hosted
Queue: Azure Pipelines
Image: windows-latest
Issue Description
We have a single solution with multiple web projects and shared libraries. We build and deploy each web project in separate jobs within the same pipeline. We specify a target parameter in the build to ensure that only the required project is built in each job.
This was working until last week. At some point last week the build tasks intermittently failed, until Friday, at which point none would run successfully.
For each project in the solution that isn't the target, the same error is generated:
This is an example of one of the tasks. We use VSBuild, but I have confirmed that the same error occurs with MSBuild.
Running the build command locally runs without error. Running the pipeline tasks without the target parameter works, but obviously builds the whole solution. I also tried rolling back to a previously working build, which now also fails.
Task logs
33.txt
The text was updated successfully, but these errors were encountered: