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

Unable to build on Devops Server. #4622

Closed
shahjn opened this issue Jun 10, 2024 · 1 comment
Closed

Unable to build on Devops Server. #4622

shahjn opened this issue Jun 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@shahjn
Copy link

shahjn commented Jun 10, 2024

What happened?

The Microsoft.Web.WebView2 package version 1.0.2535.41 installs and builds locally in Visual Studip 2022.
However, on our Devops Server we are seeing this :-

The Build step fails for only this package with the following error:-

C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3017,5): Error MSB4181: The "ResolveComReference" task returned false but did not log an error.
MyProject.vbproj(185,5): Error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Microsoft.Web.WebView2.1.0.2535.41\build\Microsoft.Web.WebView2.targets.
Process 'MSBuild.exe' exited with code '1'.

Thanks,
JS

Importance

Moderate. My app's user experience is affected, but still usable.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

1.0.2535.41

SDK Version

No response

Framework

Winforms

Operating System

Windows 10

OS Version

10.0.19045

Repro steps

Running CI Build on the Devops server:-

  1. The Build step C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe is failing.

C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3017,5): Error MSB4181: The "ResolveComReference" task returned false but did not log an error.
MyProject.vbproj(185,5): Error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Microsoft.Web.WebView2.1.0.2535.41\build*Microsoft.Web.WebView2.targets.*
Process 'MSBuild.exe' exited with code '1'.

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

@shahjn shahjn added the bug Something isn't working label Jun 10, 2024
@shahjn
Copy link
Author

shahjn commented Jun 10, 2024

We discovered that the build folder for the Nuget package was not being copied into our Repo (gitignore rule). Please go ahead and close this issue. Thanks.

@shahjn shahjn closed this as completed Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant