Skip to content

"MonoGame Windows Desktop Application (Windows DirectX)" template raises warning on new project #7238

@SimonDarksideJ

Description

@SimonDarksideJ

After creating a new "MonoGame Windows Desktop Application (Windows DirectX)" project using the latest extension, the following warning appears:

Microsoft.NET.Sdk.WindowsDesktop requires 'UseWpf' or 'UseWindowsForms' to be set to 'true' MonoGame Windows Desktop Application (Windows DirectX) C:\Program Files\dotnet\sdk\3.1.302\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.NET.Sdk.WindowsDesktop.targets 96

Seems there is an issue in the .targets file for the template

What version of MonoGame does the bug occur on:

  • MonoGame 3.8

What operating system are you using:

  • Windows 10

What MonoGame platform are you using:

  • WindowsDX

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueIssues recommended for first-time contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions