PTVS
PTVS copied to clipboard
vs studio fails on startup
Describe the bug [A clear and concise description of the bug]
Steps to Reproduce
- started vs studio thats it
Expected behavior [A clear and concise description of your expectation]
Additional context and screenshots [Add any other information such as screenshots, error message, or stack trace]
Sample Code
XXX
Configuration information (If you are providing a diagnostics file (see below), skip this section) [Window Title] devenv.exe
[Main Instruction] An unexpected error occurred
[Content] Please press Ctrl+C to copy the contents of this dialog and report this error to our issue tracker.
[^] Hide details [Close]
[Expanded Information]
Build: 17.0.24138.2
Microsoft.VisualStudio.CommonIDE.Solutions.HResultExtensions+WrapperCOMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) [FindActiveProjectCfg @ SolutionBuildManager.cs:2221] ---> System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) [FindActiveProjectCfg @ SolutionBuildManager.cs:2221]
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.VisualStudioTools.Project.ProjectNode.SetCurrentConfiguration()
at Microsoft.PythonTools.Project.PythonProjectNode.SetCurrentConfiguration()
at Microsoft.VisualStudioTools.Project.ProjectNode.GetMsBuildProperty(String propertyName, Boolean resetCache)
at Microsoft.VisualStudioTools.Project.ProjectNode.GetProjectProperty(String propertyName, Boolean resetCache)
at Microsoft.PythonTools.Project.CondaEnvCreateProjectInfoBar.<CheckAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PythonTools.Infrastructure.VSTaskExtensions.<HandleAllExceptions>d__5.MoveNext()