Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET Core 3.0 - WPF, the type 'x:Static' was not found #2113

Closed
Symbai opened this issue Dec 6, 2018 · 2 comments
Closed

.NET Core 3.0 - WPF, the type 'x:Static' was not found #2113

Symbai opened this issue Dec 6, 2018 · 2 comments

Comments

@Symbai
Copy link

Symbai commented Dec 6, 2018

Trying to port an existing WPF app to .NET Core 3.0 using VS 2019 Preview. I created a new WPF project using .NET core then imported my existing files, so far everything is fine. But some XML files have errors about:

XLS0414 The type 'x:Static' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.

Where x is being defined as:

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

Example where I'm using this:

ToolTip="{x:Static properties:Resources.PlayButtonTooltip}"

Example project:
CoreTest.zip

@Symbai Symbai changed the title .NET Core 3.0 - The type 'x:Static' was not found .NET Core 3.0 - WPF, the type 'x:Static' was not found Dec 6, 2018
@vivmishra
Copy link
Contributor

cc: @vatsan-madhavan ; @amit-kabra

@Symbai
Copy link
Author

Symbai commented Dec 7, 2018

I'm closing this as problem is being addressed in WPF repo dotnet/wpf#117

@Symbai Symbai closed this as completed Dec 7, 2018
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

No branches or pull requests

2 participants