Minor update to FAQ.md (#5366)

This commit is contained in:
Dongbo Wang
2017-11-08 13:41:53 -08:00
committed by GitHub
parent 1721f348a5
commit 906d0a5576
2 changed files with 10 additions and 13 deletions
+7 -10
View File
@@ -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:
To use the `Microsoft.PowerShell.SDK` NuGet package, declare `PackageReference` tags in your `.csproj` file as follows:
```json
"frameworks": {
"netstandard1.6": {
"imports": [ "dnxcore50", "portable-net45+win8" ],
"dependencies": {
"Microsoft.PowerShell.SDK": "6.0.0-alpha13"
}
}
}
```xml
<ItemGroup>
<PackageReference Include="Microsoft.PowerShell.SDK" Version="6.0.0-beta.9" />
<PackageReference Include="Microsoft.PowerShell.Commands.Diagnostics" Version="6.0.0-beta.9" />
<PackageReference Include="Microsoft.WSMan.Management" Version="6.0.0-beta.9"/>
</ItemGroup>
```
[powershell-core]: https://powershell.myget.org/gallery/powershell-core
+3 -3
View File
@@ -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