You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ImplicitUsings property (enabled by default) negatively affects DevExpress customers because our WPF products depend on Windows Forms assemblies. When you create a new WPF project or enable ImplicitUsings in an existing project, the following error occurs because usings for both WPF and Windows Forms are added:
error CS0104: 'Application' is an ambiguous reference between 'System.Windows.Forms.Application' and 'System.Windows.Application'
This issue affects ALL DevExpress WPF customers who either create a new WPF project for .NET or enable ImplicitUsings in an existing project. Our estimate is that more than 50% of WPF customers will be affected by this issue, so we consider it serious/urgent.
I'm curious if there are any updates or plans regarding this issue. It's still a serious problem since it disrupts the flow for many new users creating a new WPF project and the workaround is not obvious for them.
Problem
The
ImplicitUsings
property (enabled by default) negatively affects DevExpress customers because our WPF products depend on Windows Forms assemblies. When you create a new WPF project or enableImplicitUsings
in an existing project, the following error occurs because usings for both WPF and Windows Forms are added:This issue affects ALL DevExpress WPF customers who either create a new WPF project for .NET or enable
ImplicitUsings
in an existing project. Our estimate is that more than 50% of WPF customers will be affected by this issue, so we consider it serious/urgent.You can reproduce the issue as follows:
Approach 1
Approach 2
Suggestion
Check the project type in order not to add Windows Forms usings to WPF projects.
The text was updated successfully, but these errors were encountered: