shinyorg / templates

dotnet CLI & Visual Studio Templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: 'TestOptions' could not be found (.\MauiProgram.cs:7)

darkbluea opened this issue · comments

Steps To Reproduce

  1. Create new project with template XUnitDeviceRunner MAUITests (Shiny .NET)
  • Framework: .NET 7.0 (Standard Term Support)
  1. Disable frameworks - net7.0-android - and - net7.0-maccatalyst -
  2. Delete now useless Platforms directories (Android, MacCatalyst and Tizen)
  3. 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

The file MauiProgram.cs only need using Xunit.Runners.Maui; at the start.

Thanks for reporting this. It will be fixed in the next release