Open VS 2022 and choose creating new WiX bundle project in a new solution folder
A new solution and a new project is created, "WixToolset.Bal.wixext" is using the latest version (5.0.1)
Wait for a few second.
Actual Result
VS 2022 throws the following error:
Visual Studio ran into an unexpected problem with one or more projects. You may need to reload affected projects or the solution to prevent further problems. Open log file Reload faulted project(s).
The details are shown below
=====================
22 Jul 2024 8:24:35 am
LimitedFunctionality
System.AggregateException: Project system data flow 'AssetsFileDependenciesDataSource: 41945943' closed because of an exception.
Activating the "Microsoft.VisualStudio.NuGet.NuGetProjectService (1.0)" service failed.
---> (Inner Exception #0) Microsoft.ServiceHub.Framework.ServiceActivationFailedException: Activating the "Microsoft.VisualStudio.NuGet.NuGetProjectService (1.0)" service failed.
at Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.View.<GetProxyAsync>d__19`1.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 FireGiant.HeatWave.ProjectSystem.SolutionExplorer.Dependencies.AssetsFileDependenciesDataSource.<>c.<<-ctor>b__3_0>d.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.VisualStudio.Threading.AwaitExtensions.ExecuteContinuationSynchronouslyAwaiter`1.GetResult()
at Microsoft.VisualStudio.Threading.AsyncLazy`1.<>c__DisplayClass16_0.<<GetValueAsync>b__0>d.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.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
at Microsoft.VisualStudio.Threading.JoinableTask`1.CompleteOnCurrentThread()
at FireGiant.Utility.AsyncLazyExtensions.GetValue[T](AsyncLazy`1 lazy, JoinableTaskFactory joinableTaskFactory, CancellationToken cancellationToken) in D:\a\1\s\src\FireGiant.Common\src\FireGiant.Utility\AsyncLazyExtensions.cs:line 22
at FireGiant.HeatWave.ProjectSystem.SolutionExplorer.Dependencies.AssetsFileDependenciesDataSource.<>c__DisplayClass4_0.<LinkExternalInput>g__Transform|1(IProjectVersionedValue`1 update)
at Microsoft.VisualStudio.ProjectSystem.TransformBlockSlim`2.TransformBlockSlimSync.ProcessInputAsync(TInput input)
at Microsoft.VisualStudio.ProjectSystem.DataReceivingBlockSlim`1.<ProcessInputQueueAsync>d__5.MoveNext()
---> System.InvalidCastException: Unable to cast object of type 'NuGet.VisualStudio.Implementation.Extensibility.NuGetProjectService' to type 'NuGet.VisualStudio.Contracts.INuGetProjectService'.
at Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.ProfferedServiceFactory.<GetProxyAsync>d__30`1.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 System.Threading.Tasks.ValueTask`1.get_Result()
at Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.View.<GetProxyAsync>d__19`1.MoveNext()
--- End of inner exception stack trace ---
<--- (Inner Exception #0)
===================
Expected Result
No exception should be thrown when creating new projects
HeatWave Version
1.0.4.5
Visual Studio Version
17.8.0
Repro Steps
Actual Result
VS 2022 throws the following error: Visual Studio ran into an unexpected problem with one or more projects. You may need to reload affected projects or the solution to prevent further problems. Open log file Reload faulted project(s).
The details are shown below
Expected Result
No exception should be thrown when creating new projects