Skip to content

WindowsDX project file needs additional paramerters for netcore style project.#7263

Merged
harry-cpp merged 2 commits intoMonoGame:developfrom
SimonDarksideJ:fix/winDXfix
Jul 29, 2020
Merged

WindowsDX project file needs additional paramerters for netcore style project.#7263
harry-cpp merged 2 commits intoMonoGame:developfrom
SimonDarksideJ:fix/winDXfix

Conversation

@SimonDarksideJ
Copy link
Copy Markdown
Contributor

@SimonDarksideJ SimonDarksideJ commented Jul 29, 2020

Following the netcore upgrade guide, a netCore csproj definition should have the following two properties set to true

<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>

Resolves #7238

…ld have the following two properties set to true

<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>

Resolves #7238
@harry-cpp
Copy link
Copy Markdown
Member

You need to put either UseWindowsForms or UseWPF, not both, in our case UseWindowsForms.

Also use spaces, not tabs.

@SimonDarksideJ
Copy link
Copy Markdown
Contributor Author

Hmm, several of the upgrade docs guides advised both, but I'll update (and check those darn spaces too)

@harry-cpp
Copy link
Copy Markdown
Member

Thanks @SimonDarksideJ , merging!

@harry-cpp harry-cpp merged commit 7fa5c5f into MonoGame:develop Jul 29, 2020
@harry-cpp harry-cpp added this to the 3.8 Release milestone Jul 29, 2020
@SimonDarksideJ SimonDarksideJ deleted the fix/winDXfix branch October 14, 2020 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants