Skip to content

Commit

Permalink
Update xmlserializergenerator-instructions.md
Browse files Browse the repository at this point in the history
  • Loading branch information
huanwu committed Nov 15, 2017
1 parent 4174976 commit 8ced653
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/xmlserializergenerator-instructions.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -48,7 +48,7 @@ Here are the step by step instructions on how to use Xml Serializer Generator in
var serializer = new System.Xml.Serialization.XmlSerializer(typeof(MyClass));
```

5. Build the application by running `dotnet build`. If everything succeeds, an assembly named MyApp.XmlSerializers.dll will be generated in the output folder. You will see warnings in the build output if the tool failed to generate the assembly.
5. Build the application by running `dotnet build`. If everything succeeds, an assembly named MyApp.XmlSerializers.dll will be generated in the output folder. You will see warnings in the build output if the tool failed to generate the assembly.

Start the application and it will automatically load and use the pre-generated serializers at runtime.

0 comments on commit 8ced653

Please sign in to comment.