Branch: master
Find file History
kvalev and rpetrusha WPF's sample csproj files are not up to date (#506)
* Adapt csproj files

* Update README
Latest commit 5df9246 Jan 30, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
HelloWorldCore WPF's sample csproj files are not up to date (#506) Jan 30, 2019
HelloWorldNetFx Address PR feedback. Clean up unused files, change namespaces. Oct 18, 2018

WPF Hello World sample with linked files

This sample shows how to use linked files to share the source code of a WPF application based on .NET Framework with a .NET Core 3.0 project.

To share source code, you can use the Link attribute in most of the project elements:

    <ApplicationDefinition Include="..\HelloWorldNetFx\App.xaml" Link="App.xaml" />
    <Compile Include="..\HelloWorldNetFx\App.xaml.cs" Link="App.xaml.cs" />

    <Page Include="..\HelloWorldNetFx\MainWindow.xaml" Link="MainWindow.xaml" />
    <Compile Include="..\HelloWorldNetFx\MainWindow.xaml.cs" Link="MainWindow.xaml.cs" />