-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
error CTC1030: Parameter name: path2 #10031
Comments
HI @DaveBubenik , we're working on your issue will share the workaround ASAP. |
Hi @DaveBubenik , Please look into below provided link by developer community . the vs 17.10.1 is latest version , they rolled out the version to 17.9.6 from latest. try to re-run the pipeline by taking below link as reference. https://devblogs.microsoft.com/visualstudio/visual-studio-2022-17-10-performance-enhancements/ |
Hi @DaveBubenik , Please share your comments on your issue to proceed to next step. |
I re-ran the pipeline, but it's still broken. I opened a bug with the DockerTools repo as well here: They advised I add "msbuildArchitecture: 'x64'" to my vsbuild argument. This got me past the path2 error, but now the image is complaining that I'm trying to build Linux containers but only Windows containers are available. We don't actually use the Docker containers that are built using vsbuild. So I'm not actually sure they were being built before the regression occurred. I can create custom configurations to prevent the docker-compose project from being built in the build pipeline, but it would be nice to not have to maintain this. Do you know if there is some other workaround? Or is there a way switch the runner to use Linux containers? |
Do you know if there is some other workaround? Or is there a way switch the runner to use Linux containers?
could you please try run the pipeline with linux agent as AZ pipelines takes windows agents by default . if you're already running on ubuntu machines , we request you to share your pipeline to understand the issue . |
@kishorekumar-anchala the pipeline script is in the project I attached when I originally opened this ticket. It's azure-pipelines.yml Here it is again for your reference: The VSBuild task only works on Windows agents. I'm trying to use VSBuild to build my sln file, but my sln file contains a docker compose project that has Linux containers. Previously, my project built without any problems, but now it's failing dues to an update in the runner-image. |
By configuring docker compose task in your pipeline after vsbuild task , it would be work , kindly try to re run your pipeline by adding the docker compose task . task like this
step 2 : if fails with windows-latest runner images , please try to run with ubuntu agents as mentioned above. Please revert us if you're facing the same issue, thankyou ! |
@kishorekumar-anchala the vsbuild step fails when I do this because of the error I listed in this defect. I can't use ubuntu-latest because it does not support vsbuild. |
HI @DaveBubenik , Have you tried with the below task ?
please try to run your pipeline to build your docker compose . |
@kishorekumar-anchala I added the docker compose step, but VSBuild still fails |
HI @DaveBubenik , I have tried locally , now it got succeeded. try with below workarounds. ` FROM mcr.microsoft.com/dotnet/framework/sdk:4.8-windowsservercore-ltsc2022 AS build FROM build AS publish FROM base AS final
trigger:
pool: variables: steps:
Note : We're not going to handle these type of issues, Could you please raise bug issues with appropriate repo. we hope the above workaround will resolve your issue, Thankyou ! |
Description
I'm seeing this error when building in Azure DevOps on Microsoft Hosted Agents. I don't see the error when I build locally on Visual Studio Pro Version 17.10.1.
The error exists in the following image:
https://github.com/actions/runner-images/releases/tag/win22%2F20240603.1
Here is the full error:
I've also opened a bug with the DockerTools repo because I'm not sure where the error is originating:
microsoft/DockerTools#430
Platforms affected
Runner images affected
Image version and build link
I was able reproduce this with a minimal example:
I've attached a project using the above sequence. The Azure build pipeline file is azure-pipelines.yml.
BlazorApp.zip
Is it regression?
https://github.com/actions/runner-images/releases/tag/win22%2F20240514.3
Expected behavior
No error
Actual behavior
error CTC1030: Parameter name: path2
Repro steps
I've attached a project using the ab
BlazorApp.zip
ove sequence. The Azure build pipeline file is azure-pipelines.yml.
The text was updated successfully, but these errors were encountered: