From f9643bd9079acb35d0823d1156fecbb1f9506a2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksandar=20Nikoli=C4=87?= Date: Sun, 17 Jul 2016 15:48:26 +0200 Subject: [PATCH 1/2] Update resources.md Fixing typos and formatting. --- docs/workflow/resources.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/workflow/resources.md b/docs/workflow/resources.md index e222e06807..f19f9e7ff9 100644 --- a/docs/workflow/resources.md +++ b/docs/workflow/resources.md @@ -19,19 +19,19 @@ If you see compilation errors related to resources, try to call `Start-ResGen` e PS C:\> Start-ResGen ``` -## Editing resx files +## Editing `.resx` files -**Don't edit** resx files from Visual Studio. +**Don't edit** `.resx` files from Visual Studio. It will try to create `.cs` files for you and you will get whole bunch of hard-to-understand errors. To edit resource file, use any **plain text editor**. -Resource file is a simple xml, and it's easy to edit. +Resource file is a simple XML file, and it's easy to edit. -## Convert txt resource files into resx +## Convert `.txt` resource files into `.resx` files -`dotnet cli` doesn't support embeeding old-fashioned txt resource. -You can do a one-time convertion of `.txt` resources into `.resx` files with a helper function +`dotnet cli` doesn't support embedding old-fashioned `.txt` resource. +You can do a one-time convertion of `.txt` resources into `.resx` files with a helper function: ``` # example, converting all .txt resources under src\Microsoft.WSMan.Management\resources From 0ee1f86b88203f77f39170508f027b83dc5a0fb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksandar=20Nikoli=C4=87?= Date: Wed, 20 Jul 2016 19:48:58 +0200 Subject: [PATCH 2/2] Update resources.md --- docs/workflow/resources.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/workflow/resources.md b/docs/workflow/resources.md index f19f9e7ff9..48d66d9f6a 100644 --- a/docs/workflow/resources.md +++ b/docs/workflow/resources.md @@ -24,8 +24,8 @@ PS C:\> Start-ResGen **Don't edit** `.resx` files from Visual Studio. It will try to create `.cs` files for you and you will get whole bunch of hard-to-understand errors. -To edit resource file, use any **plain text editor**. -Resource file is a simple XML file, and it's easy to edit. +To edit a resource file, use any **plain text editor**. +A resource file is a simple XML file, and it's easy to edit. ## Convert `.txt` resource files into `.resx` files