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 use Nant to manage our nightly builds. Our solution contains a Python project. The nightly builds are not building the Python project. This complaint appears in the output:
[echo] Rebuild All sln started.
[exec]
[exec] Microsoft Visual Studio 2022 Version 17.6.12.
[exec] Copyright (C) Microsoft Corp. All rights reserved.
[exec]
[exec] Package 'Python Tools Package' failed to load.
[exec] c:\AutomatedBuild\dev\Enhance-LF\Enhance-LF.pyproj : error : Error HRESULT E_FAIL has been returned from a call to a COM component.
[exec] Rebuild started...
When I open that same solution manually on the same machine and build, I get no errors and the Python project is built along with everything else.
We ran devenv directly from the command prompt and got the same results:
"C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE>devenv.com c:/automatedbuild/dev/all.sln /build debug^|x64 /out c:/automatedbuild/dev/VSoutputrelease.txt
c:\AutomatedBuild\dev\Enhance-LF\Enhance-LF.pyproj : error : Error HRESULT E_FAIL has been returned from a call to a COM component."
We're not sure where to go now as far as troubleshooting. Any thoughts would be appreciated.
Thanks,
Tara
Original Comments
Feedback Bot on 3/21/2024, 07:23 PM:
(private comment, text removed)
Graham Wheeler [MSFT] on 3/27/2024, 10:14 AM:
(private comment, text removed)
Ficken, Tara (US) on 3/27/2024, 11:11 AM:
(private comment, text removed)
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered:
Hi there, thanks for reporting the issue. Is your code in a public repo or could you provide sample code that repros this issue? It's really difficult to diagnose without repro steps. Thanks.
We got the same results when trying to build the sample solution. We were able to build from within Visual Studio 2022, but not when using devenv.com from the command line. Thanks in advance for your help!
This issue has been moved from a ticket on Developer Community.
We use Nant to manage our nightly builds. Our solution contains a Python project. The nightly builds are not building the Python project. This complaint appears in the output:
[echo] Rebuild All sln started.
[exec]
[exec] Microsoft Visual Studio 2022 Version 17.6.12.
[exec] Copyright (C) Microsoft Corp. All rights reserved.
[exec]
[exec] Package 'Python Tools Package' failed to load.
[exec] c:\AutomatedBuild\dev\Enhance-LF\Enhance-LF.pyproj : error : Error HRESULT E_FAIL has been returned from a call to a COM component.
[exec] Rebuild started...
When I open that same solution manually on the same machine and build, I get no errors and the Python project is built along with everything else.
We ran devenv directly from the command prompt and got the same results:
"C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE>devenv.com c:/automatedbuild/dev/all.sln /build debug^|x64 /out c:/automatedbuild/dev/VSoutputrelease.txt
c:\AutomatedBuild\dev\Enhance-LF\Enhance-LF.pyproj : error : Error HRESULT E_FAIL has been returned from a call to a COM component."
We're not sure where to go now as far as troubleshooting. Any thoughts would be appreciated.
Thanks,
Tara
Original Comments
Feedback Bot on 3/21/2024, 07:23 PM:
(private comment, text removed)
Graham Wheeler [MSFT] on 3/27/2024, 10:14 AM:
(private comment, text removed)
Ficken, Tara (US) on 3/27/2024, 11:11 AM:
(private comment, text removed)
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: