From 4f74f7062d16673555cdc6d7d962cb3b3820ca8a Mon Sep 17 00:00:00 2001 From: Shin Mao Date: Tue, 7 Nov 2017 18:29:24 -0800 Subject: [PATCH] Fixed indentions of code blocks. --- .../xmlserializergenerator-instructions.md | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/samples/xmlserializergenerator-instructions.md b/samples/xmlserializergenerator-instructions.md index d06eeed5..227e7d40 100644 --- a/samples/xmlserializergenerator-instructions.md +++ b/samples/xmlserializergenerator-instructions.md @@ -12,11 +12,11 @@ You can start using the tool today following the instructions below. Note: You would need to set the project's `RuntimeFrameworkVersion` to the build version of the runtime, which can be found on the download page. For example, if the build version is `2.0.4-servicing-25831-01`, add the following lines in the project's .csproj, -```xml - - 2.0.4-servicing-25831-01 - -``` + ```xml + + 2.0.4-servicing-25831-01 + + ``` ## Instructions @@ -27,24 +27,25 @@ Here are the step by step instructions on how to use Xml Serializer Generator in 2. Add dotnet-core MyGet feed to the project. * Go to the project folder and create a file named `nuget.config` with the following content. The final file should look like [nuget.config](nuget.config) -```xml + + ```xml -``` + ``` 3. Add a reference to the Microsoft.XmlSerializer.Generator package: * Add the following lines in MyApp.csproj. -```xml - - - -``` + ```xml + + + + ``` 4. Build the application by running `dotnet restore` and `dotnet build`. If everything succeeds, a file 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 serialization code.