microsoft / Multilingual-App-Toolkit

This repo contains samples that demonstrate the localization workflow for users of the Multilingual Application Toolkit Visual Studio extension and editor. You can also use GitHub Issues to submit feedback, report bugs, or ask questions.
MIT License
25 stars 4 forks source link

Project 'WPF .net 7' was not enabled - it is not a supported project type ? #31

Closed wstaelens closed 7 months ago

wstaelens commented 7 months ago

Can't seem to enable MAT for a WPF .net 7 project.

Using VS 2022 Pro 17.9.5 on windows 10 x64.

MAT 4.2.3 extension installed.

Others seem to have the same problem: https://stackoverflow.com/questions/75547404/how-to-enable-multilingual-toolkit-for-wpf-application-net-7-0-type-project

joshftb commented 7 months ago

Thanks for reporting this. We will look into it. Do you happen to have a sample project that this issue repros on?

joshftb commented 7 months ago

We tested the extension on a WPF .NET 7 project and found that we could enable it.

As a prerequisite to enabling MAT resource files will need to be present. Assuming that condition is met, you should see the following in the MAT output pane:

image

Then, you can enable MAT from Tools -> “Multilingual App Toolkit” -> “Enable Selection”

image

You will be prompted to set the source language, after which you may click save.

image

When the source language is set the project file should unload and reload. Then, you should see the following output indicating that the tool was enabled:

image

joshftb commented 7 months ago

Marking as closed. Feel free to re-open as needed.