[Bug]: 'TestOptions' could not be found (.\MauiProgram.cs:7)
darkbluea opened this issue · comments
darkbluea commented
Steps To Reproduce
- Create new project with template XUnitDeviceRunner MAUITests (Shiny .NET)
- Framework: .NET 7.0 (Standard Term Support)
- Disable frameworks - net7.0-android - and - net7.0-maccatalyst -
- Delete now useless Platforms directories (Android, MacCatalyst and Tizen)
- Build
Issue (ie.Compiler Error)
Severity Code Description Project Path File Line Suppression State
Error CS0246 The type or namespace name 'TestOptions' could not be found (are you missing a using directive or an assembly reference?) NewTests (net7.0-windows10.0.19041.0) C:\DassaultDUOS\fsv3-framework\FSDA\NewTests C:\DassaultDUOS\fsv3-framework\FSDA\NewTests\MauiProgram.cs 7 Active
darkbluea commented
The file MauiProgram.cs only need using Xunit.Runners.Maui;
at the start.
Allan Ritchie commented
Thanks for reporting this. It will be fixed in the next release