forked from microsoft/WPF-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request microsoft#65 from Microsoft/ryalanms-patch-1
Update README.md to include new .NET core 3.0 project and solution files
- Loading branch information
Showing
1 changed file
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,19 +15,29 @@ Help us improve out samples by sending us a pull-request or opening a [GitHub Is | |
Questions: mail [email protected] | ||
|
||
## WPF development | ||
These samples require Visual Studio 2015 to build, test, and deploy. | ||
These samples require Visual Studio 2017 to build, test, and deploy. The multitargeted .NET SDK samples require the .NET Core SDK. | ||
|
||
[Get a free copy of Visual Studio 2015 Community Edition with support for building WPF apps](https://www.visualstudio.com/wpf-vs) | ||
[Get a free copy of Visual Studio 2017 Community Edition with support for building WPF apps](https://www.visualstudio.com/wpf-vs) | ||
|
||
[.NET Core SDK](https://github.com/dotnet/core-sdk) | ||
|
||
## Using the samples | ||
|
||
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in Visual Studio 2015. | ||
To use the samples with Git, clone the WPF-Samples repository with 'git clone https://github.com/microsoft/WPF-Samples' | ||
|
||
After cloning the WPF-Samples respository, there will be two solution files in the root directory: WPF-Samples.sln (targeting .NET Framework 4.5.2) and WPF-Samples.netcore.sln (.NET SDK, targeting .NET core 3.0 and .NET Framework 4.72). | ||
|
||
* To build the samples, open one of the solution files in Visual Studio 2017 and build the solution. | ||
* Alternatively, navigate to the directory of a sample. There will be two project files: sampleName.csproj (.NET 4.5.2) and sampleName.netcore.csproj (multitargeted .NET core 3.0 and .NET Framework 4.7.2). Build with 'dotnet build' or 'msbuild' specifying the target project file. | ||
|
||
The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in Visual Studio 2017. | ||
|
||
[Download the samples ZIP](../../archive/master.zip) | ||
|
||
**Notes:** | ||
* Before you unzip the archive, right-click it, select Properties, and then select Unblock. | ||
* Most samples should work independently | ||
* By default, all the sample target .NET 4.5.2, you can change this to .NET 4.6 in the Project->Properties page in Visual Studio. | ||
* By default, all the .NET Framework samples target .NET 4.5.2, you can change this to .NET 4.6 in the Project->Properties page in Visual Studio. | ||
* The .NET SDK versions of the projects target .NET core 3.0 and .NET Framework 4.7.2. | ||
|
||
For more info about the programming models, platforms, languages, and APIs demonstrated in these samples, please refer to the guidance available in [MSDN](https://msdn.microsoft.com/en-us/library/ms754130.aspx). These samples are provided as-is in order to indicate or demonstrate the functionality of the programming models and feature APIs for WPF. |