From 41f71efc637b805599b74cce046318cd84d6b165 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Tue, 7 Nov 2017 08:23:42 -0800 Subject: [PATCH 1/2] Minor update to FAQ.md --- docs/FAQ.md | 19 ++++++++----------- docs/installation/linux.md | 6 +++--- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index e8bc134500e..c89f00c15d7 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -43,17 +43,14 @@ Read [An Introduction To Error Handling in PowerShell][error] for more informati The SDK NuGet package `Microsoft.PowerShell.SDK` is provided for developers to write .NET Core C# code targeting PowerShell Core. PowerShell NuGet packages for releases starting from v6.0.0-alpha.9 will be published to the [powershell-core][] myget feed. -To use the `Microsoft.PowerShell.SDK` NuGet package, declare the `frameworks` section in your `project.json` file as follows: - -```json -"frameworks": { - "netstandard1.6": { - "imports": [ "dnxcore50", "portable-net45+win8" ], - "dependencies": { - "Microsoft.PowerShell.SDK": "6.0.0-alpha13" - } - } -} +To use the `Microsoft.PowerShell.SDK` NuGet package, declare `PackageReference` tags in your `.csproj` file as follows: + +```xml + + + + + ``` [powershell-core]: https://powershell.myget.org/gallery/powershell-core diff --git a/docs/installation/linux.md b/docs/installation/linux.md index 67e08e5e965..8a725d8c41f 100644 --- a/docs/installation/linux.md +++ b/docs/installation/linux.md @@ -379,9 +379,9 @@ sudo yum remove powershell ## OpenSUSE 42.2 -> **Note:** When installing PowerShell Core, OpenSUSE may report that nothing provides libcurl. -libcurl should already be installed on supported versions of OpenSUSE. -Run zypper search libcurl to confirm. +> **Note:** When installing PowerShell Core, OpenSUSE may report that nothing provides `libcurl`. +`libcurl` should already be installed on supported versions of OpenSUSE. +Run `zypper search libcurl` to confirm. The error will present 2 'solutions'. Choose 'Solution 2' to continue installing PowerShell Core. ### Installation via Package Repository (preferred) - OpenSUSE 42.2 From b3bf9c5511a50a2bbb4e9f658f2dd52136c6f81c Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Tue, 7 Nov 2017 14:41:00 -0800 Subject: [PATCH 2/2] Address comments --- docs/FAQ.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index c89f00c15d7..f6f252c4225 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -47,9 +47,9 @@ To use the `Microsoft.PowerShell.SDK` NuGet package, declare `PackageReference` ```xml - - - + + + ```