mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
update FAQ.md to include the powershell-core myget feed (#1878)
This commit is contained in:
1 parent
d6c0e27998
commit
f8afd47c3e
1 file changed
+21
+21
@@ -42,6 +42,27 @@ Read [An Introduction To Error Handling in PowerShell][error] for more informati
|
|||||||
|
|
||||||
[error]: https://blogs.msdn.microsoft.com/kebab/2013/06/09/an-introduction-to-error-handling-in-powershell/
|
[error]: https://blogs.msdn.microsoft.com/kebab/2013/06/09/an-introduction-to-error-handling-in-powershell/
|
||||||
|
|
||||||
|
Where do I get the PowerShell Core SDK package?
|
||||||
|
=============================================================
|
||||||
|
|
||||||
|
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:
|
||||||
|
|
||||||
|
```
|
||||||
|
"frameworks": {
|
||||||
|
"netstandard1.6": {
|
||||||
|
"imports": [ "dnxcore50", "portable-net45+win8" ],
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.PowerShell.SDK": "1.0.0-alpha9"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
[powershell-core]: https://powershell.myget.org/gallery/powershell-core
|
||||||
|
|
||||||
Why did my build fail?
|
Why did my build fail?
|
||||||
============================================
|
============================================
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user