Skip to content
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

Disable parallel publish #214

Closed
wants to merge 1 commit into from
Closed

Disable parallel publish #214

wants to merge 1 commit into from

Conversation

sebastienros
Copy link
Member

Attempting to mitigate dotnet/runtime#101154

@DamianEdwards
Copy link
Member

Still seems to be failing with the file in use error 😞

@DamianEdwards
Copy link
Member

@sebastienros how about we just disable Web CIL in MetricsApp.Client project for now via WasmEnableWebcil=false

@sebastienros
Copy link
Member Author

Will create another PR, want to keep it as I mentioned it in the runtime issue

@maraf
Copy link
Member

maraf commented Apr 19, 2024

The Target Name=GeneratePublishBlazorBootExtensionJson Project=MetricsApp.Client.csproj is being run twice

  • As part of MetricsApp.Client.csproj publish
  • As part of MetricsApp.csproj publish when computing static web assets for referenced projects.

All solution projects are published in parallel

MSBuild
    Parameters
        BuildInParallel = True
        Targets = Publish
        Projects
            ServiceDefaults.csproj
            MetricsApp.Client.csproj
            MetricsApp.csproj
            MetricsApp.AppHost.csproj

msbuild.binlog.zip

Publishing only the server projects seem like a solution

@javiercn Have you ever tackled this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants