mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Minor update to FAQ.md (#5366)
This commit is contained in:
+7
-10
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user