Skip to content

fix: Updating test setup to build webhost #1649

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

Merged
merged 4 commits into from
Mar 13, 2025
Merged

Conversation

gavin-aguiar
Copy link
Contributor

Description

After the split host feature, the test setup was getting an error while trying to build the host locally

C:\Nuget\microsoft.azure.webjobs.script.extensionsmetadatagenerator\4.0.1\build\Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator.targets(24,5): error MSB4018: The "RemoveRuntimeDependencies" task failed unexpectedly. [G:\Repos\python\azure-functions-python-worker\build\webhost\test\CSharpPrecompiledTestProjects\WebJobsStartupTests\WebJobsStartupTests.csproj]
C:\Nuget\microsoft.azure.webjobs.script.extensionsmetadatagenerator\4.0.1\build\Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator.targets(24,5): error MSB4018: System.IO.IOException: The process cannot access the file 'G:\Repos\python\azure-functions-python-worker\build\webhost\bin\bin\Microsoft.Azure.WebJobs.dll' because it is being used by another process.

Updated the test setups to disable parallel builds so that the dlls are not locked.

Fixes #


PR information

  • The title of the PR is clear and informative.
  • There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
  • If applicable, the PR references the bug/issue that it fixes in the description.
  • New Unit tests were added for the changes made and CI is passing.

Quality of Code and Contribution Guidelines

@gavin-aguiar gavin-aguiar changed the title [fix] Updating test setup to build webhost fix: Updating test setup to build webhost Mar 10, 2025
@hallvictoria hallvictoria merged commit b0b3fdb into dev Mar 13, 2025
24 of 28 checks passed
@hallvictoria hallvictoria deleted the gaaguiar/webhost_build branch March 13, 2025 20:30
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.

2 participants