diff --git a/nuget.config b/nuget.config index bb839932cf..ce1c2b0da6 100644 --- a/nuget.config +++ b/nuget.config @@ -3,6 +3,9 @@ + + + diff --git a/src/Microsoft.Management.Infrastructure/project.json b/src/Microsoft.Management.Infrastructure/project.json index bc8605a8c3..867a9f8e97 100644 --- a/src/Microsoft.Management.Infrastructure/project.json +++ b/src/Microsoft.Management.Infrastructure/project.json @@ -19,8 +19,8 @@ "define": [ "_CORECLR" ] }, "dependencies": { - "System.Runtime.Serialization.Xml": "4.1.1-rc2-24022", - "System.Threading.ThreadPool": "4.0.10-rc2-24022" + "System.Runtime.Serialization.Xml": "4.1.1-rc2-24103", + "System.Threading.ThreadPool": "4.0.10-rc2-24103" } }, "net451": { diff --git a/src/Microsoft.PowerShell.Commands.Management/project.json b/src/Microsoft.PowerShell.Commands.Management/project.json index c09f6e3770..58a0c06577 100644 --- a/src/Microsoft.PowerShell.Commands.Management/project.json +++ b/src/Microsoft.PowerShell.Commands.Management/project.json @@ -19,8 +19,8 @@ "define": [ "CORECLR" ] }, "dependencies": { - "System.ServiceProcess.ServiceController": "4.1.0-rc2-24022", - "System.Net.NameResolution": "4.0.0-rc2-24022" + "System.ServiceProcess.ServiceController": "4.1.0-rc2-24103", + "System.Net.NameResolution": "4.0.0-rc2-24103" } }, "net451": { diff --git a/src/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext/project.json b/src/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext/project.json index 9a0fb78f84..89ab31b971 100644 --- a/src/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext/project.json +++ b/src/Microsoft.PowerShell.CoreCLR.AssemblyLoadContext/project.json @@ -22,8 +22,8 @@ "define": [ "CORECLR" ] }, "dependencies": { - "NETStandard.Library": "1.5.0-rc2-24022", - "System.Runtime.Loader": "4.0.0-rc2-24022" + "NETStandard.Library": "1.5.0-rc2-24103", + "System.Runtime.Loader": "4.0.0-rc2-24103" } } } diff --git a/src/Microsoft.PowerShell.CoreCLR.Eventing/project.json b/src/Microsoft.PowerShell.CoreCLR.Eventing/project.json index 48a5374082..1bb7e2c2e2 100644 --- a/src/Microsoft.PowerShell.CoreCLR.Eventing/project.json +++ b/src/Microsoft.PowerShell.CoreCLR.Eventing/project.json @@ -23,9 +23,9 @@ "define": [ "CORECLR" ] }, "dependencies": { - "System.Security.Principal": "4.0.1-rc2-24022", - "System.Security.Principal.Windows": "4.0.0-rc2-24022", - "System.Diagnostics.TraceSource": "4.0.0-rc2-24022", + "System.Security.Principal": "4.0.1-rc2-24103", + "System.Security.Principal.Windows": "4.0.0-rc2-24103", + "System.Diagnostics.TraceSource": "4.0.0-rc2-24103", "System.Security.SecureString": "1.0.0-*" } } diff --git a/src/Microsoft.PowerShell.CoreConsoleHost/project.json b/src/Microsoft.PowerShell.CoreConsoleHost/project.json index 2fb3204737..e12bf4efb4 100644 --- a/src/Microsoft.PowerShell.CoreConsoleHost/project.json +++ b/src/Microsoft.PowerShell.CoreConsoleHost/project.json @@ -11,8 +11,8 @@ "dependencies": { "Newtonsoft.Json": "8.0.2", - "System.Xml.XDocument": "4.0.11-rc2-24022", - "System.IO.MemoryMappedFiles": "4.0.0-rc2-24022", + "System.Xml.XDocument": "4.0.11-rc2-24103", + "System.IO.MemoryMappedFiles": "4.0.0-rc2-24103", "Microsoft.PowerShell.Commands.Management": "1.0.0-*", "Microsoft.PowerShell.Commands.Utility": "1.0.0-*", "Microsoft.PowerShell.PSReadLine": "1.0.0-*" diff --git a/src/System.Management.Automation/project.json b/src/System.Management.Automation/project.json index 8e8a684e2e..e66f8f86f8 100644 --- a/src/System.Management.Automation/project.json +++ b/src/System.Management.Automation/project.json @@ -30,36 +30,36 @@ "Microsoft.PowerShell.CoreCLR.AssemblyLoadContext": "1.0.0-*", "Microsoft.PowerShell.CoreCLR.Eventing": "1.0.0-*", - "Microsoft.CSharp": "4.0.1-rc2-24022", - "Microsoft.Win32.Registry.AccessControl": "4.0.0-rc2-24022", - "System.Collections.Specialized": "4.0.1-rc2-24022", - "System.Collections.NonGeneric": "4.0.1-rc2-24022", - "System.ComponentModel.EventBasedAsync": "4.0.11-rc2-24022", - "System.ComponentModel.TypeConverter": "4.0.1-rc2-24022", - "System.Data.Common": "4.0.1-rc2-24022", - "System.Diagnostics.Contracts": "4.0.1-rc2-24022", - "System.Diagnostics.FileVersionInfo": "4.0.0-rc2-24022", - "System.Diagnostics.Process": "4.1.0-rc2-24022", - "System.Diagnostics.StackTrace": "4.0.1-rc2-24022", - "System.Diagnostics.TraceSource": "4.0.0-rc2-24022", - "System.Dynamic.Runtime": "4.0.11-rc2-24022", - "System.IO.FileSystem.AccessControl": "4.0.0-rc2-24022", - "System.IO.FileSystem.DriveInfo": "4.0.0-rc2-24022", - "System.IO.FileSystem.Watcher": "4.0.0-rc2-24022", - "System.IO.Pipes": "4.0.0-rc2-24022", - "System.Linq.Expressions": "4.0.11-rc2-24022", - "System.Net.Http": "4.0.1-rc2-24022", - "System.Net.NetworkInformation": "4.1.0-rc2-24022", - "System.Reflection.Emit": "4.0.1-rc2-24022", - "System.Reflection.Emit.Lightweight": "4.0.1-rc2-24022", - "System.Security.AccessControl": "4.0.0-rc2-24022", - "System.Security.Cryptography.Algorithms": "4.1.0-rc2-24022", - "System.Security.Cryptography.X509Certificates": "4.1.0-rc2-24022", - "System.Threading.Thread": "4.0.0-rc2-24022", - "System.Threading.Tasks.Parallel": "4.0.1-rc2-24022", - "System.Xml.XPath.XmlDocument": "4.0.1-rc2-24022", - "System.Xml.XmlDocument": "4.0.1-rc2-24022", - "System.Xml.XmlSerializer": "4.0.11-rc2-24022" + "Microsoft.CSharp": "4.0.1-rc2-24103", + "Microsoft.Win32.Registry.AccessControl": "4.0.0-rc2-24103", + "System.Collections.Specialized": "4.0.1-rc2-24103", + "System.Collections.NonGeneric": "4.0.1-rc2-24103", + "System.ComponentModel.EventBasedAsync": "4.0.11-rc2-24103", + "System.ComponentModel.TypeConverter": "4.0.1-rc2-24103", + "System.Data.Common": "4.0.1-rc2-24103", + "System.Diagnostics.Contracts": "4.0.1-rc2-24103", + "System.Diagnostics.FileVersionInfo": "4.0.0-rc2-24103", + "System.Diagnostics.Process": "4.1.0-rc2-24103", + "System.Diagnostics.StackTrace": "4.0.1-rc2-24103", + "System.Diagnostics.TraceSource": "4.0.0-rc2-24103", + "System.Dynamic.Runtime": "4.0.11-rc2-24103", + "System.IO.FileSystem.AccessControl": "4.0.0-rc2-24103", + "System.IO.FileSystem.DriveInfo": "4.0.0-rc2-24103", + "System.IO.FileSystem.Watcher": "4.0.0-rc2-24103", + "System.IO.Pipes": "4.0.0-rc2-24103", + "System.Linq.Expressions": "4.0.11-rc2-24103", + "System.Net.Http": "4.0.1-rc2-24103", + "System.Net.NetworkInformation": "4.1.0-rc2-24103", + "System.Reflection.Emit": "4.0.1-rc2-24103", + "System.Reflection.Emit.Lightweight": "4.0.1-rc2-24103", + "System.Security.AccessControl": "4.0.0-rc2-24103", + "System.Security.Cryptography.Algorithms": "4.1.0-rc2-24103", + "System.Security.Cryptography.X509Certificates": "4.1.0-rc2-24103", + "System.Threading.Thread": "4.0.0-rc2-24103", + "System.Threading.Tasks.Parallel": "4.0.1-rc2-24103", + "System.Xml.XPath.XmlDocument": "4.0.1-rc2-24103", + "System.Xml.XmlDocument": "4.0.1-rc2-24103", + "System.Xml.XmlSerializer": "4.0.11-rc2-24103" } }, "net451": { diff --git a/src/System.Security.SecureString/project.json b/src/System.Security.SecureString/project.json index 7161f5ed03..787bf17fa0 100644 --- a/src/System.Security.SecureString/project.json +++ b/src/System.Security.SecureString/project.json @@ -12,7 +12,7 @@ "frameworks": { "netstandard1.5": { "dependencies": { - "NETStandard.Library": "1.5.0-rc2-24022" + "NETStandard.Library": "1.5.0-rc2-24103" }, "imports": [ "dnxcore50" ] } diff --git a/src/TypeCatalogParser/project.json b/src/TypeCatalogParser/project.json index bedefcc420..92f387418c 100644 --- a/src/TypeCatalogParser/project.json +++ b/src/TypeCatalogParser/project.json @@ -5,8 +5,8 @@ }, "dependencies": { - "Microsoft.DotNet.ProjectModel": "1.0.0-*", - "Microsoft.DotNet.Cli.Utils": "1.0.0-*" + "Microsoft.DotNet.ProjectModel": "1.0.0-rc2-002665", + "Microsoft.DotNet.Cli.Utils": "1.0.0-rc2-002665" }, "frameworks": { diff --git a/test/csharp/project.json b/test/csharp/project.json index 6d83c1c75c..66756d4dc3 100644 --- a/test/csharp/project.json +++ b/test/csharp/project.json @@ -13,7 +13,7 @@ "imports": [ "dnxcore50", "portable-net45+win8" ], "dependencies": { "xunit": "2.1.0", - "dotnet-test-xunit": "1.0.0-dev-140469-38" + "dotnet-test-xunit": "1.0.0-rc2-173384-19" } } }, diff --git a/test/powershell/PSReadLine.Tests.ps1 b/test/powershell/PSReadLine.Tests.ps1 new file mode 100644 index 0000000000..7821fca3ee --- /dev/null +++ b/test/powershell/PSReadLine.Tests.ps1 @@ -0,0 +1,32 @@ +Describe "PSReadLine" { + BeforeAll { + if (Get-Module PSReadLine) { + $originalEditMode = (Get-PSReadLineOption).EditMode + Remove-Module PSReadLine + } + } + + It "Should import the module correctly" { + Import-Module PSReadLine + $module = Get-Module PSReadLine + $module.Name | Should Be "PSReadLine" + $module.Version | Should Be "1.2" + } + + It "Should set the edit mode" { + Set-PSReadlineOption -EditMode Windows + (Get-PSReadlineKeyHandler | where { $_.Key -eq "Ctrl+A" }).Function | Should Be SelectAll + + Set-PSReadlineOption -EditMode Emacs + (Get-PSReadlineKeyHandler | where { $_.Key -eq "Ctrl+A" }).Function | Should Be BeginningOfLine + } + + AfterAll { + Remove-Module PSReadLine + + if ($originalEditMode) { + Import-Module PSReadLine + Set-PSReadlineOption -EditMode $originalEditMode + } + } +}