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
Permalink
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
HelloWorld-WithLinkedFiles.sln
README.md

README.md

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:

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

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