WpfNewProjectSystemSample Save

Sample WPF application using the new csproj format (.NET Core project system https://github.com/dotnet/project-system/ ). Targering .NET Framework 4.6.2 or higher.

Project README

Wpf sample application for new Project System

This is a sample WPF application using the new csproj format. Targeting .NET Framework (4.6.2 or higher). It could be used to for porting WPF applications to new csproj format until official support is implemented. Please note that Microsoft is aware of the WPF porting problems and included WPF support of the new csproj format for the upcoming VS 16.0 release according the official roadmap.

It works perfectly well with VS IntelliSense and ReSharper. XAML edit & continue also supported. Basically, it should work in the same way as a regular WPF project, but based on the new Project System. However, there are some issues described below.

It includes following workarounds:

Important issues

Please note that this solution doesn't use two-pass XAML building routine, so if you're referencing any elements by name from code-behind it will require you to compile the solution twice (so it will generate the required .g.cs files in intermediate (obj) folder during the first compilation). The problem was discussed there with a known workaround (which is not incorporated into this repository yet) https://github.com/dotnet/project-system/issues/1467#issuecomment-360985477

Open Source Agenda is not affiliated with "WpfNewProjectSystemSample" Project. README Source: aienabled/WpfNewProjectSystemSample
Stars
25
Open Issues
1
Last Commit
6 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating