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
Prior to the introduction of workloads, it was possible to write NUnit projects for a Maui library. The project created virtual controls within a Windows executable without creating the native controls.
With VS 2022 preview 4, the project gives the error: The framework 'Microsoft.Maui.Core', version 'FromWorkload' (x64) was not found.
It was also possible to write MSTest unit tests that launched the unit tests as a MSIX application using the the following code in App.xaml.cs (using MSTest.TestFramework, MSTest.TestAdapter, Microsoft.TestPlatform.TestHost and coverlet.collector).
With VS2022 preview 4, the MSTest project gives the error: error CS7069: Reference to type 'DispatcherQueue' claims it is defined in 'Microsoft.WinUI', but it could not be found
What is the guidance for writing unit tests which can be run within VS for testing Maui libraries for Windows?
The text was updated successfully, but these errors were encountered:
Prior to the introduction of workloads, it was possible to write NUnit projects for a Maui library. The project created virtual controls within a Windows executable without creating the native controls.
With VS 2022 preview 4, the project gives the error:
The framework 'Microsoft.Maui.Core', version 'FromWorkload' (x64) was not found.
It was also possible to write MSTest unit tests that launched the unit tests as a MSIX application using the the following code in App.xaml.cs (using MSTest.TestFramework, MSTest.TestAdapter, Microsoft.TestPlatform.TestHost and coverlet.collector).
With VS2022 preview 4, the MSTest project gives the error:
error CS7069: Reference to type 'DispatcherQueue' claims it is defined in 'Microsoft.WinUI', but it could not be found
What is the guidance for writing unit tests which can be run within VS for testing Maui libraries for Windows?
The text was updated successfully, but these errors were encountered: