Update xmlserializergenerator-instructions.md

This commit is contained in:
Shin Mao 2017-11-15 15:22:32 -08:00 committed by GitHub
parent 2a02ffa3d3
commit fd93131d7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
# Using Microsoft Xml Serializer Generator on .Net Core
# Using Microsoft Xml Serializer Generator on .NET Core
Like the Xml Serializer Generator (sgen.exe) on desktop, Microsoft.XmlSerializer.Generator NuGet package is the solution for .NET Core and .NET Standard Libraries. It creates an Xml serialization assembly for types contained in an assembly to improve the startup performance of Xml serialization when serializing or de-serializing objects of those types using XmlSerializer.
@ -8,14 +8,14 @@ You can start using the tool today following the instructions below.
The following is required for Microsoft.XmlSerializer.Generator to work. You can use command `dotnet --info` to check which versions of .NET Core SDK and runtime you may already have installed.
* [.Net Core SDK 2.0.2 or later](https://www.microsoft.com/net/download/windows)
* [.NET Core SDK 2.0.2 or later](https://www.microsoft.com/net/download/windows)
* [.NET Core runtime 2.0.3 or later](https://github.com/dotnet/core/blob/master/release-notes/download-archives/2.0.3.md)
## Instructions
Here are the step by step instructions on how to use Xml Serializer Generator in a .Net Core console application.
Here are the step by step instructions on how to use Xml Serializer Generator in a .NET Core console application.
1. Create a .Net Core console application, e.g. create an app named 'MyApp' with the command,
1. Create a .NET Core console application, e.g. create an app named 'MyApp' with the command,
```
dotnet new console --name MyApp
```