-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
area-wpfIssues related to WPF in .NET CoreIssues related to WPF in .NET Core
Description
In a .NET Core (3.0.100-alpha1-009689) WPF project, the following XAML file builds fine with MSBuild but fails to build with dotnet build:
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:system="clr-namespace:System;assembly=mscorlib">
<system:String x:Key="StringResource">Foo</system:String>
</ResourceDictionary>dotnet build gives this error:
error MC3061: The Element type 'System.String' does not have an associated TypeConverter to parse the string 'Foo'. Line 4 Position 43.
Metadata
Metadata
Assignees
Labels
area-wpfIssues related to WPF in .NET CoreIssues related to WPF in .NET Core