From d8996b2bf74d242c5f90cd70693bf19cecf4d04d Mon Sep 17 00:00:00 2001 From: Zachary Folwick Date: Wed, 19 Aug 2015 14:13:15 -0700 Subject: [PATCH 01/30] added pester tests for out-file and got running in linux --- src/pester-tests/Test-Out-File.Tests.ps1 | 112 +++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 src/pester-tests/Test-Out-File.Tests.ps1 diff --git a/src/pester-tests/Test-Out-File.Tests.ps1 b/src/pester-tests/Test-Out-File.Tests.ps1 new file mode 100644 index 000000000..9856af0ae --- /dev/null +++ b/src/pester-tests/Test-Out-File.Tests.ps1 @@ -0,0 +1,112 @@ +Describe "Test-Out-File" { + $a = "some test text" + $b = New-Object psobject -Property @{text=$a} + $Testfile = "/tmp/outfileTest.txt" + + BeforeEach { + if (Test-Path -Path $testfile) + { + Set-ItemProperty -Path $testfile -Name IsReadOnly -Value $false + rm $testfile + } + } + + AfterEach { + # implement in *nix to remove test files after each test if they exist + rm $testfile + } + + It "Should be able to be called without error" { + { Out-File -FilePath $testfile } | Should Not Throw + } + + It "Should be able to accept string input" { + { $a | Out-File -FilePath $testfile } | Should Not Throw + + { Out-File -FilePath $testfile -InputObject $a } | Should Not Throw + } + + It "Should be able to accept object input" { + { $b | Out-File -FilePath $testfile } | Should Not Throw + + { Out-File -FilePath $testfile -InputObject $b } | Should Not Throw + } + + It "Should not overwrite when the noclobber switch is used" { + + Out-File -FilePath $testfile -InputObject $b + + { Out-File -FilePath $testfile -InputObject $b -NoClobber -ErrorAction SilentlyContinue } | Should Throw "already exists." + { Out-File -FilePath $testfile -InputObject $b -NoOverWrite -ErrorAction SilentlyContinue } | Should Throw "already exists." + + $actual = Get-Content $testfile + + $actual[0] | Should Be "" + $actual[1] | Should Match "text" + $actual[2] | Should Match "----" + $actual[3] | Should Match "some test text" + } + + It "Should Append a new line when the append switch is used" { + { Out-File -FilePath $testfile -InputObject $b } | Should Not Throw + { Out-File -FilePath $testfile -InputObject $b -Append } | Should Not Throw + + $actual = Get-Content $testfile + + $actual[0] | Should Be "" + $actual[1] | Should Match "text" + $actual[2] | Should Match "----" + $actual[3] | Should Match "some test text" + $actual[4] | Should Be "" + $actual[5] | Should Be "" + $actual[6] | Should Be "" + $actual[7] | Should Match "text" + $actual[8] | Should Match "----" + $actual[9] | Should Match "some test text" + $actual[10] | Should Be "" + $actual[11] | Should Be "" + + } + + It "Should limit each line to the specified number of characters when the width switch is used on objects" { + + Out-File -FilePath $testfile -Width 10 -InputObject $b + + $actual = Get-Content $testfile + + $actual[0] | Should Be "" + $actual[1] | Should Be "text " + $actual[2] | Should Be "---- " + $actual[3] | Should Be "some te..." + + } + + ### -force switch override + It "Should allow the cmdlet to overwrite an existing read-only file" { + # create a read-only text file + { Out-File -FilePath $testfile -InputObject $b } | Should Not Throw + Set-ItemProperty -Path $testfile -Name IsReadOnly -Value $true + + # write information to the RO file + { Out-File -FilePath $testfile -InputObject $b -Append -Force } | Should Not Throw + + $actual = Get-Content $testfile + + $actual[0] | Should Be "" + $actual[1] | Should Match "text" + $actual[2] | Should Match "----" + $actual[3] | Should Match "some test text" + $actual[4] | Should Be "" + $actual[5] | Should Be "" + $actual[6] | Should Be "" + $actual[7] | Should Match "text" + $actual[8] | Should Match "----" + $actual[9] | Should Match "some test text" + $actual[10] | Should Be "" + $actual[11] | Should Be "" + + # reset to not read only so it can be deleted + Set-ItemProperty -Path $testfile -Name IsReadOnly -Value $false + } + ###These commands show how to use the Out-File cmdlet when you are not in a FileSystem drive. +} From adb2e66c91d088d9c92d6f810e3bac838a1cdb69 Mon Sep 17 00:00:00 2001 From: Zachary Folwick Date: Mon, 24 Aug 2015 10:06:48 -0700 Subject: [PATCH 02/30] removed typos --- src/pester-tests/Test-Out-File.Tests.ps1 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pester-tests/Test-Out-File.Tests.ps1 b/src/pester-tests/Test-Out-File.Tests.ps1 index 9856af0ae..db63179f4 100644 --- a/src/pester-tests/Test-Out-File.Tests.ps1 +++ b/src/pester-tests/Test-Out-File.Tests.ps1 @@ -81,7 +81,6 @@ } - ### -force switch override It "Should allow the cmdlet to overwrite an existing read-only file" { # create a read-only text file { Out-File -FilePath $testfile -InputObject $b } | Should Not Throw @@ -108,5 +107,4 @@ # reset to not read only so it can be deleted Set-ItemProperty -Path $testfile -Name IsReadOnly -Value $false } - ###These commands show how to use the Out-File cmdlet when you are not in a FileSystem drive. -} +} From e0f6b1fa0b66482e8acf0b1a8e81ab85417d2a41 Mon Sep 17 00:00:00 2001 From: Zachary Folwick Date: Tue, 25 Aug 2015 14:46:29 -0700 Subject: [PATCH 03/30] added New-Item Test Suite --- src/pester-tests/Test-New-Item.Tests.ps1 | 81 ++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 src/pester-tests/Test-New-Item.Tests.ps1 diff --git a/src/pester-tests/Test-New-Item.Tests.ps1 b/src/pester-tests/Test-New-Item.Tests.ps1 new file mode 100644 index 000000000..c57531203 --- /dev/null +++ b/src/pester-tests/Test-New-Item.Tests.ps1 @@ -0,0 +1,81 @@ +Describe "Test-New-Item" { + $tmpDirectory = "/tmp" + $testfile = "testfile.txt" + $testfolder = "newDirectory" + + $FullyQualifiedFile = $tmpDirectory + "/" + $testfile + $FullyQualifiedFolder = $tmpDirectory +"/" + $testfolder + + AfterEach { + if (Test-Path $FullyQualifiedFile) + { + { Remove-Item $FullyQualifiedFile -Force} | Should Not Throw + } + + if (Test-Path $FullyQualifiedFolder) + { + { Remove-Item $FullyQualifiedFolder -Recurse -Force } | Should Not Throw + } + } + + It "should call the function without error" { + { New-Item -Name $testfile -Path $tmpDirectory -ItemType file } | Should Not Throw + } + + It "Should create a file without error" { + New-Item -Name $testfile -Path $tmpDirectory -ItemType file + + Test-Path $FullyQualifiedFile | Should Be $true + } + + It "Should create a folder without an error" { + New-Item -Name newDirectory -Path $tmpDirectory -ItemType directory + + Test-Path $FullyQualifiedFolder | Should Be $true + } + + It "Should create a file using the ni alias" { + ni -Name $testfile -Path $tmpDirectory -ItemType file + + Test-Path $FullyQualifiedFile | Should Be $true + } + + It "Should create a file using the Type alias instead of ItemType" { + New-Item -Name $testfile -Path $tmpDirectory -Type file + + Test-Path $FullyQualifiedFile | Should Be $true + } + + It "Should create a file with sample text inside the file using the Value switch" { + $expected = "This is test string" + New-Item -Name $testfile -Path $tmpDirectory -ItemType file -Value $expected + + Test-Path $FullyQualifiedFile | Should Be $true + + Get-Content $FullyQualifiedFile | Should Be $expected + } + + It "Should not create a file when the Name switch is not used and only a directory specified" { + #errorAction used because permissions issue in windows + New-Item -Path $tmpDirectory -ItemType file -ErrorAction SilentlyContinue + + Test-Path $FullyQualifiedFile | Should Be $false + + } + + It "Should create a file when the Name switch is not used but a fully qualified path is specified" { + New-Item -Path $FullyQualifiedFile -ItemType file + + Test-Path $FullyQualifiedFile | Should Be $true + } + + It "Should be able to create a multiple items in different directories" { + $FullyQualifiedFile2 = $tmpDirectory + "/" + "test2.txt" + New-Item -ItemType file -Path $FullyQualifiedFile, $FullyQualifiedFile2 + + Test-Path $FullyQualifiedFile | Should Be $true + Test-Path $FullyQualifiedFile2 | Should Be $true + + Remove-Item $FullyQualifiedFile2 + } +} From aa45feb3856867b986c15afdcce561b02f9a14f0 Mon Sep 17 00:00:00 2001 From: Zachary Folwick Date: Wed, 2 Sep 2015 16:15:52 -0700 Subject: [PATCH 04/30] Added test suite for Test-Path cmdlet --- src/pester-tests/Test-Test-Path.Tests.ps1 | 106 ++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 src/pester-tests/Test-Test-Path.Tests.ps1 diff --git a/src/pester-tests/Test-Test-Path.Tests.ps1 b/src/pester-tests/Test-Test-Path.Tests.ps1 new file mode 100644 index 000000000..144442fa1 --- /dev/null +++ b/src/pester-tests/Test-Test-Path.Tests.ps1 @@ -0,0 +1,106 @@ +Describe "Test-Test-Path" { + $testdirectory = "/usr/bin" + $testfilename = "vi" # use /usr/bin/vi since that's bundled with all linux + $testfile = $testdirectory + "/" + $testfilename + It "Should be called on an existing path without error" { + { Test-Path $testdirectory } | Should Not Throw + { Test-Path -Path $testdirectory } | Should Not Throw + { Test-Path -LiteralPath $testdirectory } | Should Not Throw + } + + It "Should allow piping objects to it" { + { $testdirectory | Test-Path } | Should Not Throw + } + + It "Should return a boolean data type" { + { Test-Path -Path $testdirectory } | Should Be ($true -or $false) + } + + It "Should be called on a nonexistant path without error" { + { Test-Path -Path "aNonexistant/path/that/should/error" } | Should Not Throw + } + + It "Should return false for a nonexistant path" { + Test-Path -Path "aNonexistant/path/that/should/error" | Should Be $false + } + + It "Should return true for an existing path" { + Test-Path -Path $testdirectory | Should Be $true + } + + It "Should be able to accept a regular expression" { + { Test-Path -Path "/u*" } | Should Not Throw + } + + It "Should be able to return the correct result when a regular expression is used" { + Test-Path -Path "/u*" | Should Be $true + + Test-Path -Path "/aoeu*" | Should Be $false + } + + It "Should return false when the Leaf pathtype is used on a directory" { + Test-Path -Path $testdirectory -PathType Leaf | Should Be $false + } + + It "Should return true when the Leaf pathtype is used on an existing endpoint" { + Test-Path -Path $testfile -PathType Leaf | Should Be $true + } + + It "Should return false when the Leaf pathtype is used on a nonexistant file" { + Test-Path -Path "aoeu" -PathType Leaf | Should Be $false + } + + It "Should return true when the Leaf pathtype is used on a file using the Type alias instead of PathType" { + Test-Path -Path $testfile -Type Leaf | Should Be $true + } + + It "Should be able to search multiple regular expressions using the include switch" { + Test-Path -Path "/usr/bin/*" -Include vi* | Should Be $true + } + + It "Should be able to exclude a regular expression using the exclude switch" { + Test-Path -Path "/usr/bin/" -Exclude vi* | Should Be $true + } + + It "Should be able to exclude multiple regular expressions using the exclude switch" { + # tests whether there's any files in the /usr directory that don't start with 'd' or 'g' + Test-Path -Path "/usr" -Exclude d*, g* | Should Be $true + } + + It "Should return true if the syntax of the path is correct when using the IsValid switch" { + Test-Path -Path /this/is/a/valid/path -IsValid | Should Be $true + } + + It "Should return false if the syntax of the path is incorrect when using the IsValid switch" { + Test-Path -Path C:/usr/bin -IsValid | Should Be $false + } + + It "Should return true on paths containing spaces when the path is surrounded in quotes" { + Test-Path -Path "/totally a valid/path" -IsValid | Should Be $true + } + + It "Should throw on paths containing spaces when the path is not surrounded in quotes" { + { Test-Path -Path /a path/without quotes/around/it -IsValid } | Should Throw + } + + It "Should return true if a directory leads or trails with a space when surrounded by quotes" { + Test-Path -Path "/a path / with/funkyspaces" -IsValid | Should Be $true + } + + It "Should return true on a valid path when the LiteralPath switch is used" { + Test-Path -LiteralPath "/usr/bin" | Should Be $true + } + + It "Should return false if regular expressions are used with the LiteralPath switch" { + Test-Path -LiteralPath /*sr/bin | Should Be $false + } + + It "Should return false if regular expressions are used with the LiteralPath alias PSPath switch" { + Test-Path -PSPath /*sr/bin | Should Be $false + } + + It "Should return true if used on components other than filesystem objects" { + Test-Path Alias:\gci | Should Be $true + Test-Path Env:\HOSTNAME | Should Be $true + } +} From 00e542524ca3af892575bf4d93d29480b3641934 Mon Sep 17 00:00:00 2001 From: Zachary Folwick Date: Thu, 3 Sep 2015 16:15:50 -0700 Subject: [PATCH 05/30] modified test code according to code review --- src/pester-tests/Test-Out-File.Tests.ps1 | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/src/pester-tests/Test-Out-File.Tests.ps1 b/src/pester-tests/Test-Out-File.Tests.ps1 index db63179f4..6d7db2b43 100644 --- a/src/pester-tests/Test-Out-File.Tests.ps1 +++ b/src/pester-tests/Test-Out-File.Tests.ps1 @@ -1,29 +1,37 @@ Describe "Test-Out-File" { $a = "some test text" $b = New-Object psobject -Property @{text=$a} - $Testfile = "/tmp/outfileTest.txt" + $testfile = "/tmp/outfileTest.txt" BeforeEach { if (Test-Path -Path $testfile) { - Set-ItemProperty -Path $testfile -Name IsReadOnly -Value $false - rm $testfile + Remove-Item -Path $testfile -Force } } AfterEach { - # implement in *nix to remove test files after each test if they exist - rm $testfile + Remove-Item -Path $testfile -Force } It "Should be able to be called without error" { { Out-File -FilePath $testfile } | Should Not Throw } - It "Should be able to accept string input" { + It "Should be able to accept string input via piping" { { $a | Out-File -FilePath $testfile } | Should Not Throw + $actual = Get-Content $testfile + + $actual | Should Be $a + } + + It "Should be able to accept string input via the InputObject swictch" { { Out-File -FilePath $testfile -InputObject $a } | Should Not Throw + + $actual = Get-Content $testfile + + $actual | Should Be $a } It "Should be able to accept object input" { From e19b2fab4b270965215ea9e5ff598e46f02ec9b3 Mon Sep 17 00:00:00 2001 From: Zachary Folwick Date: Fri, 4 Sep 2015 15:05:18 -0700 Subject: [PATCH 06/30] added changes from code review testing credentials --- src/pester-tests/Test-New-Item.Tests.ps1 | 58 ++++++++++++++++++------ 1 file changed, 43 insertions(+), 15 deletions(-) diff --git a/src/pester-tests/Test-New-Item.Tests.ps1 b/src/pester-tests/Test-New-Item.Tests.ps1 index c57531203..a5fb08873 100644 --- a/src/pester-tests/Test-New-Item.Tests.ps1 +++ b/src/pester-tests/Test-New-Item.Tests.ps1 @@ -1,21 +1,31 @@ -Describe "Test-New-Item" { - $tmpDirectory = "/tmp" - $testfile = "testfile.txt" - $testfolder = "newDirectory" +function Clean-State +{ + if (Test-Path $FullyQualifiedFile) + { + Remove-Item $FullyQualifiedFile -Force + } - $FullyQualifiedFile = $tmpDirectory + "/" + $testfile - $FullyQualifiedFolder = $tmpDirectory +"/" + $testfolder + if (Test-Path $FullyQualifiedFolder) + { + Remove-Item $FullyQualifiedFolder -Recurse -Force + } +} + +Describe "Test-New-Item" { + $tmpDirectory = "/tmp" + $testfile = "testfile.txt" + $testfolder = "newDirectory" + $FullyQualifiedFile = $tmpDirectory + "/" + $testfile + $FullyQualifiedFolder = $tmpDirectory + "/" + $testfolder + + BeforeEach { + Clean-State + } AfterEach { - if (Test-Path $FullyQualifiedFile) - { - { Remove-Item $FullyQualifiedFile -Force} | Should Not Throw - } - - if (Test-Path $FullyQualifiedFolder) - { - { Remove-Item $FullyQualifiedFolder -Recurse -Force } | Should Not Throw - } + Clean-State + Test-Path $FullyQualifiedFile | Should Be $false + Test-Path $FullyQualifiedFolder | Should Be $false } It "should call the function without error" { @@ -78,4 +88,22 @@ Remove-Item $FullyQualifiedFile2 } + + It "Should be able to call the whatif switch without error" { + ( Out-Null -inputobject (New-Item -Name testfile.txt -Path /tmp -ItemType file -WhatIf)) + { $a } | Should Not Throw + } + + It "Should not create a new file when the whatif switch is used" { + # suppress the output of the whatif statement + $a = New-Item -Name $testfile -Path $tmpDirectory -ItemType file -WhatIf + + Out-Null -inputobject $a + + Test-Path $FullyQualifiedFile | Should Be $false + } + + It "Should produce an error when the credentials switch is thrown" { + { New-Item -Name $testfile -Path $tmpDirectory -ItemType file -Credential redmond/USER } | Should Throw "not implemented" + } } From cec380e4b4e4f13e61d1b4d0e490254eb73171bf Mon Sep 17 00:00:00 2001 From: Zachary Folwick Date: Tue, 8 Sep 2015 11:47:13 -0700 Subject: [PATCH 07/30] added additional testing according to code review --- src/pester-tests/Test-Test-Path.Tests.ps1 | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/pester-tests/Test-Test-Path.Tests.ps1 b/src/pester-tests/Test-Test-Path.Tests.ps1 index 144442fa1..83c18d1f4 100644 --- a/src/pester-tests/Test-Test-Path.Tests.ps1 +++ b/src/pester-tests/Test-Test-Path.Tests.ps1 @@ -10,10 +10,13 @@ It "Should allow piping objects to it" { { $testdirectory | Test-Path } | Should Not Throw + + $testdirectory | Test-Path | Should Be $true + "/usr/bin/totallyFakeDirectory" | Test-Path | Should Be $false } It "Should return a boolean data type" { - { Test-Path -Path $testdirectory } | Should Be ($true -or $false) + { Test-Path -Path $testdirectory } | Should Be $true } It "Should be called on a nonexistant path without error" { @@ -29,13 +32,16 @@ } It "Should be able to accept a regular expression" { - { Test-Path -Path "/u*" } | Should Not Throw + { Test-Path -Path "/u*" } | Should Not Throw + { Test-Path -Path "/u[a-z]r" } | Should Not Throw } It "Should be able to return the correct result when a regular expression is used" { - Test-Path -Path "/u*" | Should Be $true + Test-Path -Path "/u*" | Should Be $true + Test-Path -Path "/u[a-z]*" | Should Be $true - Test-Path -Path "/aoeu*" | Should Be $false + Test-Path -Path "/aoeu*" | Should Be $false + Test-Path -Path "/u[A-Z]" | Should Be $false } It "Should return false when the Leaf pathtype is used on a directory" { @@ -93,10 +99,12 @@ It "Should return false if regular expressions are used with the LiteralPath switch" { Test-Path -LiteralPath /*sr/bin | Should Be $false + Test-Path -LiteralPath /[usth]sr/bin | Should Be $false } It "Should return false if regular expressions are used with the LiteralPath alias PSPath switch" { Test-Path -PSPath /*sr/bin | Should Be $false + Test-Path -PSPath /[aoeu]sr/bin | Should Be $false } It "Should return true if used on components other than filesystem objects" { From 6ca644f37525f2bfc0a0dd5d3a6bd4692e9ff0bd Mon Sep 17 00:00:00 2001 From: Zachary Folwick Date: Mon, 14 Sep 2015 13:58:18 -0700 Subject: [PATCH 08/30] brought monad up to date with latest PSL changes --- src/monad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monad b/src/monad index 9aecfb12f..378897d1d 160000 --- a/src/monad +++ b/src/monad @@ -1 +1 @@ -Subproject commit 9aecfb12f69d91908812751e1b69d7c5c8098e07 +Subproject commit 378897d1d5cf19e63fb7faefd301eca6624daf38 From 1615ded3e47d2fe1ba4160d66e1d39b7fc0b0ff3 Mon Sep 17 00:00:00 2001 From: Zachary Folwick Date: Mon, 14 Sep 2015 15:07:31 -0700 Subject: [PATCH 09/30] incorporated final changes to pester tests --- src/pester-tests/Test-Out-File.Tests.ps1 | 41 ++++++++++-------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/src/pester-tests/Test-Out-File.Tests.ps1 b/src/pester-tests/Test-Out-File.Tests.ps1 index 6d7db2b43..b08126e5f 100644 --- a/src/pester-tests/Test-Out-File.Tests.ps1 +++ b/src/pester-tests/Test-Out-File.Tests.ps1 @@ -1,17 +1,10 @@ Describe "Test-Out-File" { - $a = "some test text" - $b = New-Object psobject -Property @{text=$a} + $expectedContent = "some test text" + $inputObject = New-Object psobject -Property @{text=$expectedContent} $testfile = "/tmp/outfileTest.txt" - BeforeEach { - if (Test-Path -Path $testfile) - { - Remove-Item -Path $testfile -Force - } - } - AfterEach { - Remove-Item -Path $testfile -Force + Remove-Item -Path $testfile -Force } It "Should be able to be called without error" { @@ -19,33 +12,33 @@ } It "Should be able to accept string input via piping" { - { $a | Out-File -FilePath $testfile } | Should Not Throw + { $expectedContent | Out-File -FilePath $testfile } | Should Not Throw $actual = Get-Content $testfile - $actual | Should Be $a + $actual | Should Be $expectedContent } It "Should be able to accept string input via the InputObject swictch" { - { Out-File -FilePath $testfile -InputObject $a } | Should Not Throw + { Out-File -FilePath $testfile -InputObject $expectedContent } | Should Not Throw $actual = Get-Content $testfile - $actual | Should Be $a + $actual | Should Be $expectedContent } It "Should be able to accept object input" { - { $b | Out-File -FilePath $testfile } | Should Not Throw + { $inputObject | Out-File -FilePath $testfile } | Should Not Throw - { Out-File -FilePath $testfile -InputObject $b } | Should Not Throw + { Out-File -FilePath $testfile -InputObject $inputObject } | Should Not Throw } It "Should not overwrite when the noclobber switch is used" { - Out-File -FilePath $testfile -InputObject $b + Out-File -FilePath $testfile -InputObject $inputObject - { Out-File -FilePath $testfile -InputObject $b -NoClobber -ErrorAction SilentlyContinue } | Should Throw "already exists." - { Out-File -FilePath $testfile -InputObject $b -NoOverWrite -ErrorAction SilentlyContinue } | Should Throw "already exists." + { Out-File -FilePath $testfile -InputObject $inputObject -NoClobber -ErrorAction SilentlyContinue } | Should Throw "already exists." + { Out-File -FilePath $testfile -InputObject $inputObject -NoOverWrite -ErrorAction SilentlyContinue } | Should Throw "already exists." $actual = Get-Content $testfile @@ -56,8 +49,8 @@ } It "Should Append a new line when the append switch is used" { - { Out-File -FilePath $testfile -InputObject $b } | Should Not Throw - { Out-File -FilePath $testfile -InputObject $b -Append } | Should Not Throw + { Out-File -FilePath $testfile -InputObject $inputObject } | Should Not Throw + { Out-File -FilePath $testfile -InputObject $inputObject -Append } | Should Not Throw $actual = Get-Content $testfile @@ -78,7 +71,7 @@ It "Should limit each line to the specified number of characters when the width switch is used on objects" { - Out-File -FilePath $testfile -Width 10 -InputObject $b + Out-File -FilePath $testfile -Width 10 -InputObject $inputObject $actual = Get-Content $testfile @@ -91,11 +84,11 @@ It "Should allow the cmdlet to overwrite an existing read-only file" { # create a read-only text file - { Out-File -FilePath $testfile -InputObject $b } | Should Not Throw + { Out-File -FilePath $testfile -InputObject $inputObject } | Should Not Throw Set-ItemProperty -Path $testfile -Name IsReadOnly -Value $true # write information to the RO file - { Out-File -FilePath $testfile -InputObject $b -Append -Force } | Should Not Throw + { Out-File -FilePath $testfile -InputObject $inputObject -Append -Force } | Should Not Throw $actual = Get-Content $testfile From cbace227a9dbbf7bd0003af42ac59f6ea4a962c4 Mon Sep 17 00:00:00 2001 From: Zachary Folwick Date: Mon, 14 Sep 2015 16:30:33 -0700 Subject: [PATCH 10/30] incorporated changes to pester tests from code review --- src/pester-tests/Test-New-Item.Tests.ps1 | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/pester-tests/Test-New-Item.Tests.ps1 b/src/pester-tests/Test-New-Item.Tests.ps1 index a5fb08873..ae5703096 100644 --- a/src/pester-tests/Test-New-Item.Tests.ps1 +++ b/src/pester-tests/Test-New-Item.Tests.ps1 @@ -22,12 +22,6 @@ Describe "Test-New-Item" { Clean-State } - AfterEach { - Clean-State - Test-Path $FullyQualifiedFile | Should Be $false - Test-Path $FullyQualifiedFolder | Should Be $false - } - It "should call the function without error" { { New-Item -Name $testfile -Path $tmpDirectory -ItemType file } | Should Not Throw } @@ -90,20 +84,16 @@ Describe "Test-New-Item" { } It "Should be able to call the whatif switch without error" { - ( Out-Null -inputobject (New-Item -Name testfile.txt -Path /tmp -ItemType file -WhatIf)) - { $a } | Should Not Throw + { New-Item -Name testfile.txt -Path /tmp -ItemType file -WhatIf } | Should Not Throw } It "Should not create a new file when the whatif switch is used" { - # suppress the output of the whatif statement - $a = New-Item -Name $testfile -Path $tmpDirectory -ItemType file -WhatIf - - Out-Null -inputobject $a + New-Item -Name $testfile -Path $tmpDirectory -ItemType file -WhatIf Test-Path $FullyQualifiedFile | Should Be $false } It "Should produce an error when the credentials switch is thrown" { - { New-Item -Name $testfile -Path $tmpDirectory -ItemType file -Credential redmond/USER } | Should Throw "not implemented" + { New-Item -Name $testfile -Path $tmpDirectory -ItemType file -Credential domain/USER } | Should Throw "not implemented" } } From 2cab69401a84501d8e9e688141adba96a8eeee41 Mon Sep 17 00:00:00 2001 From: Zachary Folwick Date: Mon, 14 Sep 2015 16:31:28 -0700 Subject: [PATCH 11/30] incorporating updates to monad --- src/monad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monad b/src/monad index 9aecfb12f..378897d1d 160000 --- a/src/monad +++ b/src/monad @@ -1 +1 @@ -Subproject commit 9aecfb12f69d91908812751e1b69d7c5c8098e07 +Subproject commit 378897d1d5cf19e63fb7faefd301eca6624daf38 From e5e9e30347ad6dab50458c9c8b4f52468e8ecc92 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Tue, 15 Sep 2015 16:35:05 -0700 Subject: [PATCH 12/30] Ignore CS170{1,2} C# compiler warnings --- scripts/Makefile | 2 +- scripts/coreref.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Makefile b/scripts/Makefile index 00d0874c3..e4dd177f8 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -46,7 +46,7 @@ PRODUCT_MI_REFS=$(COREREF) $(MI_NATIVE_REF) PRODUCT_PS_REFS=$(COREREF) $(MI_REF) -r:dotnetlibs/$(ASSEMBLY_LOAD_CONTEXT_TARGET) PRODUCT_COMMANDS_REFS=$(COREREF) -r:dotnetlibs/System.Management.Automation.dll -MCSOPTS_BASE=-unsafe -nostdlib -noconfig -define:CORECLR -define:_CORECLR +MCSOPTS_BASE=-unsafe -nostdlib -noconfig -define:CORECLR -define:_CORECLR /nowarn:CS1701,CS1702 MCSOPTS_MI=$(MCSOPTS_BASE) -target:library MCSOPTS_LIB=$(MCSOPTS_BASE) -target:library MCSOPTS_PS=$(STRING_RESOURCES_ORIG) $(MCSOPTS_BASE) -target:library diff --git a/scripts/coreref.mk b/scripts/coreref.mk index 775b92822..e7c5fc571 100644 --- a/scripts/coreref.mk +++ b/scripts/coreref.mk @@ -4,7 +4,7 @@ TARGETING_PACK=$(MONAD_EXT)/coreclr/TargetingPack COREREF=$(addprefix -r:, $(shell ls $(TARGETING_PACK)/*.dll)) -# COREREF_2 is here for dev/testing purposes, it should not be used anywhere (instead use the reference assemblies stored in COREREF) CORECLR_ASSEMBLY_BASE=$(MONAD_EXT)/coreclr/Release +# COREREF_2 is here for dev/testing purposes, it should not be used anywhere (instead use the reference assemblies stored in COREREF) COREREF_2=$(addprefix -r:, $(shell ls $(CORECLR_ASSEMBLY_BASE)/*.dll)) From c2787fdaca0bce72d0bbf22697dcfcbba975bbd7 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Tue, 15 Sep 2015 16:42:52 -0700 Subject: [PATCH 13/30] Repin monad and build mapping Monad submodule has been squashed and rebased to new PowerShell branch, th2_srv1_mgmt_dev. Build system has been updated to include upstream changes, as well as the addition of CorePsPlatform.cs to the PowerShell build system (so it longer needs to be added automatically). --- scripts/Makefile | 7 +- .../gen/COMMANDS_UTILITY/NewObjectStrings.cs | 18 +- .../NewObjectStrings.resources | Bin 1614 -> 1582 bytes .../COMMANDS_UTILITY/UtilityCommonStrings.cs | 9 + .../UtilityCommonStrings.resources | Bin 2518 -> 2660 bytes scripts/gen/SYS_AUTO/AutomationExceptions.cs | 9 + .../SYS_AUTO/AutomationExceptions.resources | Bin 5786 -> 6161 bytes scripts/gen/SYS_AUTO/DebuggerStrings.cs | 2 +- .../gen/SYS_AUTO/DebuggerStrings.resources | Bin 5369 -> 5349 bytes scripts/gen/SYS_AUTO/Modules.cs | 56 +++++- scripts/gen/SYS_AUTO/Modules.resources | Bin 26352 -> 27776 bytes scripts/gen/SYS_AUTO/ParserStrings.cs | 41 +--- scripts/gen/SYS_AUTO/ParserStrings.resources | Bin 59889 -> 59377 bytes .../gen/SYS_AUTO/RemotingErrorIdStrings.cs | 185 ++++++++++++------ .../SYS_AUTO/RemotingErrorIdStrings.resources | Bin 73027 -> 74521 bytes scripts/platform.mk | 4 - scripts/system-automation.mk | 26 +++ src/monad | 2 +- 18 files changed, 243 insertions(+), 116 deletions(-) delete mode 100644 scripts/platform.mk diff --git a/scripts/Makefile b/scripts/Makefile index e4dd177f8..fdf48cefc 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -15,9 +15,6 @@ include assembly-load-context.mk # main references to the CoreCLR reference assemblies include coreref.mk -# make file which adds things that are necessary for the platform we are building for -include platform.mk - # builds unit tests include tests.mk @@ -63,8 +60,8 @@ RUN_TARGETS=$(POWERSHELL_RUN_TARGETS) dotnetlibs/Microsoft.PowerShell.Commands.M all: dotnetlibs/System.Management.Automation.dll $(RUN_TARGETS) dotnetlibs/$(ASSEMBLY_LOAD_CONTEXT_TARGET) # this is the build rule for SMA.dll -dotnetlibs/System.Management.Automation.dll: $(SYS_AUTO_SRCS) dotnetlibs/Microsoft.Management.Infrastructure.dll ../src/assembly-info/System.Management.Automation.assembly-info.cs dotnetlibs/$(ASSEMBLY_LOAD_CONTEXT_TARGET) $(PLATFORM_SRCS) $(SYS_AUTO_RES_SRCS) $(SYS_AUTO_RES_CS_SRCS) - $(CSC) -out:$@ $(MCSOPTS_LIB) $(PRODUCT_PS_REFS) $(SYS_AUTO_SRCS) $(SYS_AUTO_RES_REF) $(SYS_AUTO_RES_CS_SRCS) $(PLATFORM_SRCS) ../src/assembly-info/System.Management.Automation.assembly-info.cs +dotnetlibs/System.Management.Automation.dll: $(SYS_AUTO_SRCS) dotnetlibs/Microsoft.Management.Infrastructure.dll ../src/assembly-info/System.Management.Automation.assembly-info.cs dotnetlibs/$(ASSEMBLY_LOAD_CONTEXT_TARGET) $(SYS_AUTO_RES_SRCS) $(SYS_AUTO_RES_CS_SRCS) + $(CSC) -out:$@ $(MCSOPTS_LIB) $(PRODUCT_PS_REFS) $(SYS_AUTO_SRCS) $(SYS_AUTO_RES_REF) $(SYS_AUTO_RES_CS_SRCS) ../src/assembly-info/System.Management.Automation.assembly-info.cs # this is the build rule for MMI.dll dotnetlibs/Microsoft.Management.Infrastructure.dll: $(MAN_INFRA_SRCS) dotnetlibs/Microsoft.Management.Infrastructure.Native.dll ../src/assembly-info/Microsoft.Management.Infrastructure.assembly-info.cs $(MAN_INFRA_RES_SRCS) $(MAN_INFRA_RES_CS_SRCS) diff --git a/scripts/gen/COMMANDS_UTILITY/NewObjectStrings.cs b/scripts/gen/COMMANDS_UTILITY/NewObjectStrings.cs index 9226f7776..c88c1736a 100644 --- a/scripts/gen/COMMANDS_UTILITY/NewObjectStrings.cs +++ b/scripts/gen/COMMANDS_UTILITY/NewObjectStrings.cs @@ -61,6 +61,15 @@ internal class NewObjectStrings { } } + /// + /// Looks up a localized string similar to {0} Please note that Single-Threaded Apartment is not supported in OneCore PowerShell.. + /// + internal static string ApartmentNotSupported { + get { + return ResourceManager.GetString("ApartmentNotSupported", resourceCulture); + } + } + /// /// Looks up a localized string similar to Cannot create type. Only core types are supported in this language mode.. /// @@ -106,15 +115,6 @@ internal class NewObjectStrings { } } - /// - /// Looks up a localized string similar to Cannot create the COM object. COM object is not supported in OneCore PowerShell.. - /// - internal static string ComObjectNotSupportedInOneCorePowerShell { - get { - return ResourceManager.GetString("ComObjectNotSupportedInOneCorePowerShell", resourceCulture); - } - } - /// /// Looks up a localized string similar to The value supplied is not valid, or the property is read-only. Change the value, and then try again.. /// diff --git a/scripts/gen/COMMANDS_UTILITY/NewObjectStrings.resources b/scripts/gen/COMMANDS_UTILITY/NewObjectStrings.resources index c72011193e7dc1955a4ca987c22d95847bed9284..6b0317df92b368e48a7f64103677fb5b2f070d20 100644 GIT binary patch delta 237 zcmX@dvyNxNmWWwm&nLxAzdFlAaMN-p?vjmSL7|`PnYdj9WSt@{Tu#@ERdeb#K55C$WXwL$WX*k!jQ|5%8)l%o=F-gJn@$&W5i?^Ml;4m zldBmm7{5;5!f3?g&N%r6qq1BQP_Kk1LmopJP-hN9CPNBC7?@QGG-3YaIwl1sR_4hI zn52!JnHd-u!>SEx6#{Zn6N^(7^72bk6-qJ^OB8}L^U`xtbwe_WQWH~BQxqHv5{pW5 UQ}ZV4vubTVz~s&}Ig<4&0O1lq3jhEB delta 248 zcmZ3-bB<@i7Pq+RS7(_BZd&fdU9$0W;OYZnL7|`PnYdj9WSt@{Tu#@vGBPkM17dFm z2oMIccLSLjK)MM?zXRg^Op`SkJsBA$7c-hMdQD!%Xu&vl@?%CLruPh!#hH{vxPWQ{ zoEh>NavA&?k{GfWQW=sb^Ds(lcrxSxMe=}rkZci<4gk{SK)Q$_m>~m5=K!HQ(_|Ya zX~vn8BbXGJ{xeOkVv=UDWoBU5{E^9nNh82HF)uH_L?O8-HL)aBp(GsJ7o_dzxQ diff --git a/scripts/gen/COMMANDS_UTILITY/UtilityCommonStrings.cs b/scripts/gen/COMMANDS_UTILITY/UtilityCommonStrings.cs index d747551f8..7ccfff994 100644 --- a/scripts/gen/COMMANDS_UTILITY/UtilityCommonStrings.cs +++ b/scripts/gen/COMMANDS_UTILITY/UtilityCommonStrings.cs @@ -70,6 +70,15 @@ internal class UtilityCommonStrings { } } + /// + /// Looks up a localized string similar to The file '{0}' could not be parsed as a PowerShell Data File.. + /// + internal static string CouldNotParseAsPowerShellDataFile { + get { + return ResourceManager.GetString("CouldNotParseAsPowerShellDataFile", resourceCulture); + } + } + /// /// Looks up a localized string similar to This command cannot be run because '{0}' is empty or blank. Please specify CSSUri and then run the command.. /// diff --git a/scripts/gen/COMMANDS_UTILITY/UtilityCommonStrings.resources b/scripts/gen/COMMANDS_UTILITY/UtilityCommonStrings.resources index e0a0150a8e022d274f90a4b6f80f1b90af5a4317..f371c16eb58ff11c168496b767fe442c483f646e 100644 GIT binary patch delta 351 zcmWlQy-Nc@5XEQq?nvtw79k`H3IPT2Ga-sa^axfVl8{Owr?+y!GZ*hJL=?qdL}e<= zSP7{_2>tboray2w6F(@}yvz>KMgcI>8uz&^5+!ogUcR^o3*CrGAmZSN3752q}_+ zj>R0lQAf<8O+R83pQulZ;tq{#F>KKadzX}EiikmNZA2^>^r+2XjdVR_E|wf6x2mp^ z$%Dzmq}=oxt}Sa`C^wX>TYjKyX$8`f1+S_6qN7|_npSAZ9N$dfcFCy*G!;qQR`fmN EA6_Y0kpKVy delta 215 zcmaDNa!q)`LPo)fi~KzMUrnys#K^!9#K6E%3#4_J7#IqHcrB0*0{lSsb)a}3ko^fr z^8>LP5KjY&n*+se0C7GLvrl$pw3>W~QJm3e@-0Rg#`%-KGs-b4OcrC3W6YUs%B00O zVR8bK8RHBfDK>d6lLFHV#>wZIOd01+W@R>ERGn + /// Looks up a localized string similar to Cannot process argument because the value of argument "{0}" is not valid. Valid values are "Global", "Local", or "Script", or a number relative to the current scope (0 through the number of scopes where 0 is the current scope and 1 is its parent). Change the value of the "{0}" argument and run the operation again.. + /// + internal static string InvalidScopeIdArgument { + get { + return ResourceManager.GetString("InvalidScopeIdArgument", resourceCulture); + } + } + /// /// Looks up a localized string similar to Cannot perform operation because operation "{0}" is not implemented.. /// diff --git a/scripts/gen/SYS_AUTO/AutomationExceptions.resources b/scripts/gen/SYS_AUTO/AutomationExceptions.resources index 169b1acbef8f26fa06234950ff5f66f57776772c..c0cfdabdcf37db6b56840f466e5e814e392cd1e2 100644 GIT binary patch delta 387 zcmZvWKT88a5XI-#oEOkbnh*j39ZwL2B*Z@;rZIvjfsiJm_2sfACzso>w->>}h@G8b ztE5tUK}aQH;YaWjSP51ZHkP^pNzxQ~|jPirx^{qBHxI2km{5)>RSuI17({f2G zX|K}OvJ0O&Kwr&+8a)PZH4U%^00&CnG=TPas9oxXTm^jSfejwG(1bcTz@Q5hDvEZ1 zLkmLaDE2|XyUZ9!7EM_)vcxszkuk5|n*e3GJ(ZRY^;+}LVg)rB#|8F z;~z8RiO83Dxz7alY|m{L@Gz1HLK>jWDO&p;YuKKZL#xW1$-+2Vb%(oMpQ=!WNcb`2Gn6m{Gn6tE0AW5u z5s;V4kiwwNGkF5LJX1c; - /// Looks up a localized string similar to The line count must be a positive integer no greater than {0}.. + /// Looks up a localized string similar to The line count must be a positive integer.. /// internal static string BadCountFormat { get { diff --git a/scripts/gen/SYS_AUTO/DebuggerStrings.resources b/scripts/gen/SYS_AUTO/DebuggerStrings.resources index a5c5f2d8fd6bd0178b3f4d22d1c1623131e74416..1e9bb7b6bcd94aba5bc98db4bac8a1f45ffd3a95 100644 GIT binary patch delta 383 zcmY+9Pbh9Q-Nyr3{zv;d!2(&+~orKlt}ABYo3}7yg!vqMhAq7tC>kNn>m=eh Ux}0wGI}f=PpHBZlU)izo1)^nOUjP6A delta 387 zcmY+9&nv@m9LC@8@AvclX(3z8sF{Q{RyL8=zDcaLG($Nka@j$~mPShX7s%t_qFuN- zh#W-RT;wJvIjA|wK{+^(Ps*>$`|vzZ&+B=YgKxouD@CbdTq~nI3cs4+3l!9dVk+2G z-DgEP$P1sDNhL*&dEZTj!C`2SEmzs zG7^%fd5I|gz+za}6TF36Jt=qk4TsB^Hu^b=l9A>OJR2!~M4#z!2rFg_uVTmSNpG4& z)#G2g3qMuIQmp+JM`-B}gGetS^a#EealfQZ9G|VJ!}*4 YFuH6v2JBOI@L>lrQQ + /// Looks up a localized string similar to The specified MaximumVersion '{0}' was incorrect. If you are using '*', MaximumVersion only supports one '*' and should always be placed at the end of MaximumVersion.. + /// + internal static string MaximumVersionFormatIncorrect { + get { + return ResourceManager.GetString("MaximumVersionFormatIncorrect", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The specified module '{0}' with MaximumVersion '{1}' was not loaded because no valid module file was found in any module directory.. + /// + internal static string MaximumVersionNotFound { + get { + return ResourceManager.GetString("MaximumVersionNotFound", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The MinimumVersion '{0}' should not be greater than MaximumVersion '{1}'.. + /// + internal static string MinimumVersionAndMaximumVersionInvalidRange { + get { + return ResourceManager.GetString("MinimumVersionAndMaximumVersionInvalidRange", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The specified module '{0}' with MinimumVersion '{1}' and MaximumVersion '{2}' was not loaded because no valid module file was found in any module directory.. + /// + internal static string MinimumVersionAndMaximumVersionNotFound { + get { + return ResourceManager.GetString("MinimumVersionAndMaximumVersionNotFound", resourceCulture); + } + } + /// /// Looks up a localized string similar to Some commands from module {0} cannot be imported over a CimSession. To get all the commands, verify that the remote server has Windows PowerShell remote management enabled, and then try adding the PSSession parameter to an Import-Module cmdlet.. /// @@ -1224,7 +1260,7 @@ internal class Modules { } /// - /// Looks up a localized string similar to The 'ModuleVersion' and 'RequiredVersion' members do not exist in the hashtable that describes this module. One of these two members must exist, and be assigned a version number in the format 'n.n.n.n'.. + /// Looks up a localized string similar to The 'ModuleVersion', 'MaximumVersion' and 'RequiredVersion' members do not exist in the hashtable that describes this module. One of these three members must exist, and be assigned a version number in the format 'n.n.n.n'.. /// internal static string RequiredModuleMissingModuleVersion { get { @@ -1268,6 +1304,24 @@ internal class Modules { } } + /// + /// Looks up a localized string similar to The required module '{1}' with MaximumVersion '{2}' is not loaded. Load the module or remove the module from 'RequiredModules' in the file '{0}'.. + /// + internal static string RequiredModuleNotLoadedWrongMaximumVersion { + get { + return ResourceManager.GetString("RequiredModuleNotLoadedWrongMaximumVersion", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The required module '{1}' with MinimumVersion '{2}' and MaximumVersion '{3}' is not loaded. Load the module or remove the module from 'RequiredModules' in the file '{0}'.. + /// + internal static string RequiredModuleNotLoadedWrongMinimumVersionAndMaximumVersion { + get { + return ResourceManager.GetString("RequiredModuleNotLoadedWrongMinimumVersionAndMaximumVersion", resourceCulture); + } + } + /// /// Looks up a localized string similar to The required module '{1}' with version '{2}' is not loaded. Load the module or remove the module from 'RequiredModules' in the file '{0}'.. /// diff --git a/scripts/gen/SYS_AUTO/Modules.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%;e+2DhiBN?#s!9?P^mnwBir1F=VufF)TTL8jwV7M=VHQ3IkU5-X_#|1j)BKcBEX zBYu38O-i20n2!b5M~^mOz3b3*DY8~tmCx&x60tp>-&ahM<`6y0FRBXfvue2xc1J0e z7N8CPL;YgK9PYKQklSz&iXKc`Re2s+Z8Qt1evv*GS8TjfEf&Fl!!&-Vx?~wXIWPCw z)WrW@obL;Gn=PAPvZV@5A;P)BQ^?0{Zc$grha6U}wj0@M*UJ9F$a0T5%s@QyCbHaU z*65hY!>$B*WL`u=~_4bB|77of_=ovNrWXz6|n+%PO{)@p)H~IA6vZw^QVY*yC=O%R>?UKDUQY zyB*?6h<|af5}|Ug@;Jp%IX~|yoOPj`NMo;PYi;V}x(&+M7aq2Zy;7ZPNE+8PtZz}> bi^9#_Z7qCeO<24f9-G%xBgRfPpN#(p1><8} diff --git a/scripts/gen/SYS_AUTO/ParserStrings.cs b/scripts/gen/SYS_AUTO/ParserStrings.cs index b8fe6662b..82d51f4f3 100644 --- a/scripts/gen/SYS_AUTO/ParserStrings.cs +++ b/scripts/gen/SYS_AUTO/ParserStrings.cs @@ -425,7 +425,7 @@ internal class ParserStrings { } /// - /// Looks up a localized string similar to Cannot run a document in OneCore powershell: {0}.. + /// Looks up a localized string similar to Cannot run a document in OneCore PowerShell: {0}.. /// internal static string CantActivateDocumentOnOneCore { get { @@ -551,7 +551,7 @@ internal class ParserStrings { } /// - /// Looks up a localized string similar to Configuration keyword is not supported in OneCore powershell.. + /// Looks up a localized string similar to Configuration keyword is not supported in OneCore PowerShell.. /// internal static string ConfigurationNotSupportedOnOneCore { get { @@ -1272,7 +1272,7 @@ internal class ParserStrings { } /// - /// Looks up a localized string similar to The format of the resource reference '{0}' in the Requires list for resource '{1}' is not valid. A required resource name should be in the format '[<typename>]<name>', with no spaces.. + /// Looks up a localized string similar to The format of the resource reference '{0}' in the Requires list for resource '{1}' is not valid. A required resource name should be in the format '[<typename>]<name>', with alphanumeric characters, spaces, '_', '-', '.' and '\'.. /// internal static string GetBadlyFormedRequiredResourceId { get { @@ -1476,7 +1476,7 @@ internal class ParserStrings { } /// - /// Looks up a localized string similar to The default AssemblyLoadContext in use is invalid. The default AssemblyLoadContext for OneCore powershell should be of type 'PowerShellAssemblyLoadContext'.. + /// Looks up a localized string similar to The default AssemblyLoadContext in use is invalid. The default AssemblyLoadContext for OneCore PowerShell should be of type 'PowerShellAssemblyLoadContext'.. /// internal static string InvalidAssemblyLoadContextInUse { get { @@ -2584,7 +2584,7 @@ internal class ParserStrings { } /// - /// Looks up a localized string similar to The DSC engine could not load the module '{0}'. It was not found on the system.. + /// Looks up a localized string similar to Could not find the module '{0}'.. /// internal static string ModuleNotFoundDuringParse { get { @@ -2593,25 +2593,7 @@ internal class ParserStrings { } /// - /// Looks up a localized string similar to Unable to load module '{0}' : {1}. - /// - internal static string ModuleNotFoundDuringParseDueToException { - get { - return ResourceManager.GetString("ModuleNotFoundDuringParseDueToException", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The DSC engine could not load the module <{0}, {1}>. It was not found on the system.. - /// - internal static string ModuleWithVersionNotFoundDuringParse { - get { - return ResourceManager.GetString("ModuleWithVersionNotFoundDuringParse", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Multiple versions of the module '{0}' were found. You can run 'Get-DscResource -Module {0}' to see available versions on the system, and then use the fully qualified name in the following command to specify the desired version: 'Import-DscResource –ModuleName @{{ModuleName="{0}";ModuleVersion="Version"}}'.. + /// Looks up a localized string similar to Multiple versions of the module '{0}' were found. You can run 'Get-Module -ListAvailable -FullyQualifiedName {0}' to see available versions on the system, and then use the fully qualified name '@{{ModuleName="{0}"; RequiredVersion="Version"}}'.. /// internal static string MultipleModuleEntriesFoundDuringParse { get { @@ -2898,15 +2880,6 @@ internal class ParserStrings { } } - /// - /// Looks up a localized string similar to The parameter attribute is not allowed on a method parameter.. - /// - internal static string ParameterAttributeNotAllowedInMethod { - get { - return ResourceManager.GetString("ParameterAttributeNotAllowedInMethod", resourceCulture); - } - } - /// /// Looks up a localized string similar to Parameter {0} cannot have an argument.. /// @@ -3946,7 +3919,7 @@ internal class ParserStrings { } /// - /// Looks up a localized string similar to Workflow is not supported in OneCore powershell.. + /// Looks up a localized string similar to Workflow is not supported in OneCore PowerShell.. /// internal static string WorkflowNotSupportedOnOneCore { get { diff --git a/scripts/gen/SYS_AUTO/ParserStrings.resources b/scripts/gen/SYS_AUTO/ParserStrings.resources index 7efbef9ebfe374931e2a06132779e97807e587ca..c84df64b14dca32ac4f4150492aa7ec0f218ee90 100644 GIT binary patch delta 4212 zcmY*b3sh9+wch`)M^VurQ9u+Jo&(4XGXo5-;W0dhHw^FhV}OAf7-o2h7;H(*%IdAJ zAUn01YqX}{e?uAqKH0CCd#oA-BXCR;{Mp9MBPhsA%Fs<`vT<_Gf~4zB1anXrGvgO!0Dh#a^xTwa9_kr zYcr@W2VX5jUK*m;mJt;qP>q0GB;1LO-zy?YN<~8Op-0TSkZBcadnSSCIQV~REdWJe z6Y!_4AR05`c>&Sy@`;YZ|CI{0qo9@GKEpT(lyLqEAbylbq#$4c0Nlr>Rhd93iTqLJ zD14XaAsP6bSOu}cLUSRQ17H*SBQ=KTMibGOc+SB6&k$`8K$j>)p9cXP3b~HBPOu#h z23|s5#y;k2OL8mWsM*kB9z zT@0?K0N@@LZG!OEc>TA*4^Pvycv|@wTW6=x%bsWBXDE~76ds|I(2Gsov z{5zMUMMH^Rg^u58WbKl`$sZuaF0gR{5*a&)egjOk2+M+O2LS9zu=yoe`7_`+A?W07An3AVa z(GW;8K?%Eo$c^Ne0M2V3dJAhECZf_j^dwlAM)DrKyNPuTQAGPvh#CRlxrOKe05uo! zLGQ4j5MY043C|{gRMtTPlkXl?6jm7)T3Vq(WAR@zrO&zfGTgHS~vQC^L+G2BxFj%I^>UC zO*DXaCu7K;E>s{ndTv}0rN<)>P|vw%VwW8X7N_|4amC_G4%4{gf>@r?_YwDaP49K__12!h{G>!2=0e zMC?h379a4N35n7#k?$sii%lGoXpl0As}n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!M7no>c6yKUTLa-TXq2xGq{xa< z4!19qJ4dH3A1klvwPSS-LdKpr+MfPu7GL4GcPlhNJKH`}t~~^lT|J z4_Gv8KB}5}Ydn76(fg(^NOL7PXdc4kuw_VN9v&XDc8m;LG*%~HIvPCw^Z#7&pK+^T Jy%w8I`~M27Do_9b diff --git a/scripts/gen/SYS_AUTO/RemotingErrorIdStrings.cs b/scripts/gen/SYS_AUTO/RemotingErrorIdStrings.cs index c8eb48f79..1bb3258f9 100644 --- a/scripts/gen/SYS_AUTO/RemotingErrorIdStrings.cs +++ b/scripts/gen/SYS_AUTO/RemotingErrorIdStrings.cs @@ -250,15 +250,6 @@ internal class RemotingErrorIdStrings { } } - /// - /// Looks up a localized string similar to Failed to find vmcompute.dll. The Hyper-V role may not be enabled on this machine.. - /// - internal static string CannotFindVmComputeDll { - get { - return ResourceManager.GetString("CannotFindVmComputeDll", resourceCulture); - } - } - /// /// Looks up a localized string similar to The call to Windows API GetStdHandle to get the Standard Error handle resulted in an error code: {0}.. /// @@ -548,11 +539,38 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Could not find the toolkit, '{0}'. The toolkit must be a file named '{1}' within a 'Toolkits' directory in a module in the current module path.. + /// Looks up a localized string similar to The Containers feature may not be enabled on this machine.. /// - internal static string CouldNotFindToolkit { + internal static string ContainersFeatureNotEnabled { get { - return ResourceManager.GetString("CouldNotFindToolkit", resourceCulture); + return ResourceManager.GetString("ContainersFeatureNotEnabled", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not find the role capability, '{0}'. The role capability must be a file named '{1}' within a 'RoleCapabilities' directory in a module in the current module path.. + /// + internal static string CouldNotFindRoleCapability { + get { + return ResourceManager.GetString("CouldNotFindRoleCapability", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not grant remote access to '{0}': '{1}'. The session configuration has been registered, but this group does not have access. To resolve this error, provide a valid group name and register the session configuration again.. + /// + internal static string CouldNotResolveRoleDefinitionPrincipal { + get { + return ResourceManager.GetString("CouldNotResolveRoleDefinitionPrincipal", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Could not resolve username '{0}'. Verify the username and try again.. + /// + internal static string CouldNotResolveUsername { + get { + return ResourceManager.GetString("CouldNotResolveUsername", resourceCulture); } } @@ -750,7 +768,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Aliases defined in this session configuration. + /// Looks up a localized string similar to Aliases to be defined when applied to a session. /// internal static string DISCAliasDefinitionsComment { get { @@ -759,7 +777,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Assemblies that will be loaded in this session configuration. + /// Looks up a localized string similar to Assemblies to load when applied to a session. /// internal static string DISCAssembliesToLoadComment { get { @@ -768,7 +786,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Author of this session configuration. + /// Looks up a localized string similar to Author of this document. /// internal static string DISCAuthorComment { get { @@ -777,7 +795,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Version of the CLR used by this session configuration. + /// Looks up a localized string similar to Version of the CLR to use when applied to a session. /// internal static string DISCCLRVersionComment { get { @@ -795,7 +813,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Company associated with this session configuration. + /// Looks up a localized string similar to Company associated with this document. /// internal static string DISCCompanyNameComment { get { @@ -804,7 +822,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Copyright statement for this session configuration. + /// Looks up a localized string similar to Copyright statement for this document. /// internal static string DISCCopyrightComment { get { @@ -813,7 +831,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Description of the functionality provided by this session configuration. + /// Looks up a localized string similar to Description of the functionality provided by these settings. /// internal static string DISCDescriptionComment { get { @@ -822,7 +840,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Environment variables defined in this session configuration. + /// Looks up a localized string similar to Environment variables to define when applied to a session. /// internal static string DISCEnvironmentVariablesComment { get { @@ -840,7 +858,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Specifies the execution policy for this session configuration. + /// Looks up a localized string similar to Execution policy to apply when applied to a session. /// internal static string DISCExecutionPolicyComment { get { @@ -849,7 +867,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Format files (.ps1xml) that will be loaded in this session configuration.. + /// Looks up a localized string similar to Format files (.ps1xml) to load when applied to a session. /// internal static string DISCFormatsToProcessComment { get { @@ -858,7 +876,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Functions defined in this session configuration. + /// Looks up a localized string similar to Functions to define when applied to a session. /// internal static string DISCFunctionDefinitionsComment { get { @@ -867,7 +885,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to ID used to uniquely identify this session configuration.. + /// Looks up a localized string similar to ID used to uniquely identify this document. /// internal static string DISCGUIDComment { get { @@ -876,7 +894,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Initial state of this session configuration. + /// Looks up a localized string similar to Session type defaults to apply for this session configuration. /// internal static string DISCInitialSessionStateComment { get { @@ -912,7 +930,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Modules that will be imported. + /// Looks up a localized string similar to Language mode to apply when applied to a session. /// internal static string DISCLanguageModeComment { get { @@ -930,7 +948,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Modules that will be imported.. + /// Looks up a localized string similar to Modules to import when applied to a session. /// internal static string DISCModulesToImportComment { get { @@ -966,7 +984,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Version of the Windows PowerShell engine used by this session configuration. + /// Looks up a localized string similar to Version of the Windows PowerShell engine to use when applied to a session. /// internal static string DISCPowerShellVersionComment { get { @@ -975,7 +993,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Processor architecture used by this session configuration. + /// Looks up a localized string similar to Processor architecture to use when applied to a session. /// internal static string DISCProcessorArchitectureComment { get { @@ -984,7 +1002,16 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to User roles (security groups), and the additional configuration settings that should be applied to them. + /// Looks up a localized string similar to Role Capabilities to apply to this session configuration. This role capability must be defined as a PowerShell Role Capability (.psrc) file named after that role capability within a 'RoleCapabilities' directory in a module in the current module path.. + /// + internal static string DISCRoleCapabilitiesToLoadComment { + get { + return ResourceManager.GetString("DISCRoleCapabilitiesToLoadComment", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to User roles (security groups), and the role capabilities that should be applied to them when applied to a session. /// internal static string DISCRoleDefinitionsComment { get { @@ -993,7 +1020,16 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Version number of the schema used for this configuration file. + /// Looks up a localized string similar to Whether to run this session configuration as the machine's (virtual) administrator account. + /// + internal static string DISCRunAsVirtualAccountComment { + get { + return ResourceManager.GetString("DISCRunAsVirtualAccountComment", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Version number of the schema used for this document. /// internal static string DISCSchemaVersionComment { get { @@ -1002,7 +1038,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Specifies the scripts to run after the session is configured. + /// Looks up a localized string similar to Scripts to run when applied to a session. /// internal static string DISCScriptsToProcessComment { get { @@ -1011,20 +1047,11 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Toolkits to apply to this session configuration. This toolkit must be defined as a session configuration file named after that toolkit within a 'Toolkits' directory in a module in the current module path.. + /// Looks up a localized string similar to Directory to place session transcripts for this session configuration. /// - internal static string DISCToolkitsToLoadComment { + internal static string DISCTranscriptDirectoryComment { get { - return ResourceManager.GetString("DISCToolkitsToLoadComment", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Specifies the transport options for this session configuration. - /// - internal static string DISCTransportOptionsComment { - get { - return ResourceManager.GetString("DISCTransportOptionsComment", resourceCulture); + return ResourceManager.GetString("DISCTranscriptDirectoryComment", resourceCulture); } } @@ -1110,7 +1137,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Types to add to this session configuration. + /// Looks up a localized string similar to Types to add when applied to a session. /// internal static string DISCTypesToAddComment { get { @@ -1119,7 +1146,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Type files (.ps1xml) that will be loaded in this session configuration. + /// Looks up a localized string similar to Type files (.ps1xml) to load when applied to a session. /// internal static string DISCTypesToProcessComment { get { @@ -1128,7 +1155,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Variables defined in this session configuration. + /// Looks up a localized string similar to Variables to define when applied to a session. /// internal static string DISCVariableDefinitionsComment { get { @@ -1146,7 +1173,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Aliases visible in this session configuration. + /// Looks up a localized string similar to Aliases to make visible when applied to a session. /// internal static string DISCVisibleAliasesComment { get { @@ -1155,7 +1182,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Cmdlets visible in this session configuration. + /// Looks up a localized string similar to Cmdlets to make visible when applied to a session. /// internal static string DISCVisibleCmdletsComment { get { @@ -1164,7 +1191,16 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Functions visible in this session configuration. + /// Looks up a localized string similar to External commands (scripts and applications) to make visible when applied to a session. + /// + internal static string DISCVisibleExternalCommandsComment { + get { + return ResourceManager.GetString("DISCVisibleExternalCommandsComment", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Functions to make visible when applied to a session. /// internal static string DISCVisibleFunctionsComment { get { @@ -1173,7 +1209,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to Providers visible in this session configuration. + /// Looks up a localized string similar to Providers to make visible when applied to a session. /// internal static string DISCVisibleProvidersComment { get { @@ -1657,7 +1693,7 @@ internal class RemotingErrorIdStrings { } /// - /// Looks up a localized string similar to PSSession Configuration File path '{0}' is not valid. The path argument must resolve to a single file in the file system with a '.pssc' extension. Please fix the path specification and try again.. + /// Looks up a localized string similar to PSSession Configuration file path '{0}' is not valid. The path argument must resolve to a single file in the file system with a '.pssc' extension. Please fix the path specification and try again.. /// internal static string InvalidPSSessionConfigurationFilePath { get { @@ -1674,6 +1710,24 @@ internal class RemotingErrorIdStrings { } } + /// + /// Looks up a localized string similar to Role Capability file path '{0}' is not valid. The path argument must resolve to a single file in the file system with a '.psrc' extension. Please fix the path specification and try again.. + /// + internal static string InvalidRoleCapabilityFilePath { + get { + return ResourceManager.GetString("InvalidRoleCapabilityFilePath", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The key '{0}' is not valid in a role capability or role definition.. + /// + internal static string InvalidRoleCapabilityKey { + get { + return ResourceManager.GetString("InvalidRoleCapabilityKey", resourceCulture); + } + } + /// /// Looks up a localized string similar to The 'Roles' entry must be a hashtable, but was a {0}.. /// @@ -1683,15 +1737,6 @@ internal class RemotingErrorIdStrings { } } - /// - /// Looks up a localized string similar to The key '{0}' is not valid in a toolkit or role definition.. - /// - internal static string InvalidRoleToolkitKey { - get { - return ResourceManager.GetString("InvalidRoleToolkitKey", resourceCulture); - } - } - /// /// Looks up a localized string similar to Could not convert the value of the '{0}' role entry to a hashtable. The 'Roles' entry must be a hashtable with group names for keys, where the value associated with each key is another hashtable of session configuration properties for that role.. /// @@ -2250,6 +2295,15 @@ internal class RemotingErrorIdStrings { } } + /// + /// Looks up a localized string similar to Unable to start named pipe server while in server mode.. + /// + internal static string NamedPipeServerCannotStart { + get { + return ResourceManager.GetString("NamedPipeServerCannotStart", resourceCulture); + } + } + /// /// Looks up a localized string similar to "The named pipe target process has ended.". /// @@ -3521,6 +3575,15 @@ internal class RemotingErrorIdStrings { } } + /// + /// Looks up a localized string similar to Could not get the session capabilities for the session configuration '{0}': this configuration was not registered with a session configuration file (.pssc), such as one created by the New-PSSessionConfigurationFile cmdlet.. + /// + internal static string SessionConfigurationMustBeFileBased { + get { + return ResourceManager.GetString("SessionConfigurationMustBeFileBased", resourceCulture); + } + } + /// /// Looks up a localized string similar to A failure occurred while attempting to connect the PSSession.. /// diff --git a/scripts/gen/SYS_AUTO/RemotingErrorIdStrings.resources b/scripts/gen/SYS_AUTO/RemotingErrorIdStrings.resources index f3a113e04ac1b72a6186e7e803699fe47e4d7c54..de3571e7fd1a35b9fe78897e9e9cf534beaebb57 100644 GIT binary patch delta 8825 zcma)B33!uL*1oy)t59kw*fo^)>)v!r+q9%@x~FMrOZQTiLfbS++dwvwbaN{RqkssM zgDi?{qPUB z&phU{?Kz(fyA>~v>`9n#>ki|{^R+&^PKDe=L5e}2*FRS8rL~HT3Ef8%>5!t<=Z&3j zJwy|EE|v2q{Wlz~dcEfInQz=Z>8m#=a6%FlOxWbJFLLr1^y-9cn&`9Er(D}LnKt=! z(ziaVCj7~BBMl1%pS?H#A&-sg*#k4V| zNMmexE@S#s#`@wJOKxQBcsXOoq8PhH&De)kj4ix^u`n%TtcbDTOvW~v8CyPwu@B}k z)&?6_buxD6B*uF47!z_B`#6KK_{$+jFgCM{F@pm33K?4w$%fg!T*hW6GnNDc2mKjK z$!E-`l(DQN#sUnCeWqk=KAdRoVXPVs?S!1)%~*?uv9}_zFP*W!E@I4E$Jo6y7@Gyd z2XT-Ef!z~;AmH>rVE3&+#$w@64%Yr&fI#qla?mhi^XeIEn8}z8Ub^Ag-B{G((+-cz zVi_C3+KM)lB#QuY5rgBiTfH7-3AO{U$F#4{ZvCE7~2XM?`Q&_5jYSI?oVe- zS;1H<4tTL1IWUj0eF#X0fIb9z3E2OU5jJtg%{XIwEMwW(jLiT#nV|R^E%^VSo3SlO zk`x%W!Q*6nI;VkiI5Qtnw{Y_Qi7F^#BJrO1M z4?uk$5xobbj-gUkmcvod^v{`~19|cW^ycF585kb|jcK4vT?=aA@FY;>LNLP%;n}M& zVr*dS2)sTHc#2`{qZY%1Zo|}ba#rjKtdVe%v zh6AS&p#UUaK>)k;=o>h^2kUQxrYQ*G3hdhgiZ)k*e+I86Ph#xJAVAazV}SI*Zqzys zmMrgz8h;Fgzf2s=2 zQ>4*~&=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ur4a$DE1TR}76?6Y@q{^kg&j5lmj z`TwViLIR|u;$cUZ67;X6kd(=P-=qcZfLW5h%wc!iEq#|!Un&1^$L4ubSZI~gI;;S^ zjyHS%fYar+S^3Q^FNTNxzf%(VkGw>x;DoJllYhpYM#`#nIlF8_L*U!u>gut(ZC&nR zm+j{Slhn-zw?%6#Rx9v19YEOSbadO747)57ObprFZo6X%|MxZxNx3|Bm)?5)gl@E= zlyg0iLtQTWfEyJ#HLhWY#?tM!xhCXA>rAL^AG)@T%_<#}uJqePgk@l$ZfJ@!`s6n Date: Fri, 18 Sep 2015 12:04:56 -0700 Subject: [PATCH 14/30] Repin monad with removal of NoInlining attributes Switching to Roslyn from Mono in PR 17 made this possible. --- src/monad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monad b/src/monad index 105169ff7..3a92ed01b 160000 --- a/src/monad +++ b/src/monad @@ -1 +1 @@ -Subproject commit 105169ff725b1d1ddfe0b4e018ac780e485ab3a7 +Subproject commit 3a92ed01b568e427b613469542f459047a5985f8 From 8145ea26a452e0737b8c8ec75690bdce54411661 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 18 Sep 2015 12:39:05 -0700 Subject: [PATCH 15/30] Refactor Makefile - Update variable names - Remove no longer used variables - Include coreref and tests directly (now that they're short) --- scripts/Makefile | 63 ++++++++++++++++++++++++---------------------- scripts/coreref.mk | 10 -------- scripts/tests.mk | 9 ------- 3 files changed, 33 insertions(+), 49 deletions(-) delete mode 100644 scripts/coreref.mk delete mode 100644 scripts/tests.mk diff --git a/scripts/Makefile b/scripts/Makefile index fdf48cefc..973308578 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -1,27 +1,21 @@ -# global configuration needed by some of the included makefiles -PSRC = ../src/monad/monad/src -MONAD_EXT=../src/monad-ext +.PHONY: all -# this variable is needed by module specific include makefiles below -ADMIN_GIT_ROOT=../src/monad - -phony_all: all - -# include all the external makefiles - -# these should go away with the makefile restructuring +# this should go away and be automatically generated include assembly-load-context.mk # main references to the CoreCLR reference assemblies -include coreref.mk - -# builds unit tests -include tests.mk +MONAD_EXT=../src/monad-ext +TARGETING_PACK=$(MONAD_EXT)/coreclr/TargetingPack +COREREF=$(addprefix -r:, $(shell ls $(TARGETING_PACK)/*.dll)) +CORECLR_ASSEMBLY_BASE=$(MONAD_EXT)/coreclr/Release # powershell-run is the main powershell executable include powershell-run.mk -# These are the main PS dlls: +# this variable is needed by module specific include makefiles below +ADMIN_GIT_ROOT=../src/monad + +# these are automatically generated from the PowerShell build sytem # - System.Management.Automation.dll (the main PS dll) # - commands/modules (they contain cmdlets): management and utility # - Microsoft.Management.Infrastructure.dll (the first dll in the remoting code paths) @@ -43,45 +37,43 @@ PRODUCT_MI_REFS=$(COREREF) $(MI_NATIVE_REF) PRODUCT_PS_REFS=$(COREREF) $(MI_REF) -r:dotnetlibs/$(ASSEMBLY_LOAD_CONTEXT_TARGET) PRODUCT_COMMANDS_REFS=$(COREREF) -r:dotnetlibs/System.Management.Automation.dll -MCSOPTS_BASE=-unsafe -nostdlib -noconfig -define:CORECLR -define:_CORECLR /nowarn:CS1701,CS1702 -MCSOPTS_MI=$(MCSOPTS_BASE) -target:library -MCSOPTS_LIB=$(MCSOPTS_BASE) -target:library -MCSOPTS_PS=$(STRING_RESOURCES_ORIG) $(MCSOPTS_BASE) -target:library -SRCS_ALL=$(STRING_RESOURCES) $(SRCS) - # compilers # - Roslyn's csc is used for all the PS code # - Mono's mcs is used for build helper tools CSC=mono buildtemp/Microsoft.Net.ToolsetCompilers.*/tools/csc.exe MCS=mcs -RUN_TARGETS=$(POWERSHELL_RUN_TARGETS) dotnetlibs/Microsoft.PowerShell.Commands.Management.dll dotnetlibs/Microsoft.PowerShell.Commands.Utility.dll dotnetlibs/Microsoft.PowerShell.Security.dll dotnetlibs/api-ms-win-core-registry-l1-1-0.dll dotnetlibs/host_cmdline +CSCOPTS_BASE=-noconfig -nostdlib +CSCOPTS_LIB=$(CSCOPTS_BASE) -target:library +CSCOPTS_LIB_PS=$(CSCOPTS_LIB) -unsafe -define:CORECLR -define:_CORECLR /nowarn:CS1701,CS1702 + +RUN_TARGETS=$(POWERSHELL_RUN_TARGETS) $(addprefix dotnetlibs/, Microsoft.PowerShell.Commands.Management.dll Microsoft.PowerShell.Commands.Utility.dll Microsoft.PowerShell.Security.dll api-ms-win-core-registry-l1-1-0.dll host_cmdline) all: dotnetlibs/System.Management.Automation.dll $(RUN_TARGETS) dotnetlibs/$(ASSEMBLY_LOAD_CONTEXT_TARGET) # this is the build rule for SMA.dll dotnetlibs/System.Management.Automation.dll: $(SYS_AUTO_SRCS) dotnetlibs/Microsoft.Management.Infrastructure.dll ../src/assembly-info/System.Management.Automation.assembly-info.cs dotnetlibs/$(ASSEMBLY_LOAD_CONTEXT_TARGET) $(SYS_AUTO_RES_SRCS) $(SYS_AUTO_RES_CS_SRCS) - $(CSC) -out:$@ $(MCSOPTS_LIB) $(PRODUCT_PS_REFS) $(SYS_AUTO_SRCS) $(SYS_AUTO_RES_REF) $(SYS_AUTO_RES_CS_SRCS) ../src/assembly-info/System.Management.Automation.assembly-info.cs + $(CSC) -out:$@ $(CSCOPTS_LIB_PS) $(PRODUCT_PS_REFS) $(SYS_AUTO_SRCS) $(SYS_AUTO_RES_REF) $(SYS_AUTO_RES_CS_SRCS) ../src/assembly-info/System.Management.Automation.assembly-info.cs # this is the build rule for MMI.dll dotnetlibs/Microsoft.Management.Infrastructure.dll: $(MAN_INFRA_SRCS) dotnetlibs/Microsoft.Management.Infrastructure.Native.dll ../src/assembly-info/Microsoft.Management.Infrastructure.assembly-info.cs $(MAN_INFRA_RES_SRCS) $(MAN_INFRA_RES_CS_SRCS) - $(CSC) -out:$@ $(MCSOPTS_MI) $(PRODUCT_MI_REFS) $(MAN_INFRA_SRCS) $(MAN_INFRA_RES_REF) $(MAN_INFRA_RES_CS_SRCS) ../src/assembly-info/Microsoft.Management.Infrastructure.assembly-info.cs + $(CSC) -out:$@ $(CSCOPTS_LIB_PS) $(PRODUCT_MI_REFS) $(MAN_INFRA_SRCS) $(MAN_INFRA_RES_REF) $(MAN_INFRA_RES_CS_SRCS) ../src/assembly-info/Microsoft.Management.Infrastructure.assembly-info.cs # Commands dotnetlibs/Microsoft.PowerShell.Commands.Management.dll: $(COMMANDS_MANAGEMENT_SRCS) dotnetlibs/System.Management.Automation.dll dotnetlibs/Microsoft.PowerShell.Security.dll $(COMMANDS_MANAGEMENT_RES_SRCS) $(COMMANDS_MANAGEMENT_RES_CS_SRCS) $(MI_ASSEMBLY) - $(CSC) -out:$@ $(MCSOPTS_LIB) $(PRODUCT_COMMANDS_REFS) $(COMMANDS_MANAGEMENT_SRCS) $(COMMANDS_MANAGEMENT_RES_CS_SRCS) $(COMMANDS_MANAGEMENT_RES_REF) $(MI_REF) -r:dotnetlibs/Microsoft.PowerShell.Security.dll + $(CSC) -out:$@ $(CSCOPTS_LIB_PS) $(PRODUCT_COMMANDS_REFS) $(COMMANDS_MANAGEMENT_SRCS) $(COMMANDS_MANAGEMENT_RES_CS_SRCS) $(COMMANDS_MANAGEMENT_RES_REF) $(MI_REF) -r:dotnetlibs/Microsoft.PowerShell.Security.dll dotnetlibs/Microsoft.PowerShell.Commands.Utility.dll: $(COMMANDS_UTILITY_SRCS) dotnetlibs/System.Management.Automation.dll $(COMMANDS_UTILITY_RES_SRCS) $(COMMANDS_UTILITY_RES_CS_SRCS) - $(CSC) -out:$@ $(MCSOPTS_LIB) $(PRODUCT_COMMANDS_REFS) $(COMMANDS_UTILITY_SRCS) $(COMMANDS_UTILITY_RES_CS_SRCS) $(COMMANDS_UTILITY_RES_REF) + $(CSC) -out:$@ $(CSCOPTS_LIB_PS) $(PRODUCT_COMMANDS_REFS) $(COMMANDS_UTILITY_SRCS) $(COMMANDS_UTILITY_RES_CS_SRCS) $(COMMANDS_UTILITY_RES_REF) dotnetlibs/Microsoft.PowerShell.Security.dll: $(SECURITY_SRCS) $(SECURITY_RES_SRCS) $(SECURITY_RES_CS_SRCS) - $(CSC) -out:$@ $(MCSOPTS_LIB) $(PRODUCT_COMMANDS_REFS) $(SECURITY_SRCS) $(SECURITY_RES_CS_SRCS) $(SECURITY_RES_REF) + $(CSC) -out:$@ $(CSCOPTS_LIB_PS) $(PRODUCT_COMMANDS_REFS) $(SECURITY_SRCS) $(SECURITY_RES_CS_SRCS) $(SECURITY_RES_REF) # assembly load context dotnetlibs/$(ASSEMBLY_LOAD_CONTEXT_TARGET): $(ASSEMBLY_LOAD_CONTEXT_SRCS) - $(CSC) -out:$@ $(MCSOPTS_LIB) $(PRODUCT_BASE_REFS) $(ASSEMBLY_LOAD_CONTEXT_SRCS) + $(CSC) -out:$@ $(CSCOPTS_LIB_PS) $(PRODUCT_BASE_REFS) $(ASSEMBLY_LOAD_CONTEXT_SRCS) # this will copy whatever the first version of the dll in the globber is buildtemp/System.Reflection.Metadata.dll: buildtemp/System.Reflection.Metadata.*/lib/portable-net45+win8/System.Reflection.Metadata.dll @@ -93,7 +85,7 @@ buildtemp/System.Collections.Immutable.dll: buildtemp/System.Collections.Immutab # this one is built from stubs dotnetlibs/Microsoft.Management.Infrastructure.Native.dll: ../src/stubs/Microsoft.Management.Infrastructure.Native-stub.cs ../src/stubs/Microsoft.Management.Infrastructure.Native-stub-assembly-info.cs - $(CSC) -out:$@ $(MCSOPTS_LIB) $(PRODUCT_BASE_REFS) $^ + $(CSC) -out:$@ $(CSCOPTS_LIB_PS) $(PRODUCT_BASE_REFS) $^ MPATH=/usr/lib/mono/4.5/Facades @@ -189,6 +181,17 @@ native-tests: dotnetlibs/monad_native # execute the native C++ tests cd dotnetlibs && ./monad_native +# xUnit tests +TEST_FOLDER=../src/ps_test +TESTRUN_FOLDER=exec_env/app_base +TEST_SRCS=$(addprefix $(TEST_FOLDER)/, test_*.cs) + +$(TESTRUN_FOLDER)/xunit%: $(MONAD_EXT)/xunit/xunit% + cp -f $^ $@ + +$(TESTRUN_FOLDER)/ps_test.dll: $(TEST_SRCS) $(addprefix $(TESTRUN_FOLDER)/, xunit.core.dll xunit.assert.dll) $(addprefix dotnetlibs/, System.Management.Automation.dll Microsoft.PowerShell.Commands.Management.dll $(ASSEMBLY_LOAD_CONTEXT_TARGET)) + $(CSC) $(CSCOPTS_LIB) -out:$@ $(addprefix -r:$(TESTRUN_FOLDER)/, xunit.core.dll xunit.assert.dll) $(addprefix -r:dotnetlibs/, System.Management.Automation.dll $(ASSEMBLY_LOAD_CONTEXT_TARGET)) $(COREREF) $(TEST_SRCS) + xunit-tests: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr $(addprefix $(TESTRUN_FOLDER)/, ps_test.dll xunit.console.netcore.exe xunit.runner.utility.dll xunit.abstractions.dll xunit.execution.dll) # execute the xUnit runner, with XML output exec_env/app_base/runps-test.sh ps_test.dll -xml ../../xunittests.xml diff --git a/scripts/coreref.mk b/scripts/coreref.mk deleted file mode 100644 index e7c5fc571..000000000 --- a/scripts/coreref.mk +++ /dev/null @@ -1,10 +0,0 @@ - -# this depends on the MONAD_EXT variable to be correctly set -TARGETING_PACK=$(MONAD_EXT)/coreclr/TargetingPack - -COREREF=$(addprefix -r:, $(shell ls $(TARGETING_PACK)/*.dll)) - -CORECLR_ASSEMBLY_BASE=$(MONAD_EXT)/coreclr/Release - -# COREREF_2 is here for dev/testing purposes, it should not be used anywhere (instead use the reference assemblies stored in COREREF) -COREREF_2=$(addprefix -r:, $(shell ls $(CORECLR_ASSEMBLY_BASE)/*.dll)) diff --git a/scripts/tests.mk b/scripts/tests.mk deleted file mode 100644 index 4f9963828..000000000 --- a/scripts/tests.mk +++ /dev/null @@ -1,9 +0,0 @@ -TEST_FOLDER=../src/ps_test -TESTRUN_FOLDER=exec_env/app_base -TEST_SRCS=$(addprefix $(TEST_FOLDER)/, test_*.cs) - -$(TESTRUN_FOLDER)/xunit%: $(MONAD_EXT)/xunit/xunit% - cp -f $^ $@ - -$(TESTRUN_FOLDER)/ps_test.dll: $(TEST_SRCS) $(addprefix $(TESTRUN_FOLDER)/, xunit.core.dll xunit.assert.dll) $(addprefix dotnetlibs/, System.Management.Automation.dll Microsoft.PowerShell.Commands.Management.dll $(ASSEMBLY_LOAD_CONTEXT_TARGET)) - $(CSC) -out:$@ -noconfig -nostdlib -target:library $(addprefix -r:$(TESTRUN_FOLDER)/, xunit.core.dll xunit.assert.dll) $(addprefix -r:dotnetlibs/, System.Management.Automation.dll $(ASSEMBLY_LOAD_CONTEXT_TARGET)) $(COREREF) $(TEST_SRCS) From c6ca50c618659710b76dfeb4106a3d6663f42a83 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 18 Sep 2015 12:46:03 -0700 Subject: [PATCH 16/30] Remove src/linux It was a deprecated experiment --- src/linux/CMakeLists.txt | 37 ------- src/linux/main.cpp | 38 ------- src/linux/stubs/Windows.h | 17 ---- src/linux/stubs/mscoree.h | 175 -------------------------------- src/linux/stubs/rpc.h | 0 src/linux/stubs/rpcndr.h | 0 src/linux/stubs/stubs_coreclr.h | 10 -- src/linux/test/test_pal.cpp | 89 ---------------- src/linux/test/test_pal.h | 17 ---- 9 files changed, 383 deletions(-) delete mode 100644 src/linux/CMakeLists.txt delete mode 100644 src/linux/main.cpp delete mode 100644 src/linux/stubs/Windows.h delete mode 100644 src/linux/stubs/mscoree.h delete mode 100644 src/linux/stubs/rpc.h delete mode 100644 src/linux/stubs/rpcndr.h delete mode 100644 src/linux/stubs/stubs_coreclr.h delete mode 100644 src/linux/test/test_pal.cpp delete mode 100644 src/linux/test/test_pal.h diff --git a/src/linux/CMakeLists.txt b/src/linux/CMakeLists.txt deleted file mode 100644 index 58fa991f1..000000000 --- a/src/linux/CMakeLists.txt +++ /dev/null @@ -1,37 +0,0 @@ -cmake_minimum_required(VERSION 2.8.4) -project(linux) - -set(CMAKE_CXX_COMPILER /usr/bin/clang++) - -# generic settings -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -stdlib=libc++") - -# include folders from PS for Linux -include_directories(${PROJECT_SOURCE_DIR}/stubs) - -# add coreclr -# - PLATFORM_UNIX is for pal headers -# - PAL_IMPLEMENTATION is for pal headers to define required function implementations (required for coreclr) -# - __LINUX__ defines the pal headers correctly define stuff for linux -# - COM_NO_WINDOWS_H defines that coreclr headers are not used on windows -# - CORECRL required for PowerShell code to enable CoreCRL support -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DPLATFORM_UNIX -DPAL_IMPLEMENTATION -D__LINUX__ -DCOM_NO_WINDOWS_H -DCORECLR") -include_directories(${PROJECT_SOURCE_DIR}/../coreclr/src/pal/inc) -#include_directories(${PROJECT_SOURCE_DIR}/../coreclr/src/pal/prebuilt/inc) - -# include folders from PS -include_directories(${PROJECT_SOURCE_DIR}/../monad/monad/nttargets/assemblies/nativemsh/pwrshcommon) - -set(SOURCE_FILES main.cpp - test/test_pal.cpp - #../monad/monad/nttargets/assemblies/nativemsh/pwrshexe/CssMainEntry.cpp -) - -add_executable(linux ${SOURCE_FILES}) - -# add cppunit -include_directories(${PROJECT_SOURCE_DIR}/../../externals/cppunit/include) -find_library(LIB_CPPUNIT cppunit ${PROJECT_SOURCE_DIR}/../../externals/cppunit/lib) -target_link_libraries(linux ${LIB_CPPUNIT}) -message(STATUS "cppunit lib: ${LIB_CPPUNIT}") - diff --git a/src/linux/main.cpp b/src/linux/main.cpp deleted file mode 100644 index feb607ef5..000000000 --- a/src/linux/main.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include -#include -#include -#include -#include -#include -#include - -int runTests() -{ - // Create the event manager and test controller - CPPUNIT_NS::TestResult controller; - - // Add a listener that collects test result - CPPUNIT_NS::TestResultCollector result; - controller.addListener(&result); - - // Add a listener that prints status update dots while the tests run - CPPUNIT_NS::BriefTestProgressListener progress; - controller.addListener(&progress); - - // Add the top suite to the test runner - CPPUNIT_NS::TestRunner runner; - runner.addTest(CPPUNIT_NS::TestFactoryRegistry::getRegistry().makeTest()); - runner.run(controller); - - // Print test in a compiler compatible format. - CPPUNIT_NS::CompilerOutputter outputter(&result,CPPUNIT_NS::stdCOut()); - outputter.write(); - - return result.wasSuccessful() ? 0 : 1; - -} - -int main(int, char**) { - std::cout << "Hello, World!" << std::endl; - return runTests(); -} diff --git a/src/linux/stubs/Windows.h b/src/linux/stubs/Windows.h deleted file mode 100644 index f144cf1fb..000000000 --- a/src/linux/stubs/Windows.h +++ /dev/null @@ -1,17 +0,0 @@ - -// pal.h will provide everything windows.h otherwise would -#include "pal.h" -#include "rt/palrt.h" - - -// SAL annotations -#define _In_ -#define _Reserved_ -#define _Out_ -#define _In_opt_ -#define __deref_out_opt -#define __deref_out_ecount(COUNT) -#define __inout_ecount(COUNT) -#define __out_ecount(COUNT) -#define _Success_(VALUE) -#define _In_z_ \ No newline at end of file diff --git a/src/linux/stubs/mscoree.h b/src/linux/stubs/mscoree.h deleted file mode 100644 index d991f9875..000000000 --- a/src/linux/stubs/mscoree.h +++ /dev/null @@ -1,175 +0,0 @@ -#pragma once - -#include "pal.h" -#include "rt/palrt.h" - -//! -//! This header pulls in actual items from the original mscoree.h and also -//! defines stub classes and functions. -//! - -typedef /* [public][public] */ -enum __MIDL___MIDL_itf_mscoree_0000_0000_0002 -{ - STARTUP_CONCURRENT_GC = 0x1, - STARTUP_LOADER_OPTIMIZATION_MASK = ( 0x3 << 1 ) , - STARTUP_LOADER_OPTIMIZATION_SINGLE_DOMAIN = ( 0x1 << 1 ) , - STARTUP_LOADER_OPTIMIZATION_MULTI_DOMAIN = ( 0x2 << 1 ) , - STARTUP_LOADER_OPTIMIZATION_MULTI_DOMAIN_HOST = ( 0x3 << 1 ) , - STARTUP_LOADER_SAFEMODE = 0x10, - STARTUP_LOADER_SETPREFERENCE = 0x100, - STARTUP_SERVER_GC = 0x1000, - STARTUP_HOARD_GC_VM = 0x2000, - STARTUP_SINGLE_VERSION_HOSTING_INTERFACE = 0x4000, - STARTUP_LEGACY_IMPERSONATION = 0x10000, - STARTUP_DISABLE_COMMITTHREADSTACK = 0x20000, - STARTUP_ALWAYSFLOW_IMPERSONATION = 0x40000, - STARTUP_TRIM_GC_COMMIT = 0x80000, - STARTUP_ETW = 0x100000, - STARTUP_ARM = 0x400000, - STARTUP_SINGLE_APPDOMAIN = 0x800000, - STARTUP_APPX_APP_MODEL = 0x1000000, - STARTUP_DISABLE_RANDOMIZED_STRING_HASHING = 0x2000000 -} STARTUP_FLAGS; - - -// other datatypes - -typedef HRESULT ( __stdcall *FExecuteInAppDomainCallback )( - void *cookie); - - -// interfaces - -class IUnknown -{ -public: - ULONG AddRef() - { - return 0; - } - ULONG Release() - { - return 0; - } - HRESULT QueryInterface( - REFIID riid, - void **ppvObject - ) - { - return S_OK; - } -}; - -struct IActivationFactory -{}; - -class IHostControl : public IUnknown -{ -public: -virtual HRESULT STDMETHODCALLTYPE GetHostManager( - /* [in] */ REFIID riid, - /* [out] */ void **ppObject) = 0; - -virtual HRESULT STDMETHODCALLTYPE SetAppDomainManager( - /* [in] */ DWORD dwAppDomainID, - /* [in] */ IUnknown *pUnkAppDomainManager) = 0; - -}; - -class ICLRControl : public IUnknown -{ -public: -virtual HRESULT STDMETHODCALLTYPE GetCLRManager( - /* [in] */ REFIID riid, - /* [out] */ void **ppObject) = 0; - -virtual HRESULT STDMETHODCALLTYPE SetAppDomainManagerType( - /* [in] */ LPCWSTR pwzAppDomainManagerAssembly, - /* [in] */ LPCWSTR pwzAppDomainManagerType) = 0; - -}; - -class ICLRRuntimeHost : public IUnknown -{ -public: -virtual HRESULT STDMETHODCALLTYPE Start( void) = 0; - -virtual HRESULT STDMETHODCALLTYPE Stop( void) = 0; - -virtual HRESULT STDMETHODCALLTYPE SetHostControl( - /* [in] */ IHostControl *pHostControl) = 0; - -virtual HRESULT STDMETHODCALLTYPE GetCLRControl( - /* [out] */ ICLRControl **pCLRControl) = 0; - -virtual HRESULT STDMETHODCALLTYPE UnloadAppDomain( - /* [in] */ DWORD dwAppDomainId, -/* [in] */ BOOL fWaitUntilDone) = 0; - -virtual HRESULT STDMETHODCALLTYPE ExecuteInAppDomain( - /* [in] */ DWORD dwAppDomainId, -/* [in] */ FExecuteInAppDomainCallback pCallback, -/* [in] */ void *cookie) = 0; - -virtual HRESULT STDMETHODCALLTYPE GetCurrentAppDomainId( - /* [out] */ DWORD *pdwAppDomainId) = 0; - -virtual HRESULT STDMETHODCALLTYPE ExecuteApplication( - /* [in] */ LPCWSTR pwzAppFullName, -/* [in] */ DWORD dwManifestPaths, -/* [in] */ LPCWSTR *ppwzManifestPaths, -/* [in] */ DWORD dwActivationData, -/* [in] */ LPCWSTR *ppwzActivationData, -/* [out] */ int *pReturnValue) = 0; - -virtual HRESULT STDMETHODCALLTYPE ExecuteInDefaultAppDomain( - /* [in] */ LPCWSTR pwzAssemblyPath, -/* [in] */ LPCWSTR pwzTypeName, -/* [in] */ LPCWSTR pwzMethodName, -/* [in] */ LPCWSTR pwzArgument, -/* [out] */ DWORD *pReturnValue) = 0; - -}; - -class ICLRRuntimeHost2 : public ICLRRuntimeHost -{ -public: -virtual HRESULT STDMETHODCALLTYPE CreateAppDomainWithManager( - /* [in] */ LPCWSTR wszFriendlyName, -/* [in] */ DWORD dwFlags, -/* [in] */ LPCWSTR wszAppDomainManagerAssemblyName, -/* [in] */ LPCWSTR wszAppDomainManagerTypeName, -/* [in] */ int nProperties, -/* [in] */ LPCWSTR *pPropertyNames, -/* [in] */ LPCWSTR *pPropertyValues, -/* [out] */ DWORD *pAppDomainID) = 0; - -virtual HRESULT STDMETHODCALLTYPE CreateDelegate( - /* [in] */ DWORD appDomainID, -/* [in] */ LPCWSTR wszAssemblyName, -/* [in] */ LPCWSTR wszClassName, -/* [in] */ LPCWSTR wszMethodName, -/* [out] */ INT_PTR *fnPtr) = 0; - -virtual HRESULT STDMETHODCALLTYPE Authenticate( - /* [in] */ ULONGLONG authKey) = 0; - -virtual HRESULT STDMETHODCALLTYPE RegisterMacEHPort( void) = 0; - -virtual HRESULT STDMETHODCALLTYPE SetStartupFlags( - /* [in] */ STARTUP_FLAGS dwFlags) = 0; - -virtual HRESULT STDMETHODCALLTYPE DllGetActivationFactory( - /* [in] */ DWORD appDomainID, -/* [in] */ LPCWSTR wszTypeName, -/* [out] */ IActivationFactory **factory) = 0; - -virtual HRESULT STDMETHODCALLTYPE ExecuteAssembly( - /* [in] */ DWORD dwAppDomainId, -/* [in] */ LPCWSTR pwzAssemblyPath, -/* [in] */ int argc, -/* [in] */ LPCWSTR *argv, -/* [out] */ DWORD *pReturnValue) = 0; - -}; diff --git a/src/linux/stubs/rpc.h b/src/linux/stubs/rpc.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/linux/stubs/rpcndr.h b/src/linux/stubs/rpcndr.h deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/linux/stubs/stubs_coreclr.h b/src/linux/stubs/stubs_coreclr.h deleted file mode 100644 index cc021c9b0..000000000 --- a/src/linux/stubs/stubs_coreclr.h +++ /dev/null @@ -1,10 +0,0 @@ -#pragma once - -#include "pal.h" - -DWORD WINAPI ExpandEnvironmentStringsW( - PCWSTR lpSrc, - PWSTR lpDst, - DWORD nSize -); - diff --git a/src/linux/test/test_pal.cpp b/src/linux/test/test_pal.cpp deleted file mode 100644 index 52aaea986..000000000 --- a/src/linux/test/test_pal.cpp +++ /dev/null @@ -1,89 +0,0 @@ -#include "pal.h" -#include "test_pal.h" - -// pull in some more headers -#include "NativeMshConstants.h" -#include "ClrHostWrapper.h" -#include "IPwrshCommonOutput.h" -#include "ConfigFileReader.h" -#include "NativeMsh.h" -#include "SystemCallFacade.h" -#include "WinSystemCallFacade.h" - -namespace Microsoft { - - CPPUNIT_TEST_SUITE_REGISTRATION(PalTestSuite); - - // this unit test is used to test if stuff from different headers was pulled in correctly - // this is for porting compatbility tests, not really functional tests - void PalTestSuite::testHeaders() { - - // check NativeMshConstants.h - CPPUNIT_ASSERT_EQUAL(NativeMsh::g_MISSING_COMMAND_LINE_ARGUMENT,1); - - // check ClrHostWrapper.h - NativeMsh::ICLRRuntimeHost2Wrapper clrHostWrapper; - - } - - void PalTestSuite::testDatatypes() { - - // check basic pointer lengths - CPPUNIT_ASSERT_EQUAL(sizeof(void*), sizeof(PVOID)); - - // windows datatypes - CPPUNIT_ASSERT_EQUAL(sizeof(WORD),(std::size_t)2); - CPPUNIT_ASSERT_EQUAL(sizeof(DWORD),(std::size_t)4); - CPPUNIT_ASSERT_EQUAL(sizeof(HANDLE),sizeof(void*)); - CPPUNIT_ASSERT_EQUAL(sizeof(HWND),sizeof(void*)); - CPPUNIT_ASSERT_EQUAL(sizeof(HMODULE),sizeof(void*)); - CPPUNIT_ASSERT_EQUAL(sizeof(HINSTANCE),sizeof(void*)); - CPPUNIT_ASSERT_EQUAL(sizeof(HGLOBAL),sizeof(void*)); - CPPUNIT_ASSERT_EQUAL(sizeof(HLOCAL),sizeof(void*)); - CPPUNIT_ASSERT_EQUAL(sizeof(HRSRC),sizeof(void*)); - CPPUNIT_ASSERT_EQUAL(sizeof(HRESULT),sizeof(LONG)); - CPPUNIT_ASSERT_EQUAL(sizeof(NTSTATUS),sizeof(LONG)); - - // windows integer datatypes - CPPUNIT_ASSERT_EQUAL(sizeof(INT),(std::size_t)4); - CPPUNIT_ASSERT_EQUAL(sizeof(INT8),(std::size_t)1); - CPPUNIT_ASSERT_EQUAL(sizeof(INT16),(std::size_t)2); - CPPUNIT_ASSERT_EQUAL(sizeof(INT32),(std::size_t)4); - CPPUNIT_ASSERT_EQUAL(sizeof(INT64),(std::size_t)8); - CPPUNIT_ASSERT_EQUAL(sizeof(UINT),(std::size_t)4); - CPPUNIT_ASSERT_EQUAL(sizeof(UINT8),(std::size_t)1); - CPPUNIT_ASSERT_EQUAL(sizeof(UINT16),(std::size_t)2); - CPPUNIT_ASSERT_EQUAL(sizeof(UINT32),(std::size_t)4); - CPPUNIT_ASSERT_EQUAL(sizeof(UINT64),(std::size_t)8); - - // windows integer max and min size constants - - CPPUNIT_ASSERT_EQUAL(CHAR_BIT,8); - CPPUNIT_ASSERT_EQUAL(SCHAR_MIN,-127-1); - CPPUNIT_ASSERT_EQUAL(SCHAR_MAX,127); - CPPUNIT_ASSERT_EQUAL(UCHAR_MAX,0xff); - CPPUNIT_ASSERT_EQUAL(SHRT_MIN,-32767-1); - CPPUNIT_ASSERT_EQUAL(SHRT_MAX,32767); - CPPUNIT_ASSERT_EQUAL(USHRT_MAX,0xffff); - CPPUNIT_ASSERT_EQUAL(INT_MIN,-2147483647-1); - CPPUNIT_ASSERT_EQUAL(INT_MAX,2147483647); - CPPUNIT_ASSERT_EQUAL(UINT_MAX,0xffffffff); - - // TODO: these are part of limits.h and will never fit windows values -// CPPUNIT_ASSERT_EQUAL(LONG_MIN,-2147483647L-1); -// CPPUNIT_ASSERT_EQUAL(LONG_MAX,2147483647L); -// CPPUNIT_ASSERT_EQUAL(ULONG_MAX,0xffffffffUL); - - CPPUNIT_ASSERT_EQUAL(MAXSHORT,0x7fff); - CPPUNIT_ASSERT_EQUAL(MAXLONG,0x7fffffff); - CPPUNIT_ASSERT_EQUAL(MAXCHAR,0x7f); - CPPUNIT_ASSERT_EQUAL(MAXDWORD,0xffffffff); - - // character data types - CPPUNIT_ASSERT_EQUAL(sizeof(CHAR),(std::size_t)1); - CPPUNIT_ASSERT_EQUAL(sizeof(TCHAR),(std::size_t)1); - - - } - -} diff --git a/src/linux/test/test_pal.h b/src/linux/test/test_pal.h deleted file mode 100644 index 54e8bab53..000000000 --- a/src/linux/test/test_pal.h +++ /dev/null @@ -1,17 +0,0 @@ -#include - -namespace Microsoft { - - class PalTestSuite : public CPPUNIT_NS::TestFixture { - CPPUNIT_TEST_SUITE(PalTestSuite); - CPPUNIT_TEST(testHeaders); - CPPUNIT_TEST(testDatatypes); - CPPUNIT_TEST_SUITE_END(); - - public: - void testHeaders(); - void testDatatypes(); - - }; - -} \ No newline at end of file From 94f3fef28813ee2312f1f943ec80b7f8f58df122 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 18 Sep 2015 12:53:50 -0700 Subject: [PATCH 17/30] Remove unneeded strings folders --- .../CmdletizationResources.cs | 295 ---------------- .../NavigationResources.cs | 279 ---------------- .../ProcessResources.cs | 314 ------------------ scripts/commands-utility-strings/AddMember.cs | 179 ---------- .../AliasCommandStrings.cs | 234 ------------- .../ConvertFromStringData.cs | 81 ----- .../CsvCommandStrings.cs | 90 ----- scripts/commands-utility-strings/Debugger.cs | 234 ------------- .../EventingStrings.cs | 144 -------- scripts/commands-utility-strings/GetMember.cs | 72 ---- .../GetRandomCommandStrings.cs | 90 ----- .../commands-utility-strings/HostStrings.cs | 81 ----- .../ImportLocalizedDataStrings.cs | 137 -------- .../MeasureObjectStrings.cs | 90 ----- .../NewObjectStrings.cs | 144 -------- .../SelectObjectStrings.cs | 108 ------ .../SortObjectStrings.cs | 72 ---- .../UtilityCommonStrings.cs | 180 ---------- .../VariableCommandStrings.cs | 153 --------- .../WriteErrorStrings.cs | 72 ---- .../WriteProgressResourceStrings.cs | 90 ----- 21 files changed, 3139 deletions(-) delete mode 100644 scripts/commands-management-strings/CmdletizationResources.cs delete mode 100644 scripts/commands-management-strings/NavigationResources.cs delete mode 100644 scripts/commands-management-strings/ProcessResources.cs delete mode 100644 scripts/commands-utility-strings/AddMember.cs delete mode 100644 scripts/commands-utility-strings/AliasCommandStrings.cs delete mode 100644 scripts/commands-utility-strings/ConvertFromStringData.cs delete mode 100644 scripts/commands-utility-strings/CsvCommandStrings.cs delete mode 100644 scripts/commands-utility-strings/Debugger.cs delete mode 100644 scripts/commands-utility-strings/EventingStrings.cs delete mode 100644 scripts/commands-utility-strings/GetMember.cs delete mode 100644 scripts/commands-utility-strings/GetRandomCommandStrings.cs delete mode 100644 scripts/commands-utility-strings/HostStrings.cs delete mode 100644 scripts/commands-utility-strings/ImportLocalizedDataStrings.cs delete mode 100644 scripts/commands-utility-strings/MeasureObjectStrings.cs delete mode 100644 scripts/commands-utility-strings/NewObjectStrings.cs delete mode 100644 scripts/commands-utility-strings/SelectObjectStrings.cs delete mode 100644 scripts/commands-utility-strings/SortObjectStrings.cs delete mode 100644 scripts/commands-utility-strings/UtilityCommonStrings.cs delete mode 100644 scripts/commands-utility-strings/VariableCommandStrings.cs delete mode 100644 scripts/commands-utility-strings/WriteErrorStrings.cs delete mode 100644 scripts/commands-utility-strings/WriteProgressResourceStrings.cs diff --git a/scripts/commands-management-strings/CmdletizationResources.cs b/scripts/commands-management-strings/CmdletizationResources.cs deleted file mode 100644 index 9b496e460..000000000 --- a/scripts/commands-management-strings/CmdletizationResources.cs +++ /dev/null @@ -1,295 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class CmdletizationResources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal CmdletizationResources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CmdletizationResources", typeof(CmdletizationResources).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to The cmdlet does not fully support the Inquire action for debug messages. Cmdlet operation will continue during the prompt. Select a different action preference via -Debug switch or $DebugPreference variable, and try again.. - /// - internal static string CimCmdletAdapter_DebugInquire { - get { - return ResourceManager.GetString("CimCmdletAdapter_DebugInquire", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0}: A CimSession to the CIM server uses the DCOM protocol, which does not support the {1} switch.. - /// - internal static string CimCmdletAdapter_RemoteDcomDoesntSupportExtendedSemantics { - get { - return ResourceManager.GetString("CimCmdletAdapter_RemoteDcomDoesntSupportExtendedSemantics", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The cmdlet does not fully support the Inquire action for warnings. Cmdlet operation will continue during the prompt. Select a different action preference via -WarningAction parameter or $WarningPreference variable, and try again.. - /// - internal static string CimCmdletAdapter_WarningInquire { - get { - return ResourceManager.GetString("CimCmdletAdapter_WarningInquire", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The cmdlet does not fully support the Stop action for warnings. Cmdlet operation will be stopped with a delay. Select a different action preference via -WarningAction parameter or $WarningPreference variable, and try again.. - /// - internal static string CimCmdletAdapter_WarningStop { - get { - return ResourceManager.GetString("CimCmdletAdapter_WarningStop", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to CIM intrinsic type. - /// - internal static string CimConversion_CimIntrinsicValue { - get { - return ResourceManager.GetString("CimConversion_CimIntrinsicValue", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to WQL literal. - /// - internal static string CimConversion_WqlQuery { - get { - return ResourceManager.GetString("CimConversion_WqlQuery", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to CIM query for enumerating instances of the {0} class on the {1} CIM server, that are associated with the following instance: {2}. - /// - internal static string CimJob_AssociationDescription { - get { - return ResourceManager.GetString("CimJob_AssociationDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot connect to CIM server. {0}. - /// - internal static string CimJob_BrokenSession { - get { - return ResourceManager.GetString("CimJob_BrokenSession", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0}: {1}. - /// - internal static string CimJob_ComputerNameConcatenationTemplate { - get { - return ResourceManager.GetString("CimJob_ComputerNameConcatenationTemplate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The CIM method returned the following error code: {0}. - /// - internal static string CimJob_ErrorCodeFromMethod { - get { - return ResourceManager.GetString("CimJob_ErrorCodeFromMethod", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to run {1}. {0}. - /// - internal static string CimJob_GenericCimFailure { - get { - return ResourceManager.GetString("CimJob_GenericCimFailure", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot find the {0} class on the {1} CIM server. Verify the value of the ClassName xml attribute in Cmdlet Definition XML and retry. Valid class name example: ROOT\cimv2\Win32_Process.. - /// - internal static string CimJob_InvalidClassName { - get { - return ResourceManager.GetString("CimJob_InvalidClassName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot find the {2} output parameter of the {1} method of the {0} CIM object. Verify the value of the ParameterName attribute in Cmdlet Definition XML and retry.. - /// - internal static string CimJob_InvalidOutputParameterName { - get { - return ResourceManager.GetString("CimJob_InvalidOutputParameterName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to CIM method {1} on the {0} CIM object. - /// - internal static string CimJob_MethodDescription { - get { - return ResourceManager.GetString("CimJob_MethodDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Type of {0} property ({1}) doesn't match the CIM type ({2}) associated with the type declared in Cmdlet Definition XML.. - /// - internal static string CimJob_MismatchedTypeOfPropertyReturnedByQuery { - get { - return ResourceManager.GetString("CimJob_MismatchedTypeOfPropertyReturnedByQuery", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No matching {1} objects found by {0}. Verify query parameters and retry.. - /// - internal static string CimJob_NotFound_ComplexCase { - get { - return ResourceManager.GetString("CimJob_NotFound_ComplexCase", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No {2} objects found with property '{0}' equal to '{1}'. Verify the value of the property and retry.. - /// - internal static string CimJob_NotFound_SimpleGranularCase_Equality { - get { - return ResourceManager.GetString("CimJob_NotFound_SimpleGranularCase_Equality", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No {2} objects found with property '{0}' matching '{1}'. Verify the value of the property and retry.. - /// - internal static string CimJob_NotFound_SimpleGranularCase_Wildcard { - get { - return ResourceManager.GetString("CimJob_NotFound_SimpleGranularCase_Wildcard", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to CIM query for enumerating associated instance of the {0} class on the {1} CIM server. - /// - internal static string CimJob_SafeAssociationDescription { - get { - return ResourceManager.GetString("CimJob_SafeAssociationDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The {2} CIM method exposed by the {0} class on the {1} CIM server. - /// - internal static string CimJob_SafeMethodDescription { - get { - return ResourceManager.GetString("CimJob_SafeMethodDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to CIM query for instances of the {0} class on the {1} CIM server: {2}. - /// - internal static string CimJob_SafeQueryDescription { - get { - return ResourceManager.GetString("CimJob_SafeQueryDescription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The {0} command cannot complete, because the {1} server is currently busy. The command will be automatically resumed in {2:f2} seconds.. - /// - internal static string CimJob_SleepAndRetryVerboseMessage { - get { - return ResourceManager.GetString("CimJob_SleepAndRetryVerboseMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Running the following operation: {0}.. - /// - internal static string CimJob_VerboseExecutionMessage { - get { - return ResourceManager.GetString("CimJob_VerboseExecutionMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to CIM cmdlets do not support the {0} parameter together with the AsJob parameter. Remove one of these parameters and retry.. - /// - internal static string SessionBasedWrapper_ShouldProcessVsJobConflict { - get { - return ResourceManager.GetString("SessionBasedWrapper_ShouldProcessVsJobConflict", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to <?xml version="1.0" encoding="utf-8"?> - ///<!-- ################################################################## - ///Copyright (c) Microsoft Corporation. All rights reserved. - ///################################################################### --> - ///<!DOCTYPE schema [ - /// <!ENTITY csharpIdentifierLetterCharacterRegex "\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}\p{Nl}"> - /// <!ENTITY csharpIdentifierFirstCharacterRegex "&csharpIdentifierLetterCharacterRegex;_"> - /// <!ENTITY csharpIdentifierOtherCharacterRegex "&csharpIdentifierL [rest of string was truncated]";. - /// - internal static string Xml_cmdletsOverObjectsXsd { - get { - return ResourceManager.GetString("Xml_cmdletsOverObjectsXsd", resourceCulture); - } - } -} diff --git a/scripts/commands-management-strings/NavigationResources.cs b/scripts/commands-management-strings/NavigationResources.cs deleted file mode 100644 index c172d743e..000000000 --- a/scripts/commands-management-strings/NavigationResources.cs +++ /dev/null @@ -1,279 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class NavigationResources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal NavigationResources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("NavigationResources", typeof(NavigationResources).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Add Content. - /// - internal static string AddContentAction { - get { - return ResourceManager.GetString("AddContentAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Path: {0}. - /// - internal static string AddContentTarget { - get { - return ResourceManager.GetString("AddContentTarget", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Commit. - /// - internal static string CommitAction { - get { - return ResourceManager.GetString("CommitAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot copy because the specified destination already exists. Do you want to overwrite the existing content?. - /// - internal static string CopyToExistingPrompt { - get { - return ResourceManager.GetString("CopyToExistingPrompt", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Begin. - /// - internal static string CreateAction { - get { - return ResourceManager.GetString("CreateAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The specified path is a container that has child items. Do you want to delete this container and its child items?. - /// - internal static string DeleteHasChildrenPrompt { - get { - return ResourceManager.GetString("DeleteHasChildrenPrompt", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Do you want to delete the specified item?. - /// - internal static string DeletePrompt { - get { - return ResourceManager.GetString("DeletePrompt", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to An object at the specified path {0} does not exist, or has been filtered by the -Include or -Exclude parameter.. - /// - internal static string ItemNotFound { - get { - return ResourceManager.GetString("ItemNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot move item because the item at '{0}' does not exist.. - /// - internal static string MoveItemDoesntExist { - get { - return ResourceManager.GetString("MoveItemDoesntExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot move item because the item at '{0}' is in use.. - /// - internal static string MoveItemInUse { - get { - return ResourceManager.GetString("MoveItemInUse", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to New drive. - /// - internal static string NewDriveConfirmAction { - get { - return ResourceManager.GetString("NewDriveConfirmAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Name: {0} Provider: {1} Root: {2}. - /// - internal static string NewDriveConfirmResourceTemplate { - get { - return ResourceManager.GetString("NewDriveConfirmResourceTemplate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot parse path because path '{0}' does not have a qualifier specified.. - /// - internal static string ParsePathFormatError { - get { - return ResourceManager.GetString("ParsePathFormatError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove Drive. - /// - internal static string RemoveDriveConfirmAction { - get { - return ResourceManager.GetString("RemoveDriveConfirmAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Name: {0} Provider: {1} Root: {2}. - /// - internal static string RemoveDriveConfirmResourceTemplate { - get { - return ResourceManager.GetString("RemoveDriveConfirmResourceTemplate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot remove drive '{0}' because it is in use.. - /// - internal static string RemoveDriveInUse { - get { - return ResourceManager.GetString("RemoveDriveInUse", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot remove the item at '{0}' because it is in use.. - /// - internal static string RemoveItemInUse { - get { - return ResourceManager.GetString("RemoveItemInUse", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The item at {0} has children and the Recurse parameter was not specified. If you continue, all children will be removed with the item. Are you sure you want to continue?. - /// - internal static string RemoveItemWithChildren { - get { - return ResourceManager.GetString("RemoveItemWithChildren", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot rename the item at '{0}' because it is in use.. - /// - internal static string RenamedItemInUse { - get { - return ResourceManager.GetString("RenamedItemInUse", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot rename because item at '{0}' does not exist.. - /// - internal static string RenameItemDoesntExist { - get { - return ResourceManager.GetString("RenameItemDoesntExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Rollback. - /// - internal static string RollbackAction { - get { - return ResourceManager.GetString("RollbackAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Set Content. - /// - internal static string SetContentAction { - get { - return ResourceManager.GetString("SetContentAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Path: {0}. - /// - internal static string SetContentTarget { - get { - return ResourceManager.GetString("SetContentTarget", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Current transaction. - /// - internal static string TransactionResource { - get { - return ResourceManager.GetString("TransactionResource", resourceCulture); - } - } -} diff --git a/scripts/commands-management-strings/ProcessResources.cs b/scripts/commands-management-strings/ProcessResources.cs deleted file mode 100644 index 877d21f98..000000000 --- a/scripts/commands-management-strings/ProcessResources.cs +++ /dev/null @@ -1,314 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class ProcessResources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal ProcessResources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ProcessResources", typeof(ProcessResources).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to This command cannot be run completely because the system cannot find all the information required.. - /// - internal static string CannotStarttheProcess { - get { - return ResourceManager.GetString("CannotStarttheProcess", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Are you sure you want to perform the Stop-Process operation on the following item: {0}({1})?. - /// - internal static string ConfirmStopProcess { - get { - return ResourceManager.GetString("ConfirmStopProcess", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Parameters "{0}" and "{1}" cannot be specified at the same time.. - /// - internal static string ContradictParametersSpecified { - get { - return ResourceManager.GetString("ContradictParametersSpecified", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot enumerate the file version information of the "{0}" process.. - /// - internal static string CouldnotEnumerateFileVer { - get { - return ResourceManager.GetString("CouldnotEnumerateFileVer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot enumerate the modules and the file version information of the "{0}" process.. - /// - internal static string CouldnotEnumerateModuleFileVer { - get { - return ResourceManager.GetString("CouldnotEnumerateModuleFileVer", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot enumerate the modules of the "{0}" process.. - /// - internal static string CouldnotEnumerateModules { - get { - return ResourceManager.GetString("CouldnotEnumerateModules", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot stop process "{0} ({1})" because of the following error: {2}. - /// - internal static string CouldNotStopProcess { - get { - return ResourceManager.GetString("CouldNotStopProcess", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command cannot attach the debugger to the process due to {0} because no default debugger is available.. - /// - internal static string DebuggerError { - get { - return ResourceManager.GetString("DebuggerError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command cannot be run because "{0}" and "{1}" are same. Give different inputs and Run your command again.. - /// - internal static string DuplicateEntry { - get { - return ResourceManager.GetString("DuplicateEntry", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The 'IncludeUserName' parameter requires elevated user rights. Try running the command again in a session that has been opened with elevated user rights (that is, Run as Administrator).. - /// - internal static string IncludeUserNameRequiresElevation { - get { - return ResourceManager.GetString("IncludeUserNameRequiresElevation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command cannot be run because the input "{0}" is not a valid Application. Give a valid application and run your command again.. - /// - internal static string InvalidApplication { - get { - return ResourceManager.GetString("InvalidApplication", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command cannot be run because either the parameter "{0}" has a value that is not valid or cannot be used with this command. Give a valid input and Run your command again.. - /// - internal static string InvalidInput { - get { - return ResourceManager.GetString("InvalidInput", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command cannot be run due to the error: {0}.. - /// - internal static string InvalidStartProcess { - get { - return ResourceManager.GetString("InvalidStartProcess", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command cannot be run due to error 1783. The possible cause of this error can be using of a non-existing user "{0}". Please give a valid user and run your command again.. - /// - internal static string InvalidUserError { - get { - return ResourceManager.GetString("InvalidUserError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Error adding '{0}' to the network: {1}. - /// - internal static string JoinNetworkFailed { - get { - return ResourceManager.GetString("JoinNetworkFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Exception getting "Modules" or "FileVersion": "This feature is not supported for remote computers.".. - /// - internal static string NoComputerNameWithFileVersion { - get { - return ResourceManager.GetString("NoComputerNameWithFileVersion", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command cannot be run because the debugger cannot be attached to the process "{0} ({1})". Specify another process and Run your command.. - /// - internal static string NoDebuggerFound { - get { - return ResourceManager.GetString("NoDebuggerFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot find a process with the process identifier {1}.. - /// - internal static string NoProcessFoundForGivenId { - get { - return ResourceManager.GetString("NoProcessFoundForGivenId", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot find a process with the name "{0}". Verify the process name and call the cmdlet again.. - /// - internal static string NoProcessFoundForGivenName { - get { - return ResourceManager.GetString("NoProcessFoundForGivenName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command stopped operation of "{0} ({1})" because of the following error: {2}.. - /// - internal static string Process_is_not_terminated { - get { - return ResourceManager.GetString("Process is not terminated", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {0} ({1}). - /// - internal static string ProcessNameForConfirmation { - get { - return ResourceManager.GetString("ProcessNameForConfirmation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command stopped operation because process "{0} ({1})" is not stopped in the specified time-out.. - /// - internal static string ProcessNotTerminated { - get { - return ResourceManager.GetString("ProcessNotTerminated", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command cannot be run because Redirection parameters cannot be used with UseShellExecute parameter. - /// - internal static string RedirectionParams { - get { - return ResourceManager.GetString("RedirectionParams", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Error removing '{0}' from the network: {1}. - /// - internal static string RemoveFailed { - get { - return ResourceManager.GetString("RemoveFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Error renaming '{0}': {1}. - /// - internal static string RenameFailed { - get { - return ResourceManager.GetString("RenameFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The specified path is not a valid win32 application. Try again with the UseShellExecute.. - /// - internal static string UseShell { - get { - return ResourceManager.GetString("UseShell", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command stopped operation because it cannot wait on 'System Idle' process. Specify another process and Run your command again.. - /// - internal static string WaitOnIdleProcess { - get { - return ResourceManager.GetString("WaitOnIdleProcess", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command stopped operation because it cannot wait on itself. Specify another process and Run your command again.. - /// - internal static string WaitOnItself { - get { - return ResourceManager.GetString("WaitOnItself", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/AddMember.cs b/scripts/commands-utility-strings/AddMember.cs deleted file mode 100644 index 2032152ff..000000000 --- a/scripts/commands-utility-strings/AddMember.cs +++ /dev/null @@ -1,179 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class AddMember { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal AddMember() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AddMember", typeof(AddMember).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to The member referenced by this alias should not be null or empty.. - /// - internal static string AliasReferenceShouldNotBeNullOrEmpty { - get { - return ResourceManager.GetString("AliasReferenceShouldNotBeNullOrEmpty", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot add a member with type "{0}". Specify a different type for the MemberTypes parameter.. - /// - internal static string CannotAddMemberType { - get { - return ResourceManager.GetString("CannotAddMemberType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot force the member with name "{0}" and type "{1}" to be added. A member with that name and type already exists, and the existing member is not an instance extension.. - /// - internal static string CannotRemoveTypeDataMember { - get { - return ResourceManager.GetString("CannotRemoveTypeDataMember", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The parameter NotePropertyName cannot take values that could be converted to the type {0}. To define the name of a member with those values, use Add-Member, and specify the member type.. - /// - internal static string InvalidValueForNotePropertyName { - get { - return ResourceManager.GetString("InvalidValueForNotePropertyName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot add a member with the name "{0}" because a member with that name already exists. To overwrite the member anyway, add the Force parameter to your command.. - /// - internal static string MemberAlreadyExists { - get { - return ResourceManager.GetString("MemberAlreadyExists", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The name for a NoteProperty member should not be null or an empty string.. - /// - internal static string NotePropertyNameShouldNotBeNull { - get { - return ResourceManager.GetString("NotePropertyNameShouldNotBeNull", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The TypeName parameter should not be null, empty, or contain only white spaces.. - /// - internal static string TypeNameShouldNotBeEmpty { - get { - return ResourceManager.GetString("TypeNameShouldNotBeEmpty", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Both Value and SecondValue parameters should not be null for a member of type "{0}". Specify a non-null value for one of the two parameters.. - /// - internal static string Value1AndValue2AreNotBothNull { - get { - return ResourceManager.GetString("Value1AndValue2AreNotBothNull", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The Value parameter is required for a member of type "{0}". Specify the Value parameter when adding members of this type.. - /// - internal static string Value1Prompt { - get { - return ResourceManager.GetString("Value1Prompt", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The Value parameter should not be null for a member of type "{0}". Specify a non-null value for the Value parameter when adding members of this type.. - /// - internal static string Value1ShouldNotBeNull { - get { - return ResourceManager.GetString("Value1ShouldNotBeNull", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The SecondValue parameter should not be null for a member of type "{0}". Specify a non-null value for the SecondValue parameter when adding members of this type.. - /// - internal static string Value2ShouldNotBeNull { - get { - return ResourceManager.GetString("Value2ShouldNotBeNull", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The SecondValue parameter is not necessary for a member of type "{0}", and should not be specified. Do not specify the SecondValue parameter when you add members of this type.. - /// - internal static string Value2ShouldNotBeSpecified { - get { - return ResourceManager.GetString("Value2ShouldNotBeSpecified", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to To add a member, only one member type can be specified. The member types specified are: "{0}". - /// - internal static string WrongMemberCount { - get { - return ResourceManager.GetString("WrongMemberCount", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/AliasCommandStrings.cs b/scripts/commands-utility-strings/AliasCommandStrings.cs deleted file mode 100644 index cd1eb08cc..000000000 --- a/scripts/commands-utility-strings/AliasCommandStrings.cs +++ /dev/null @@ -1,234 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class AliasCommandStrings { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal AliasCommandStrings() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AliasCommandStrings", typeof(AliasCommandStrings).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Cannot open file {0} to export the alias. {1}. - /// - internal static string ExportAliasFileOpenFailed { - get { - return ResourceManager.GetString("ExportAliasFileOpenFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Date/Time : {0:F}. - /// - internal static string ExportAliasHeaderDate { - get { - return ResourceManager.GetString("ExportAliasHeaderDate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Computer : {0}. - /// - internal static string ExportAliasHeaderMachine { - get { - return ResourceManager.GetString("ExportAliasHeaderMachine", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Alias File. - /// - internal static string ExportAliasHeaderTitle { - get { - return ResourceManager.GetString("ExportAliasHeaderTitle", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Exported by : {0}. - /// - internal static string ExportAliasHeaderUser { - get { - return ResourceManager.GetString("ExportAliasHeaderUser", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot export the aliases because path '{0}' contains wildcard characters that resolved to multiple paths. Aliases can be exported to only one file. Change the value of the Path parameter to a path that resolves to a single file.. - /// - internal static string ExportAliasPathResolvedToMultiple { - get { - return ResourceManager.GetString("ExportAliasPathResolvedToMultiple", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot export the aliases because path '{0}' referred to a '{1}' provider path. Change the Path parameter to a file system path.. - /// - internal static string ExportAliasToFileSystemOnly { - get { - return ResourceManager.GetString("ExportAliasToFileSystemOnly", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Import Alias. - /// - internal static string ImportAliasAction { - get { - return ResourceManager.GetString("ImportAliasAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot import an alias. Line number {1} in the file '{0}' is not a properly-formatted, comma-separated values (CSV) line for aliases. Change the line to contain four values separated by commas. If the value text itself contains a comma, then the value must be contained in quotation marks.. - /// - internal static string ImportAliasFileInvalidFormat { - get { - return ResourceManager.GetString("ImportAliasFileInvalidFormat", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot open file {0} to import the alias. {1}. - /// - internal static string ImportAliasFileOpenFailed { - get { - return ResourceManager.GetString("ImportAliasFileOpenFailed", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot import the alias because the specified path '{0}' referred to a '{1}' provider path. Change the value of the Path parameter to a file system path.. - /// - internal static string ImportAliasFromFileSystemOnly { - get { - return ResourceManager.GetString("ImportAliasFromFileSystemOnly", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot import the alias because line number {1} in the file '{0}' contains an option that is not recognized for aliases. Change the file to contain valid options.. - /// - internal static string ImportAliasOptionsError { - get { - return ResourceManager.GetString("ImportAliasOptionsError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot import alias because path '{0}' contains wildcard characters that resolve to multiple paths. Aliases can be imported from only one file. Change the value of the Path parameter to a path that resolves to a single file.. - /// - internal static string ImportAliasPathResolvedToMultiple { - get { - return ResourceManager.GetString("ImportAliasPathResolvedToMultiple", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Name: {0} Value: {1}. - /// - internal static string ImportAliasTarget { - get { - return ResourceManager.GetString("ImportAliasTarget", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to New Alias. - /// - internal static string NewAliasAction { - get { - return ResourceManager.GetString("NewAliasAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Name: {0} Value: {1}. - /// - internal static string NewAliasTarget { - get { - return ResourceManager.GetString("NewAliasTarget", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command cannot find a matching alias because an alias with the {0} '{1}' does not exist.. - /// - internal static string NoAliasFound { - get { - return ResourceManager.GetString("NoAliasFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Set Alias. - /// - internal static string SetAliasAction { - get { - return ResourceManager.GetString("SetAliasAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Name: {0} Value: {1}. - /// - internal static string SetAliasTarget { - get { - return ResourceManager.GetString("SetAliasTarget", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/ConvertFromStringData.cs b/scripts/commands-utility-strings/ConvertFromStringData.cs deleted file mode 100644 index fc41b5e47..000000000 --- a/scripts/commands-utility-strings/ConvertFromStringData.cs +++ /dev/null @@ -1,81 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class ConvertFromStringData { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal ConvertFromStringData() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ConvertFromStringData", typeof(ConvertFromStringData).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Data item '{1}' in line '{0}' is already defined. . - /// - internal static string DataItemAlreadyDefined { - get { - return ResourceManager.GetString("DataItemAlreadyDefined", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Data line '{0}' is not in 'name=value' format. . - /// - internal static string InvalidDataLine { - get { - return ResourceManager.GetString("InvalidDataLine", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/CsvCommandStrings.cs b/scripts/commands-utility-strings/CsvCommandStrings.cs deleted file mode 100644 index 6501f4ee9..000000000 --- a/scripts/commands-utility-strings/CsvCommandStrings.cs +++ /dev/null @@ -1,90 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class CsvCommandStrings { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal CsvCommandStrings() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CsvCommandStrings", typeof(CsvCommandStrings).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Cannot append CSV content to the following file: {1}. The appended object does not have a property that corresponds to the following column: {0}. To continue with mismatched properties, add the -Force parameter, and then retry the command.. - /// - internal static string CannotAppendCsvWithMismatchedPropertyNames { - get { - return ResourceManager.GetString("CannotAppendCsvWithMismatchedPropertyNames", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You must specify either the -Path or -LiteralPath parameters, but not both.. - /// - internal static string CannotSpecifyPathAndLiteralPath { - get { - return ResourceManager.GetString("CannotSpecifyPathAndLiteralPath", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to One or more headers were not specified. Default names starting with "H" have been used in place of any missing headers.. - /// - internal static string UseDefaultNameForUnspecifiedHeader { - get { - return ResourceManager.GetString("UseDefaultNameForUnspecifiedHeader", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/Debugger.cs b/scripts/commands-utility-strings/Debugger.cs deleted file mode 100644 index 0dc0d1d49..000000000 --- a/scripts/commands-utility-strings/Debugger.cs +++ /dev/null @@ -1,234 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class Debugger { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Debugger() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Debugger", typeof(Debugger).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to There is no breakpoint with ID '{0}'.. - /// - internal static string BreakpointIdNotFound { - get { - return ResourceManager.GetString("BreakpointIdNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot set breakpoint. The language mode for this session is incompatible with the system-wide language mode.. - /// - internal static string CannotSetBreakpointInconsistentLanguageMode { - get { - return ResourceManager.GetString("CannotSetBreakpointInconsistentLanguageMode", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Wait-Debugger called on line {0} in {1}.. - /// - internal static string DebugBreakMessage { - get { - return ResourceManager.GetString("DebugBreakMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to File '{0}' does not exist.. - /// - internal static string FileDoesNotExist { - get { - return ResourceManager.GetString("FileDoesNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Line cannot be less than 1.. - /// - internal static string LineLessThanOne { - get { - return ResourceManager.GetString("LineLessThanOne", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Failed to persist debug options for Process {0}.. - /// - internal static string PersistDebugPreferenceFailure { - get { - return ResourceManager.GetString("PersistDebugPreferenceFailure", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Debugging is not supported on remote sessions.. - /// - internal static string RemoteDebuggerNotSupported { - get { - return ResourceManager.GetString("RemoteDebuggerNotSupported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Breakpoints cannot be set in the remote session because remote debugging is not supported by the current host.. - /// - internal static string RemoteDebuggerNotSupportedInHost { - get { - return ResourceManager.GetString("RemoteDebuggerNotSupportedInHost", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to You cannot debug the default host Runspace using this cmdlet. To debug the default Runspace use the normal debugging commands from the host.. - /// - internal static string RunspaceDebuggingCannotDebugDefaultRunspace { - get { - return ResourceManager.GetString("RunspaceDebuggingCannotDebugDefaultRunspace", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to To end the debugging session type the 'Detach' command at the debugger prompt, or type 'Ctrl+C' otherwise.. - /// - internal static string RunspaceDebuggingEndSession { - get { - return ResourceManager.GetString("RunspaceDebuggingEndSession", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot debug Runspace. There is no host or host UI. The debugger requires a host and host UI for debugging.. - /// - internal static string RunspaceDebuggingNoHost { - get { - return ResourceManager.GetString("RunspaceDebuggingNoHost", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot debug Runspace. The host has no debugger. Try debugging the Runspace inside the Windows PowerShell console or the Windows PowerShell ISE, both of which have built-in debuggers.. - /// - internal static string RunspaceDebuggingNoHostRunspaceOrDebugger { - get { - return ResourceManager.GetString("RunspaceDebuggingNoHostRunspaceOrDebugger", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No Runspace was found.. - /// - internal static string RunspaceDebuggingNoRunspaceFound { - get { - return ResourceManager.GetString("RunspaceDebuggingNoRunspaceFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Command or script completed.. - /// - internal static string RunspaceDebuggingScriptCompleted { - get { - return ResourceManager.GetString("RunspaceDebuggingScriptCompleted", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Debugging Runspace: {0}. - /// - internal static string RunspaceDebuggingStarted { - get { - return ResourceManager.GetString("RunspaceDebuggingStarted", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to More than one Runspace was found. Only one Runspace can be debugged at a time.. - /// - internal static string RunspaceDebuggingTooManyRunspacesFound { - get { - return ResourceManager.GetString("RunspaceDebuggingTooManyRunspacesFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot set debug options on Runspace {0} because it is not in the Opened state.. - /// - internal static string RunspaceOptionInvalidRunspaceState { - get { - return ResourceManager.GetString("RunspaceOptionInvalidRunspaceState", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No debugger was found for Runspace {0}.. - /// - internal static string RunspaceOptionNoDebugger { - get { - return ResourceManager.GetString("RunspaceOptionNoDebugger", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot set breakpoint on file '{0}'; only *.ps1 and *.psm1 files are valid.. - /// - internal static string WrongExtension { - get { - return ResourceManager.GetString("WrongExtension", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/EventingStrings.cs b/scripts/commands-utility-strings/EventingStrings.cs deleted file mode 100644 index aa78e2c74..000000000 --- a/scripts/commands-utility-strings/EventingStrings.cs +++ /dev/null @@ -1,144 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class EventingStrings { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal EventingStrings() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("EventingStrings", typeof(EventingStrings).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Action must be specified for non-forwarded events.. - /// - internal static string ActionMandatoryForLocal { - get { - return ResourceManager.GetString("ActionMandatoryForLocal", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Event with identifier '{0}' does not exist.. - /// - internal static string EventIdentifierNotFound { - get { - return ResourceManager.GetString("EventIdentifierNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Event '{0}'. - /// - internal static string EventResource { - get { - return ResourceManager.GetString("EventResource", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Event subscription '{0}'. - /// - internal static string EventSubscription { - get { - return ResourceManager.GetString("EventSubscription", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Event subscription with identifier '{0}' does not exist.. - /// - internal static string EventSubscriptionNotFound { - get { - return ResourceManager.GetString("EventSubscriptionNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Event subscription with source identifier '{0}' does not exist.. - /// - internal static string EventSubscriptionSourceNotFound { - get { - return ResourceManager.GetString("EventSubscriptionSourceNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove. - /// - internal static string Remove { - get { - return ResourceManager.GetString("Remove", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Event with source identifier '{0}' does not exist.. - /// - internal static string SourceIdentifierNotFound { - get { - return ResourceManager.GetString("SourceIdentifierNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Unsubscribe. - /// - internal static string Unsubscribe { - get { - return ResourceManager.GetString("Unsubscribe", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/GetMember.cs b/scripts/commands-utility-strings/GetMember.cs deleted file mode 100644 index 26ea76bc4..000000000 --- a/scripts/commands-utility-strings/GetMember.cs +++ /dev/null @@ -1,72 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class GetMember { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal GetMember() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GetMember", typeof(GetMember).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to You must specify an object for the Get-Member cmdlet.. - /// - internal static string NoObjectSpecified { - get { - return ResourceManager.GetString("NoObjectSpecified", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/GetRandomCommandStrings.cs b/scripts/commands-utility-strings/GetRandomCommandStrings.cs deleted file mode 100644 index 629913fbd..000000000 --- a/scripts/commands-utility-strings/GetRandomCommandStrings.cs +++ /dev/null @@ -1,90 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class GetRandomCommandStrings { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal GetRandomCommandStrings() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GetRandomCommandStrings", typeof(GetRandomCommandStrings).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to 'maxValue' must be greater than zero.. - /// - internal static string MaxMustBeGreaterThanZeroApi { - get { - return ResourceManager.GetString("MaxMustBeGreaterThanZeroApi", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The Minimum value ({0}) cannot be greater than or equal to the Maximum value ({1}).. - /// - internal static string MinGreaterThanOrEqualMax { - get { - return ResourceManager.GetString("MinGreaterThanOrEqualMax", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to 'minValue' cannot be greater than maxValue.. - /// - internal static string MinGreaterThanOrEqualMaxApi { - get { - return ResourceManager.GetString("MinGreaterThanOrEqualMaxApi", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/HostStrings.cs b/scripts/commands-utility-strings/HostStrings.cs deleted file mode 100644 index 634558bab..000000000 --- a/scripts/commands-utility-strings/HostStrings.cs +++ /dev/null @@ -1,81 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class HostStrings { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal HostStrings() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("HostStrings", typeof(HostStrings).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Cannot process the color because {0} is not a valid color.. - /// - internal static string InvalidColorErrorTemplate { - get { - return ResourceManager.GetString("InvalidColorErrorTemplate", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot evaluate the error because a string is not specified.. - /// - internal static string NoStringToEvalulateError { - get { - return ResourceManager.GetString("NoStringToEvalulateError", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/ImportLocalizedDataStrings.cs b/scripts/commands-utility-strings/ImportLocalizedDataStrings.cs deleted file mode 100644 index 119efc94f..000000000 --- a/scripts/commands-utility-strings/ImportLocalizedDataStrings.cs +++ /dev/null @@ -1,137 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class ImportLocalizedDataStrings { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal ImportLocalizedDataStrings() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ImportLocalizedDataStrings", typeof(ImportLocalizedDataStrings).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Cannot import localized data. The definition of additional supported commands is not allowed in this language mode.. - /// - internal static string CannotDefineSupportedCommand { - get { - return ResourceManager.GetString("CannotDefineSupportedCommand", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot find the Windows PowerShell data file '{0}' in directory '{1}', or in any parent culture directories.. - /// - internal static string CannotFindPsd1File { - get { - return ResourceManager.GetString("CannotFindPsd1File", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The following error occurred while Windows PowerShell was loading the '{0}' script data file: - ///{1}.. - /// - internal static string ErrorLoadingDataFile { - get { - return ResourceManager.GetString("ErrorLoadingDataFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The following error occurred while Windows PowerShell was opening the data file '{0}': - ///{1}.. - /// - internal static string ErrorOpeningFile { - get { - return ResourceManager.GetString("ErrorOpeningFile", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The argument for the FileName parameter should not contain a path.. - /// - internal static string FileNameParameterCannotHavePath { - get { - return ResourceManager.GetString("FileNameParameterCannotHavePath", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The data file '{0}' cannot be found. . - /// - internal static string FileNotExist { - get { - return ResourceManager.GetString("FileNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The BindingVariable name '{0}' is invalid.. - /// - internal static string IncorrectVariableName { - get { - return ResourceManager.GetString("IncorrectVariableName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The FileName parameter was not specified. The FileName parameter is required when Import-LocalizedData is not called from a script file.. - /// - internal static string NotCalledFromAScriptFile { - get { - return ResourceManager.GetString("NotCalledFromAScriptFile", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/MeasureObjectStrings.cs b/scripts/commands-utility-strings/MeasureObjectStrings.cs deleted file mode 100644 index bc38d8015..000000000 --- a/scripts/commands-utility-strings/MeasureObjectStrings.cs +++ /dev/null @@ -1,90 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class MeasureObjectStrings { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal MeasureObjectStrings() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MeasureObjectStrings", typeof(MeasureObjectStrings).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Input object "{0}" is not numeric.. - /// - internal static string NonNumericInputObject { - get { - return ResourceManager.GetString("NonNumericInputObject", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Property "{0}" is not numeric.. - /// - internal static string NonNumericProperty { - get { - return ResourceManager.GetString("NonNumericProperty", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The property "{0}" cannot be found in the input for any objects.. - /// - internal static string PropertyNotFound { - get { - return ResourceManager.GetString("PropertyNotFound", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/NewObjectStrings.cs b/scripts/commands-utility-strings/NewObjectStrings.cs deleted file mode 100644 index cc8fdd2f5..000000000 --- a/scripts/commands-utility-strings/NewObjectStrings.cs +++ /dev/null @@ -1,144 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class NewObjectStrings { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal NewObjectStrings() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("NewObjectStrings", typeof(NewObjectStrings).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Cannot create type. Only core types are supported in this language mode.. - /// - internal static string CannotCreateTypeConstrainedLanguage { - get { - return ResourceManager.GetString("CannotCreateTypeConstrainedLanguage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A constructor was not found. Cannot find an appropriate constructor for type {0}.. - /// - internal static string CannotFindAppropriateCtor { - get { - return ResourceManager.GetString("CannotFindAppropriateCtor", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Creating instances of attribute and delegated Windows RT types is not supported.. - /// - internal static string CannotInstantiateWinRTType { - get { - return ResourceManager.GetString("CannotInstantiateWinRTType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot load COM type {0}.. - /// - internal static string CannotLoadComObjectType { - get { - return ResourceManager.GetString("CannotLoadComObjectType", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The object written to the pipeline is an instance of the type "{0}" from the component's primary interoperability assembly. If this type exposes different members than the IDispatch members, scripts that are written to work with this object might not work if the primary interoperability assembly is not installed.. - /// - internal static string ComInteropLoaded { - get { - return ResourceManager.GetString("ComInteropLoaded", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot create the COM object. COM object is not supported in OneCore PowerShell.. - /// - internal static string ComObjectNotSupportedInOneCorePowerShell { - get { - return ResourceManager.GetString("ComObjectNotSupportedInOneCorePowerShell", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The value supplied is not valid, or the property is read-only. Change the value, and then try again.. - /// - internal static string InvalidValue { - get { - return ResourceManager.GetString("InvalidValue", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The member "{1}" was not found for the specified {2} object.. - /// - internal static string MemberNotFound { - get { - return ResourceManager.GetString("MemberNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot find type [{0}]: verify that the assembly containing this type is loaded.. - /// - internal static string TypeNotFound { - get { - return ResourceManager.GetString("TypeNotFound", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/SelectObjectStrings.cs b/scripts/commands-utility-strings/SelectObjectStrings.cs deleted file mode 100644 index 60a843296..000000000 --- a/scripts/commands-utility-strings/SelectObjectStrings.cs +++ /dev/null @@ -1,108 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class SelectObjectStrings { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal SelectObjectStrings() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SelectObjectStrings", typeof(SelectObjectStrings).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to The property cannot be processed because the property "{0}" already exists.. - /// - internal static string AlreadyExistingProperty { - get { - return ResourceManager.GetString("AlreadyExistingProperty", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to A property is an empty script block and does not provide a name.. - /// - internal static string EmptyScriptBlockAndNoName { - get { - return ResourceManager.GetString("EmptyScriptBlockAndNoName", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Multiple properties cannot be expanded.. - /// - internal static string MutlipleExpandProperties { - get { - return ResourceManager.GetString("MutlipleExpandProperties", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Property "{0}" cannot be found.. - /// - internal static string PropertyNotFound { - get { - return ResourceManager.GetString("PropertyNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot rename multiple results.. - /// - internal static string RenamingMultipleResults { - get { - return ResourceManager.GetString("RenamingMultipleResults", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/SortObjectStrings.cs b/scripts/commands-utility-strings/SortObjectStrings.cs deleted file mode 100644 index ea1ab58bd..000000000 --- a/scripts/commands-utility-strings/SortObjectStrings.cs +++ /dev/null @@ -1,72 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class SortObjectStrings { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal SortObjectStrings() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SortObjectStrings", typeof(SortObjectStrings).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to "Sort-Object" - "{0}" cannot be found in "InputObject".. - /// - internal static string PropertyNotFound { - get { - return ResourceManager.GetString("PropertyNotFound", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/UtilityCommonStrings.cs b/scripts/commands-utility-strings/UtilityCommonStrings.cs deleted file mode 100644 index eb8dc8dd2..000000000 --- a/scripts/commands-utility-strings/UtilityCommonStrings.cs +++ /dev/null @@ -1,180 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class UtilityCommonStrings { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal UtilityCommonStrings() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("UtilityCommonStrings", typeof(UtilityCommonStrings).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to This command cannot be run because '{0}' is empty or blank. Please specify CSSUri and then run the command.. - /// - internal static string EmptyCSSUri { - get { - return ResourceManager.GetString("EmptyCSSUri", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command cannot be run because the file path '{0}' is not valid. Please provide a valid file path and then run the command.. - /// - internal static string FileNotFound { - get { - return ResourceManager.GetString("FileNotFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot open the file because the current provider ({0}) cannot open files.. - /// - internal static string FileOpenError { - get { - return ResourceManager.GetString("FileOpenError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The file '{0}' cannot be read: {1}. - /// - internal static string FileReadError { - get { - return ResourceManager.GetString("FileReadError", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The command cannot be run because using the AsHashTable parameter with more than one property requires adding the AsString parameter.. - /// - internal static string GroupObjectSingleProperty { - get { - return ResourceManager.GetString("GroupObjectSingleProperty", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The command cannot be run because the AsString parameter requires that you specify the AsHashtable parameter.. - /// - internal static string GroupObjectWithHashTable { - get { - return ResourceManager.GetString("GroupObjectWithHashTable", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The objects grouped by this property cannot be expanded because there is a key duplication. Provide a valid value for the property, and then try again.. - /// - internal static string InvalidOperation { - get { - return ResourceManager.GetString("InvalidOperation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to {2} has one or more exceptions that are not valid.. - /// - internal static string Invalidpath { - get { - return ResourceManager.GetString("Invalidpath", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to There are no matching results found for {2}.. - /// - internal static string NoMatchFound { - get { - return ResourceManager.GetString("NoMatchFound", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to The command is not supported on this operating system.. - /// - internal static string NotSupported { - get { - return ResourceManager.GetString("NotSupported", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot find path '{0}' because it does not exist.. - /// - internal static string PathDoesNotExist { - get { - return ResourceManager.GetString("PathDoesNotExist", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Cannot use tag '{0}'. The 'PS' prefix is reserved.. - /// - internal static string PSPrefixReservedInInformationTag { - get { - return ResourceManager.GetString("PSPrefixReservedInInformationTag", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to This command cannot be run because the prefix value in the Namespace parameter is null. Provide a valid value for the prefix, and then run the command again.. - /// - internal static string SearchXMLPrefixNullError { - get { - return ResourceManager.GetString("SearchXMLPrefixNullError", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/VariableCommandStrings.cs b/scripts/commands-utility-strings/VariableCommandStrings.cs deleted file mode 100644 index 44aa101a1..000000000 --- a/scripts/commands-utility-strings/VariableCommandStrings.cs +++ /dev/null @@ -1,153 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class VariableCommandStrings { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal VariableCommandStrings() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("VariableCommandStrings", typeof(VariableCommandStrings).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Add variable. - /// - internal static string AddVariableAction { - get { - return ResourceManager.GetString("AddVariableAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Name: {0}. - /// - internal static string AddVariableTarget { - get { - return ResourceManager.GetString("AddVariableTarget", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Clear variable. - /// - internal static string ClearVariableAction { - get { - return ResourceManager.GetString("ClearVariableAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Name: {0}. - /// - internal static string ClearVariableTarget { - get { - return ResourceManager.GetString("ClearVariableTarget", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to New variable. - /// - internal static string NewVariableAction { - get { - return ResourceManager.GetString("NewVariableAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Name: {0} Value: {1}. - /// - internal static string NewVariableTarget { - get { - return ResourceManager.GetString("NewVariableTarget", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Remove variable. - /// - internal static string RemoveVariableAction { - get { - return ResourceManager.GetString("RemoveVariableAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Name: {0}. - /// - internal static string RemoveVariableTarget { - get { - return ResourceManager.GetString("RemoveVariableTarget", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Set variable. - /// - internal static string SetVariableAction { - get { - return ResourceManager.GetString("SetVariableAction", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Name: {0} Value: {1}. - /// - internal static string SetVariableTarget { - get { - return ResourceManager.GetString("SetVariableTarget", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/WriteErrorStrings.cs b/scripts/commands-utility-strings/WriteErrorStrings.cs deleted file mode 100644 index ed1fd902b..000000000 --- a/scripts/commands-utility-strings/WriteErrorStrings.cs +++ /dev/null @@ -1,72 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class WriteErrorStrings { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal WriteErrorStrings() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WriteErrorStrings", typeof(WriteErrorStrings).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to "The Write-Error cmdlet reported an error.". - /// - internal static string WriteErrorException { - get { - return ResourceManager.GetString("WriteErrorException", resourceCulture); - } - } -} diff --git a/scripts/commands-utility-strings/WriteProgressResourceStrings.cs b/scripts/commands-utility-strings/WriteProgressResourceStrings.cs deleted file mode 100644 index 81063d7fc..000000000 --- a/scripts/commands-utility-strings/WriteProgressResourceStrings.cs +++ /dev/null @@ -1,90 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.0 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - - - -/// -/// A strongly-typed resource class, for looking up localized strings, etc. -/// -// This class was auto-generated by the StronglyTypedResourceBuilder -// class via a tool like ResGen or Visual Studio. -// To add or remove a member, edit your .ResX file then rerun ResGen -// with the /str option, or rebuild your VS project. -[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] -[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] -[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -internal class WriteProgressResourceStrings { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal WriteProgressResourceStrings() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WriteProgressResourceStrings", typeof(WriteProgressResourceStrings).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to Text to describe the activity for which progress is being reported.. - /// - internal static string ActivityParameterHelpMessage { - get { - return ResourceManager.GetString("ActivityParameterHelpMessage", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Processing. - /// - internal static string Processing { - get { - return ResourceManager.GetString("Processing", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Text to describe the current state of the activity for which progress is being reported.. - /// - internal static string StatusParameterHelpMessage { - get { - return ResourceManager.GetString("StatusParameterHelpMessage", resourceCulture); - } - } -} From 050206ff8ac18f942229a876de316fd22f651acc Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 18 Sep 2015 12:54:02 -0700 Subject: [PATCH 18/30] Delete xunittests.xml on make clean --- scripts/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Makefile b/scripts/Makefile index 973308578..eecdc6586 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -218,6 +218,7 @@ clean: rm -rf exec_env rm -rf buildtemp/libps-build rm -rf dotnetlibs/* + rm xunittests.xml # clean built stuff + prepare step cleanall: clean From bb4739db7801c6966e2b527c9e696d81d1943769 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 18 Sep 2015 13:19:45 -0700 Subject: [PATCH 19/30] Refactor NuGet install step --- scripts/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/Makefile b/scripts/Makefile index eecdc6586..9984d930e 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -122,12 +122,13 @@ dotnetlibs/api-ms-win-core-registry-l1-1-0.dll: ../src/win-dll/lib-api-ms-win-co # this is the manual step that will install some stuff using nuget and do other things that can't be dependency # tracked that easily +NUGET_INSTALL=cd buildtemp && mono nuget.exe install -Source 'https://api.nuget.org/v3/index.json' -Version prepare: rm -rf buildtemp/System.Reflection.Metadata.* buildtemp/System.Collections.Immutable.* buildtemp/Microsoft.Net.ToolsetCompilers.* buildtemp/nuget.exe cp $(MONAD_EXT)/nuget/nuget.exe buildtemp/nuget.exe - cd buildtemp && mono nuget.exe install -Source 'https://api.nuget.org/v3/index.json' -Version 1.0.21 System.Reflection.Metadata - cd buildtemp && mono nuget.exe install -Source 'https://api.nuget.org/v3/index.json' -Version 1.1.36 System.Collections.Immutable - cd buildtemp && mono nuget.exe install -Source 'https://api.nuget.org/v3/index.json' -Version 1.0.0-rc3-20150520-02 Microsoft.Net.ToolsetCompilers + $(NUGET_INSTALL) 1.0.21 System.Reflection.Metadata + $(NUGET_INSTALL) 1.1.36 System.Collections.Immutable + $(NUGET_INSTALL) 1.0.0-rc3-20150520-02 Microsoft.Net.ToolsetCompilers # this is an internal target, it's not intended to be called manually # From 77b5569385145aa85bc00f9a477d31a67fba6efb Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 18 Sep 2015 14:18:05 -0700 Subject: [PATCH 20/30] Fix rm --- scripts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile b/scripts/Makefile index 9984d930e..b235f379e 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -219,7 +219,7 @@ clean: rm -rf exec_env rm -rf buildtemp/libps-build rm -rf dotnetlibs/* - rm xunittests.xml + rm -f xunittests.xml # clean built stuff + prepare step cleanall: clean From 88aefa5f40a599b7bc66042687b936abe4b2d03e Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Mon, 21 Sep 2015 11:20:30 -0700 Subject: [PATCH 21/30] Refactor to use $(APP_BASE) Now that everything is run from exec_env/app_base, we can reuse it and remove TESTRUN_FOLDER. --- scripts/Makefile | 52 +++++++++++++++++++++++++----------------------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/scripts/Makefile b/scripts/Makefile index b235f379e..30125c6bb 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -130,6 +130,9 @@ prepare: $(NUGET_INSTALL) 1.1.36 System.Collections.Immutable $(NUGET_INSTALL) 1.0.0-rc3-20150520-02 Microsoft.Net.ToolsetCompilers +# this is the execution environment from which all managed code is run +APP_BASE=exec_env/app_base + # this is an internal target, it's not intended to be called manually # # it will: @@ -142,17 +145,17 @@ prepare: # release CoreCLR depends on the actual run target. internal-prepare-exec_env: runps.sh $(POWERSHELL_RUN_TARGETS) rm -rf exec_env - mkdir -p exec_env/app_base/Modules + mkdir -p $(APP_BASE)/Modules mkdir -p exec_env/coreclr - cp ../src/monad/monad/miscfiles/display/*.ps1xml exec_env/app_base - cp ../src/monad/monad/miscfiles/types/CoreClr/*.ps1xml exec_env/app_base - cp -r ../src/monad/monad/miscfiles/modules/* exec_env/app_base/Modules - cp -r dotnetlibs/*.dll exec_env/app_base - cp -r dotnetlibs/*.exe exec_env/app_base - cp -r dotnetlibs/*.so exec_env/app_base - cp dotnetlibs/host_cmdline exec_env/app_base - cp -r ../ext-src/pester exec_env/app_base/Modules/Pester - cp runps*.sh exec_env/app_base + cp ../src/monad/monad/miscfiles/display/*.ps1xml $(APP_BASE) + cp ../src/monad/monad/miscfiles/types/CoreClr/*.ps1xml $(APP_BASE) + cp -r ../src/monad/monad/miscfiles/modules/* $(APP_BASE)/Modules + cp -r dotnetlibs/*.dll $(APP_BASE) + cp -r dotnetlibs/*.exe $(APP_BASE) + cp -r dotnetlibs/*.so $(APP_BASE) + cp dotnetlibs/host_cmdline $(APP_BASE) + cp -r ../ext-src/pester $(APP_BASE)/Modules/Pester + cp runps*.sh $(APP_BASE) internal-prepare-release-clr: cp -r $(MONAD_EXT)/coreclr/Release/* exec_env/coreclr/ @@ -163,20 +166,20 @@ internal-prepare-debug-clr: run: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr # execute a cmdlet, this will auto-load the utility module and print a, b and c in 3 lines - exec_env/app_base/runps-simple.sh '"a","b","c","a","a" | Select-Object -Unique' + $(APP_BASE)/runps-simple.sh '"a","b","c","a","a" | Select-Object -Unique' run-interactive: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr - exec_env/app_base/runps.sh + $(APP_BASE)/runps.sh run-file: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr - exec_env/app_base/runps.sh --file $(PSSCRIPT) + $(APP_BASE)/runps.sh --file $(PSSCRIPT) # easy way to run individual PowerShell scripts, `make script.ps1` where the path is relative to monad-linux/scripts (with TEMP set for Pester) %.ps1: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr - TEMP=/tmp exec_env/app_base/runps.sh --file ../../$@ + TEMP=/tmp $(APP_BASE)/runps.sh --file ../../$@ run-debugclr: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-debug-clr - PAL_DBG_CHANNELS="+LOADER.TRACE" exec_env/app_base/runps-simple.sh get-location + PAL_DBG_CHANNELS="+LOADER.TRACE" $(APP_BASE)/runps-simple.sh get-location native-tests: dotnetlibs/monad_native # execute the native C++ tests @@ -184,35 +187,34 @@ native-tests: dotnetlibs/monad_native # xUnit tests TEST_FOLDER=../src/ps_test -TESTRUN_FOLDER=exec_env/app_base TEST_SRCS=$(addprefix $(TEST_FOLDER)/, test_*.cs) -$(TESTRUN_FOLDER)/xunit%: $(MONAD_EXT)/xunit/xunit% +$(APP_BASE)/xunit%: $(MONAD_EXT)/xunit/xunit% cp -f $^ $@ -$(TESTRUN_FOLDER)/ps_test.dll: $(TEST_SRCS) $(addprefix $(TESTRUN_FOLDER)/, xunit.core.dll xunit.assert.dll) $(addprefix dotnetlibs/, System.Management.Automation.dll Microsoft.PowerShell.Commands.Management.dll $(ASSEMBLY_LOAD_CONTEXT_TARGET)) - $(CSC) $(CSCOPTS_LIB) -out:$@ $(addprefix -r:$(TESTRUN_FOLDER)/, xunit.core.dll xunit.assert.dll) $(addprefix -r:dotnetlibs/, System.Management.Automation.dll $(ASSEMBLY_LOAD_CONTEXT_TARGET)) $(COREREF) $(TEST_SRCS) +$(APP_BASE)/ps_test.dll: $(TEST_SRCS) $(addprefix $(APP_BASE)/, xunit.core.dll xunit.assert.dll) $(addprefix dotnetlibs/, System.Management.Automation.dll Microsoft.PowerShell.Commands.Management.dll $(ASSEMBLY_LOAD_CONTEXT_TARGET)) + $(CSC) $(CSCOPTS_LIB) -out:$@ $(addprefix -r:$(APP_BASE)/, xunit.core.dll xunit.assert.dll) $(addprefix -r:dotnetlibs/, System.Management.Automation.dll $(ASSEMBLY_LOAD_CONTEXT_TARGET)) $(COREREF) $(TEST_SRCS) -xunit-tests: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr $(addprefix $(TESTRUN_FOLDER)/, ps_test.dll xunit.console.netcore.exe xunit.runner.utility.dll xunit.abstractions.dll xunit.execution.dll) +xunit-tests: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr $(addprefix $(APP_BASE)/, ps_test.dll xunit.console.netcore.exe xunit.runner.utility.dll xunit.abstractions.dll xunit.execution.dll) # execute the xUnit runner, with XML output - exec_env/app_base/runps-test.sh ps_test.dll -xml ../../xunittests.xml + $(APP_BASE)/runps-test.sh ps_test.dll -xml ../../xunittests.xml pester-tests: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr # execute the Pester tests, which needs a TEMP environment variable to be set - exec_env/app_base/runps-simple.sh 'cd ../../../src/pester-tests; $$env:TEMP="/tmp"; invoke-pester' + $(APP_BASE)/runps-simple.sh 'cd ../../../src/pester-tests; $$env:TEMP="/tmp"; invoke-pester' hashbang-tests: # execute the 3rdparty/hashbang example - PATH=$(PATH):$(shell pwd)/exec_env/app_base $(shell pwd)/3rdparty/hashbang/script.ps1 + PATH=$(PATH):$(shell pwd)/$(APP_BASE) $(shell pwd)/3rdparty/hashbang/script.ps1 test: native-tests xunit-tests pester-tests hashbang-tests trace: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr - exec_env/app_base/runps-simple-trace.sh get-location + $(APP_BASE)/runps-simple-trace.sh get-location debug: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr # quoting here is a bit special if strings are passed in, because lldb seems to forward arguments strangely - exec_env/app_base/runps-simple-debug.sh get-location + $(APP_BASE)/runps-simple-debug.sh get-location clean: rm -rf dotnetlibs/* From b14a455343a9015cee4bdd3ddfb58c65846e67b0 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Wed, 30 Sep 2015 18:41:02 -0700 Subject: [PATCH 22/30] Create TypeCatalogGen.exe input, powershell.inc Previous attempt at this failed because it is not actually a Makefile. --- .gitignore | 1 + scripts/Makefile | 17 ++++- scripts/powershell-linux.inc | 136 ----------------------------------- scripts/powershell.inc | 86 ---------------------- 4 files changed, 15 insertions(+), 225 deletions(-) delete mode 100644 scripts/powershell-linux.inc delete mode 100644 scripts/powershell.inc diff --git a/.gitignore b/.gitignore index 7d710e83e..df7c361ab 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ Makefile cmake_install.cmake externals scripts/xunittests.xml +/scripts/powershell.inc diff --git a/scripts/Makefile b/scripts/Makefile index 30125c6bb..5a07abe9d 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -92,10 +92,21 @@ MPATH=/usr/lib/mono/4.5/Facades buildtemp/TypeCatalogGen.exe: ../src/monad/monad/nttargets/assemblies/core/PSAssemblyLoadContext/TypeCatalogGen/TypeCatalogGen.cs buildtemp/System.Reflection.Metadata.dll buildtemp/System.Collections.Immutable.dll $(MCS) -out:$@ -target:exe $(NUGETREF) -pkg:dotnet -r:$(MPATH)/System.Runtime.dll -r:$(MPATH)/System.Reflection.Primitives.dll -r:$(MPATH)/System.IO.dll $< +# this generates the necessary file of CoreCLR references that is an artifact of the Windows build process +# since we don't have Make 4.1, we can't use $(file), and using @echo makes the escaping tricky +# the list of references MUST be line-by-line, to match '^\$\(PS_PROFILE_REF_PATH\)\\(.+);\s*\\$' +REFERENCE_ASSEMBLIES=$(notdir $(shell ls $(TARGETING_PACK)/*.dll)) +PROFILE_REFERENCES=$(addsuffix ;\\\n, $(addprefix $$(PS_PROFILE_REF_PATH)\, $(REFERENCE_ASSEMBLIES))) +powershell.inc: + @echo 'PROFILE_REF_PATH=$$(SDK_REF_PATH)\Profiles' > $@ + @echo 'PS_PROFILE_REF_PATH=$$(PROFILE_REF_PATH)\PowerShell' >> $@ + @echo 'PROFILE_REFERENCES=\\' >> $@ + @echo '$(PROFILE_REFERENCES)' >> $@ + # generate the Core PS type catalog # this comes from: ../src/monad/monad/nttargets/assemblies/core/PSAssemblyLoadContext/makefile.inc -CorePsTypeCatalog.cs: powershell-linux.inc buildtemp/TypeCatalogGen.exe buildtemp/System.Reflection.Metadata.dll buildtemp/System.Collections.Immutable.dll - LD_LIBRARY_PATH=. mono buildtemp/TypeCatalogGen.exe powershell-linux.inc $@ $(MONAD_EXT)/coreclr/TargetingPack +CorePsTypeCatalog.cs: powershell.inc buildtemp/TypeCatalogGen.exe buildtemp/System.Reflection.Metadata.dll buildtemp/System.Collections.Immutable.dll + LD_LIBRARY_PATH=. mono buildtemp/TypeCatalogGen.exe $< $@ $(MONAD_EXT)/coreclr/TargetingPack # the pinvoke library libps.so @@ -221,7 +232,7 @@ clean: rm -rf exec_env rm -rf buildtemp/libps-build rm -rf dotnetlibs/* - rm -f xunittests.xml + rm -f xunittests.xml powershell.inc # clean built stuff + prepare step cleanall: clean diff --git a/scripts/powershell-linux.inc b/scripts/powershell-linux.inc deleted file mode 100644 index 49f140467..000000000 --- a/scripts/powershell-linux.inc +++ /dev/null @@ -1,136 +0,0 @@ -# -# This file includes OneCore powershell CoreCLR references. Do not import this file directly. It is automatically imported -# when MANAGED_PROFILE=PowerShell is specified in sources file. -# -# This file is also depended on by the tool 'TypeCatalogGen.exe'. The tool tries to parse this file to get the list of reference -# assemblies used by OneCore powershell, and then use that list to generate the CSharp code for initializing the CoreCLR type -# catalog cache. That CSharp code will be compiled into 'Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dll' during the build. -# For more information about 'TypeCatalogGen.exe', see its source code under 'PSAssemblyLoadContext\TypeCatalogGen'. -# -# The parsing rule of this file in 'TypeCatalogGen.exe' is very simple: -# - Read each line of this file and trim it; -# - Skip comment lines; -# - Match the line with the regular expression pattern '^\$\(PS_PROFILE_REF_PATH\)\\(.+);\s*\\$' -# So when adding new reference assembly entries, please make sure the new lines match the above pattern. -# -PROFILE_REF_PATH=$(SDK_REF_PATH)\Profiles -PS_PROFILE_REF_PATH=$(PROFILE_REF_PATH)\PowerShell - -PROFILE_REFERENCES=\ - $(PS_PROFILE_REF_PATH)\Microsoft.CSharp.dll;\ - $(PS_PROFILE_REF_PATH)\Microsoft.VisualBasic.dll;\ - $(PS_PROFILE_REF_PATH)\Microsoft.Win32.Primitives.dll;\ - $(PS_PROFILE_REF_PATH)\Microsoft.Win32.Registry.AccessControl.dll;\ - $(PS_PROFILE_REF_PATH)\Microsoft.Win32.Registry.dll;\ - $(PS_PROFILE_REF_PATH)\System.AppContext.dll;\ - $(PS_PROFILE_REF_PATH)\System.Collections.Concurrent.dll;\ - $(PS_PROFILE_REF_PATH)\System.Collections.dll;\ - $(PS_PROFILE_REF_PATH)\System.Collections.NonGeneric.dll;\ - $(PS_PROFILE_REF_PATH)\System.Collections.Specialized.dll;\ - $(PS_PROFILE_REF_PATH)\System.ComponentModel.Annotations.dll;\ - $(PS_PROFILE_REF_PATH)\System.ComponentModel.dll;\ - $(PS_PROFILE_REF_PATH)\System.ComponentModel.EventBasedAsync.dll;\ - $(PS_PROFILE_REF_PATH)\System.ComponentModel.Primitives.dll;\ - $(PS_PROFILE_REF_PATH)\System.ComponentModel.TypeConverter.dll;\ - $(PS_PROFILE_REF_PATH)\System.Console.dll;\ - $(PS_PROFILE_REF_PATH)\System.Data.Common.dll;\ - $(PS_PROFILE_REF_PATH)\System.Data.SqlClient.dll;\ - $(PS_PROFILE_REF_PATH)\System.Diagnostics.Contracts.dll;\ - $(PS_PROFILE_REF_PATH)\System.Diagnostics.Debug.dll;\ - $(PS_PROFILE_REF_PATH)\System.Diagnostics.FileVersionInfo.dll;\ - $(PS_PROFILE_REF_PATH)\System.Diagnostics.Process.dll;\ - $(PS_PROFILE_REF_PATH)\System.Diagnostics.TextWriterTraceListener.dll;\ - $(PS_PROFILE_REF_PATH)\System.Diagnostics.Tools.dll;\ - $(PS_PROFILE_REF_PATH)\System.Diagnostics.TraceSource.dll;\ - $(PS_PROFILE_REF_PATH)\System.Diagnostics.Tracing.dll;\ - $(PS_PROFILE_REF_PATH)\System.Dynamic.Runtime.dll;\ - $(PS_PROFILE_REF_PATH)\System.Globalization.Calendars.dll;\ - $(PS_PROFILE_REF_PATH)\System.Globalization.dll;\ - $(PS_PROFILE_REF_PATH)\System.Globalization.Extensions.dll;\ - $(PS_PROFILE_REF_PATH)\System.IO.Compression.dll;\ - $(PS_PROFILE_REF_PATH)\System.IO.Compression.ZipFile.dll;\ - $(PS_PROFILE_REF_PATH)\System.IO.dll;\ - $(PS_PROFILE_REF_PATH)\System.IO.FileSystem.AccessControl.dll;\ - $(PS_PROFILE_REF_PATH)\System.IO.FileSystem.dll;\ - $(PS_PROFILE_REF_PATH)\System.IO.FileSystem.DriveInfo.dll;\ - $(PS_PROFILE_REF_PATH)\System.IO.FileSystem.Primitives.dll;\ - $(PS_PROFILE_REF_PATH)\System.IO.FileSystem.Watcher.dll;\ - $(PS_PROFILE_REF_PATH)\System.IO.MemoryMappedFiles.dll;\ - $(PS_PROFILE_REF_PATH)\System.IO.Pipes.dll;\ - $(PS_PROFILE_REF_PATH)\System.IO.UnmanagedMemoryStream.dll;\ - $(PS_PROFILE_REF_PATH)\System.Linq.dll;\ - $(PS_PROFILE_REF_PATH)\System.Linq.Expressions.dll;\ - $(PS_PROFILE_REF_PATH)\System.Linq.Parallel.dll;\ - $(PS_PROFILE_REF_PATH)\System.Linq.Queryable.dll;\ - $(PS_PROFILE_REF_PATH)\System.Net.Http.dll;\ - $(PS_PROFILE_REF_PATH)\System.Net.Http.WinHttpHandler.dll;\ - $(PS_PROFILE_REF_PATH)\System.Net.NameResolution.dll;\ - $(PS_PROFILE_REF_PATH)\System.Net.NetworkInformation.dll;\ - $(PS_PROFILE_REF_PATH)\System.Net.Primitives.dll;\ - $(PS_PROFILE_REF_PATH)\System.Net.Security.dll;\ - $(PS_PROFILE_REF_PATH)\System.Net.Sockets.dll;\ - $(PS_PROFILE_REF_PATH)\System.Net.Utilities.dll;\ - $(PS_PROFILE_REF_PATH)\System.Net.WebHeaderCollection.dll;\ - $(PS_PROFILE_REF_PATH)\System.Net.WebSockets.Client.dll;\ - $(PS_PROFILE_REF_PATH)\System.Net.WebSockets.dll;\ - $(PS_PROFILE_REF_PATH)\System.ObjectModel.dll;\ - $(PS_PROFILE_REF_PATH)\System.Reflection.DispatchProxy.dll;\ - $(PS_PROFILE_REF_PATH)\System.Reflection.dll;\ - $(PS_PROFILE_REF_PATH)\System.Reflection.Emit.dll;\ - $(PS_PROFILE_REF_PATH)\System.Reflection.Emit.ILGeneration.dll;\ - $(PS_PROFILE_REF_PATH)\System.Reflection.Emit.Lightweight.dll;\ - $(PS_PROFILE_REF_PATH)\System.Reflection.Extensions.dll;\ - $(PS_PROFILE_REF_PATH)\System.Reflection.Primitives.dll;\ - $(PS_PROFILE_REF_PATH)\System.Reflection.TypeExtensions.dll;\ - $(PS_PROFILE_REF_PATH)\System.Resources.ReaderWriter.dll;\ - $(PS_PROFILE_REF_PATH)\System.Resources.ResourceManager.dll;\ - $(PS_PROFILE_REF_PATH)\System.Runtime.CompilerServices.VisualC.dll;\ - $(PS_PROFILE_REF_PATH)\System.Runtime.dll;\ - $(PS_PROFILE_REF_PATH)\System.Runtime.Extensions.dll;\ - $(PS_PROFILE_REF_PATH)\System.Runtime.Handles.dll;\ - $(PS_PROFILE_REF_PATH)\System.Runtime.InteropServices.dll;\ - $(PS_PROFILE_REF_PATH)\System.Runtime.InteropServices.WindowsRuntime.dll;\ - $(PS_PROFILE_REF_PATH)\System.Runtime.Loader.dll;\ - $(PS_PROFILE_REF_PATH)\System.Runtime.Numerics.dll;\ - $(PS_PROFILE_REF_PATH)\System.Runtime.Serialization.Json.dll;\ - $(PS_PROFILE_REF_PATH)\System.Runtime.Serialization.Primitives.dll;\ - $(PS_PROFILE_REF_PATH)\System.Runtime.Serialization.Xml.dll;\ - $(PS_PROFILE_REF_PATH)\System.Security.AccessControl.dll;\ - $(PS_PROFILE_REF_PATH)\System.Security.Claims.dll;\ - $(PS_PROFILE_REF_PATH)\System.Security.Cryptography.DeriveBytes.dll;\ - $(PS_PROFILE_REF_PATH)\System.Security.Cryptography.Encoding.dll;\ - $(PS_PROFILE_REF_PATH)\System.Security.Cryptography.Encryption.Aes.dll;\ - $(PS_PROFILE_REF_PATH)\System.Security.Cryptography.Encryption.dll;\ - $(PS_PROFILE_REF_PATH)\System.Security.Cryptography.Hashing.Algorithms.dll;\ - $(PS_PROFILE_REF_PATH)\System.Security.Cryptography.Hashing.dll;\ - $(PS_PROFILE_REF_PATH)\System.Security.Cryptography.RandomNumberGenerator.dll;\ - $(PS_PROFILE_REF_PATH)\System.Security.Cryptography.RSA.dll;\ - $(PS_PROFILE_REF_PATH)\System.Security.Cryptography.X509Certificates.dll;\ - $(PS_PROFILE_REF_PATH)\System.Security.Principal.dll;\ - $(PS_PROFILE_REF_PATH)\System.Security.Principal.Windows.dll;\ - $(PS_PROFILE_REF_PATH)\System.Security.SecureString.dll;\ - $(PS_PROFILE_REF_PATH)\System.ServiceModel.Duplex.dll;\ - $(PS_PROFILE_REF_PATH)\System.ServiceModel.Http.dll;\ - $(PS_PROFILE_REF_PATH)\System.ServiceModel.NetTcp.dll;\ - $(PS_PROFILE_REF_PATH)\System.ServiceModel.Primitives.dll;\ - $(PS_PROFILE_REF_PATH)\System.ServiceModel.Security.dll;\ - $(PS_PROFILE_REF_PATH)\System.ServiceProcess.ServiceController.dll;\ - $(PS_PROFILE_REF_PATH)\System.Text.Encoding.CodePages.dll;\ - $(PS_PROFILE_REF_PATH)\System.Text.Encoding.dll;\ - $(PS_PROFILE_REF_PATH)\System.Text.Encoding.Extensions.dll;\ - $(PS_PROFILE_REF_PATH)\System.Text.RegularExpressions.dll;\ - $(PS_PROFILE_REF_PATH)\System.Threading.AccessControl.dll;\ - $(PS_PROFILE_REF_PATH)\System.Threading.dll;\ - $(PS_PROFILE_REF_PATH)\System.Threading.Overlapped.dll;\ - $(PS_PROFILE_REF_PATH)\System.Threading.Tasks.dll;\ - $(PS_PROFILE_REF_PATH)\System.Threading.Tasks.Parallel.dll;\ - $(PS_PROFILE_REF_PATH)\System.Threading.Thread.dll;\ - $(PS_PROFILE_REF_PATH)\System.Threading.ThreadPool.dll;\ - $(PS_PROFILE_REF_PATH)\System.Threading.Timer.dll;\ - $(PS_PROFILE_REF_PATH)\System.Xml.ReaderWriter.dll;\ - $(PS_PROFILE_REF_PATH)\System.Xml.XDocument.dll;\ - $(PS_PROFILE_REF_PATH)\System.Xml.XmlDocument.dll;\ - $(PS_PROFILE_REF_PATH)\System.Xml.XmlSerializer.dll;\ - $(PS_PROFILE_REF_PATH)\System.Xml.XPath.dll;\ - $(PS_PROFILE_REF_PATH)\System.Xml.XPath.XDocument.dll;\ - $(PS_PROFILE_REF_PATH)\System.Xml.XPath.XmlDocument.dll;\ diff --git a/scripts/powershell.inc b/scripts/powershell.inc deleted file mode 100644 index 094806d3f..000000000 --- a/scripts/powershell.inc +++ /dev/null @@ -1,86 +0,0 @@ -# -# This file includes OneCore powershell CoreCLR references. Do not import this file directly. It is automatically imported -# when MANAGED_PROFILE=PowerShell is specified in sources file. -# -# This file is also depended on by the tool 'TypeCatalogGen.exe'. The tool tries to parse this file to get the list of reference -# assemblies used by OneCore powershell, and then use that list to generate the CSharp code for initializing the CoreCLR type -# catalog cache. That CSharp code will be compiled into 'Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dll' during the build. -# For more information about 'TypeCatalogGen.exe', see its source code under 'PSAssemblyLoadContext\TypeCatalogGen'. -# -# The parsing rule of this file in 'TypeCatalogGen.exe' is very simple: -# - Read each line of this file and trim it; -# - Skip comment lines; -# - Match the line with the regular expression pattern '^\$\(PS_PROFILE_REF_PATH\)\\(.+);\s*\\$' -# So when adding new reference assembly entries, please make sure the new lines match the above pattern. -# -PROFILE_REF_PATH=$(SDK_REF_PATH)\Profiles -PS_PROFILE_REF_PATH=$(PROFILE_REF_PATH)\PowerShell - -PROFILE_REFERENCES=\ - $(PS_PROFILE_REF_PATH)\Microsoft.CSharp.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\Microsoft.Win32.Registry.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\Microsoft.Win32.Primitives.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.collections.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Collections.NonGeneric.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.collections.concurrent.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Collections.Specialized.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.ComponentModel.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.ComponentModel.EventBasedAsync.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.ComponentModel.TypeConverter.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.dynamic.runtime.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.globalization.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.diagnostics.debug.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Diagnostics.FileVersionInfo.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.diagnostics.tools.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Diagnostics.TraceSource.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.diagnostics.contracts.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Diagnostics.Process.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.io.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.IO.Pipes.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.io.filesystem.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.IO.FileSystem.DriveInfo.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.io.filesystem.primitives.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.IO.FileSystem.Watcher.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.linq.expressions.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.linq.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.net.primitives.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.reflection.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.reflection.primitives.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.reflection.emit.lightweight.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Reflection.Emit.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.reflection.extensions.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Reflection.TypeExtensions.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.reflection.emit.ilgeneration.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.resources.resourcemanager.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.runtime.interopservices.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Runtime.Handles.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Runtime.Loader.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.runtime.numerics.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.runtime.serialization.primitives.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Runtime.Serialization.Xml.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.runtime.extensions.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Runtime.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.text.encoding.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Text.Encoding.Extensions.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.text.regularexpressions.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.threading.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.threading.tasks.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.threading.tasks.parallel.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.threading.timer.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.threading.thread.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.threading.threadpool.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.xml.readerwriter.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Xml.XmlDocument.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Xml.XmlSerializer.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Xml.XPath.XmlDocument.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Xml.XPath.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Security.Cryptography.Encoding.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Security.Cryptography.RandomNumberGenerator.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Security.Cryptography.X509Certificates.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Security.Cryptography.Encryption.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.security.securestring.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.security.principal.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.objectmodel.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\system.console.metadata_dll; \ - $(PS_PROFILE_REF_PATH)\System.Net.NetworkInformation.metadata_dll;\ - $(PS_PROFILE_REF_PATH)\mscorlib.metadata_dll;\ From d0e93b6b7ff9c0d3379c6ad2fb70b51e3570c54a Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Thu, 24 Sep 2015 13:07:59 -0700 Subject: [PATCH 23/30] Refactor build.sh - build.sh runs non-interactively - build-tty.sh runs interactively with a pseudo tty - both are shims to build-run.sh - monad-native no longer depends on a tty --- scripts/build-run.sh | 14 ++++++++++++++ scripts/build-tty.sh | 4 ++++ scripts/build.sh | 10 +++------- src/monad-native | 2 +- 4 files changed, 22 insertions(+), 8 deletions(-) create mode 100755 scripts/build-run.sh create mode 100755 scripts/build-tty.sh diff --git a/scripts/build-run.sh b/scripts/build-run.sh new file mode 100755 index 000000000..322d25bf2 --- /dev/null +++ b/scripts/build-run.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env sh + +# --rm: always run ephemerally +# --volume: path must be absolute, so resolve it +# --workdir: start location for Make +# $DOCKERFLAGS: additional flags +# magrathea: contains all dependencies +# bash: use $* over $@ so that multi-word parameters aren't split up +docker run --rm \ + --volume $(dirname $(pwd))/:/opt/monad-linux \ + --workdir /opt/monad-linux/scripts \ + $DOCKERFLAGS \ + andschwa/magrathea:latest \ + bash -c "$*" diff --git a/scripts/build-tty.sh b/scripts/build-tty.sh new file mode 100755 index 000000000..ad70fae86 --- /dev/null +++ b/scripts/build-tty.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env sh + +# Runs with a pseudo tty so that interactive shells can be opened +DOCKERFLAGS="--interactive --tty" ./build-run.sh "$*" diff --git a/scripts/build.sh b/scripts/build.sh index 72b1f2272..225e5953f 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,9 +1,5 @@ #!/usr/bin/env sh -# Docker requires the volume path to be absolute... so we resolve it ourselves. -docker run --rm --interactive --tty \ - --volume $(dirname $(pwd))/:/opt/monad \ - --workdir /opt/monad/scripts \ - andschwa/magrathea:latest \ - bash -c "/opt/fakelogin; $*" -# we use $* over $@ so that multi-word parameters aren't split up +echo "$*" +# Runs by non-interactively, just attaches output +DOCKERFLAGS="--attach STDOUT --attach STDERR" ./build-run.sh "$*" diff --git a/src/monad-native b/src/monad-native index 5693da6a4..1366e3bc8 160000 --- a/src/monad-native +++ b/src/monad-native @@ -1 +1 @@ -Subproject commit 5693da6a46e8c4d63a49a6dbc6be3081ce7d0d08 +Subproject commit 1366e3bc8fa2df702d2fc5c1dda65e54b51e36ea From 3ea6e96663f922208f638ce8566eb5370db05af4 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Thu, 24 Sep 2015 20:17:29 -0700 Subject: [PATCH 24/30] Run as local user inside Docker container --- scripts/build-run.sh | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/scripts/build-run.sh b/scripts/build-run.sh index 322d25bf2..9cbda2808 100755 --- a/scripts/build-run.sh +++ b/scripts/build-run.sh @@ -1,14 +1,25 @@ #!/usr/bin/env sh -# --rm: always run ephemerally -# --volume: path must be absolute, so resolve it -# --workdir: start location for Make -# $DOCKERFLAGS: additional flags -# magrathea: contains all dependencies -# bash: use $* over $@ so that multi-word parameters aren't split up +CUID=$(id -u) +CUSER=$(id -un) +CGID=$(id -g) +CGROUP=$(id -gn) +DIR=/opt/monad-linux +VOLUME=$(dirname $(pwd))/:$DIR + +# creates new user in container matching the local user so that +# artifacts will be owned by the local user (instead of root) +impersonate() +{ + echo \ + groupadd -g $CGID $CGROUP '&&' \ + useradd -u $CUID -g $CGID -d $DIR $CUSER '&&' \ + sudo -u $CUSER -g $CGROUP +} + docker run --rm \ - --volume $(dirname $(pwd))/:/opt/monad-linux \ - --workdir /opt/monad-linux/scripts \ + --volume $VOLUME \ + --workdir $DIR/scripts \ $DOCKERFLAGS \ andschwa/magrathea:latest \ - bash -c "$*" + bash -c "$(impersonate) $*" From be7932155ab2330ebdaf40b2fe65d1d549ba40b6 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 25 Sep 2015 10:20:38 -0700 Subject: [PATCH 25/30] Make impersonation switchable Useful when debugging issues with root vs non-root --- scripts/build-run.sh | 5 ++++- scripts/build-tty.sh | 3 ++- scripts/build.sh | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/scripts/build-run.sh b/scripts/build-run.sh index 9cbda2808..c1cb25a6f 100755 --- a/scripts/build-run.sh +++ b/scripts/build-run.sh @@ -8,9 +8,12 @@ DIR=/opt/monad-linux VOLUME=$(dirname $(pwd))/:$DIR # creates new user in container matching the local user so that -# artifacts will be owned by the local user (instead of root) +# artifacts will be owned by the local user; set IMPERSONATE to false +# to disable and run as root, defaults to true +if [[ ! $IMPERSONATE ]]; then IMPERSONATE=true; fi impersonate() { + if ! $IMPERSONATE; then return; fi echo \ groupadd -g $CGID $CGROUP '&&' \ useradd -u $CUID -g $CGID -d $DIR $CUSER '&&' \ diff --git a/scripts/build-tty.sh b/scripts/build-tty.sh index ad70fae86..d6dfcbea6 100755 --- a/scripts/build-tty.sh +++ b/scripts/build-tty.sh @@ -1,4 +1,5 @@ #!/usr/bin/env sh # Runs with a pseudo tty so that interactive shells can be opened -DOCKERFLAGS="--interactive --tty" ./build-run.sh "$*" +export DOCKERFLAGS="--interactive --tty" +./build-run.sh "$*" diff --git a/scripts/build.sh b/scripts/build.sh index 225e5953f..abf252cc2 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,5 +1,5 @@ #!/usr/bin/env sh -echo "$*" # Runs by non-interactively, just attaches output -DOCKERFLAGS="--attach STDOUT --attach STDERR" ./build-run.sh "$*" +export DOCKERFLAGS="--attach STDOUT --attach STDERR" +./build-run.sh "$*" From 86ebb7efb86a6a2820c3165eae02c1b835fb0fd1 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 25 Sep 2015 10:40:36 -0700 Subject: [PATCH 26/30] Ignore NuGet folders --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index df7c361ab..1bebec4e5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ .idea +.config/ +.nuget\\packages\\/ CMakeCache.txt CMakeFiles/ Makefile From c8c05b23fb58029defb046f801883e96c3ca94a4 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Thu, 1 Oct 2015 10:36:23 -0700 Subject: [PATCH 27/30] Run sudo with --set-home --- scripts/build-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-run.sh b/scripts/build-run.sh index c1cb25a6f..625dc12c3 100755 --- a/scripts/build-run.sh +++ b/scripts/build-run.sh @@ -17,7 +17,7 @@ impersonate() echo \ groupadd -g $CGID $CGROUP '&&' \ useradd -u $CUID -g $CGID -d $DIR $CUSER '&&' \ - sudo -u $CUSER -g $CGROUP + sudo --set-home -u $CUSER -g $CGROUP } docker run --rm \ From c40bae356a11567362eb9cb6fad33061e6aa3a94 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Thu, 1 Oct 2015 10:46:45 -0700 Subject: [PATCH 28/30] Repin monad to 2015-10-01 --- scripts/commands-utility.mk | 6 ++ .../COMMANDS_UTILITY/AddAssemblyStrings.cs | 72 ++++++++++++++++++ .../AddAssemblyStrings.resources | Bin 0 -> 354 bytes .../gen/SYS_AUTO/FileSystemProviderStrings.cs | 11 ++- .../FileSystemProviderStrings.resources | Bin 8114 -> 8220 bytes scripts/gen/SYS_AUTO/Modules.cs | 9 +++ scripts/gen/SYS_AUTO/Modules.resources | Bin 27776 -> 27933 bytes scripts/gen/SYS_AUTO/ParserStrings.cs | 27 +++++++ scripts/gen/SYS_AUTO/ParserStrings.resources | Bin 59377 -> 59963 bytes .../gen/SYS_AUTO/RemotingErrorIdStrings.cs | 18 ++--- .../SYS_AUTO/RemotingErrorIdStrings.resources | Bin 74521 -> 74340 bytes scripts/gen/SYS_AUTO/SessionStateStrings.cs | 9 --- .../SYS_AUTO/SessionStateStrings.resources | Bin 33250 -> 33140 bytes src/monad | 2 +- 14 files changed, 134 insertions(+), 20 deletions(-) create mode 100755 scripts/gen/COMMANDS_UTILITY/AddAssemblyStrings.cs create mode 100755 scripts/gen/COMMANDS_UTILITY/AddAssemblyStrings.resources diff --git a/scripts/commands-utility.mk b/scripts/commands-utility.mk index 9b0ffc20f..1ddd09eeb 100644 --- a/scripts/commands-utility.mk +++ b/scripts/commands-utility.mk @@ -54,6 +54,7 @@ COMMANDS_UTILITY_SRCS_WIN=\ ../../../jws/pswin/admin/monad/src/commands/utility/WriteProgressCmdlet.cs \ ../../../jws/pswin/admin/monad/src/commands/utility/Update-Data.cs \ ../../../jws/pswin/admin/monad/src/commands/utility/Update-TypeData.cs \ + ../../../jws/pswin/admin/monad/src/commands/utility/AddAssembly.cs \ ../../../jws/pswin/admin/monad/src/commands/utility/FormatAndOutput/common/GetFormatDataCommand.cs \ ../../../jws/pswin/admin/monad/src/commands/utility/FormatAndOutput/common/WriteFormatDataCommand.cs \ ../../../jws/pswin/admin/monad/src/commands/utility/FormatAndOutput/format-list/Format-List.cs \ @@ -126,6 +127,7 @@ COMMANDS_UTILITY_SRCS=\ $(ADMIN_GIT_ROOT)/monad/src/commands/utility/WriteProgressCmdlet.cs \ $(ADMIN_GIT_ROOT)/monad/src/commands/utility/Update-Data.cs \ $(ADMIN_GIT_ROOT)/monad/src/commands/utility/Update-TypeData.cs \ + $(ADMIN_GIT_ROOT)/monad/src/commands/utility/AddAssembly.cs \ $(ADMIN_GIT_ROOT)/monad/src/commands/utility/FormatAndOutput/common/GetFormatDataCommand.cs \ $(ADMIN_GIT_ROOT)/monad/src/commands/utility/FormatAndOutput/common/WriteFormatDataCommand.cs \ $(ADMIN_GIT_ROOT)/monad/src/commands/utility/FormatAndOutput/format-list/Format-List.cs \ @@ -171,6 +173,7 @@ COMMANDS_UTILITY_RESX_SRCS=\ ../../../jws/pswin/admin/monad/src/commands/utility/resources/UpdateDataStrings.resx \ ../../../jws/pswin/admin/monad/src/commands/utility/resources/ImportLocalizedDataStrings.resx \ ../../../jws/pswin/admin/monad/src/commands/utility/resources/WriteProgressResourceStrings.resx \ + ../../../jws/pswin/admin/monad/src/commands/utility/resources/AddAssemblyStrings.resx \ ../../../jws/pswin/admin/monad/src/commands/utility/resources/AliasCommandStrings.resx \ @@ -195,6 +198,7 @@ COMMANDS_UTILITY_RES_SRCS=\ gen/COMMANDS_UTILITY/UpdateDataStrings.resources \ gen/COMMANDS_UTILITY/ImportLocalizedDataStrings.resources \ gen/COMMANDS_UTILITY/WriteProgressResourceStrings.resources \ + gen/COMMANDS_UTILITY/AddAssemblyStrings.resources \ gen/COMMANDS_UTILITY/AliasCommandStrings.resources \ @@ -219,6 +223,7 @@ COMMANDS_UTILITY_RES_CS_SRCS=\ gen/COMMANDS_UTILITY/UpdateDataStrings.cs \ gen/COMMANDS_UTILITY/ImportLocalizedDataStrings.cs \ gen/COMMANDS_UTILITY/WriteProgressResourceStrings.cs \ + gen/COMMANDS_UTILITY/AddAssemblyStrings.cs \ gen/COMMANDS_UTILITY/AliasCommandStrings.cs \ @@ -243,6 +248,7 @@ COMMANDS_UTILITY_RES_REF=\ -resource:gen/COMMANDS_UTILITY/UpdateDataStrings.resources \ -resource:gen/COMMANDS_UTILITY/ImportLocalizedDataStrings.resources \ -resource:gen/COMMANDS_UTILITY/WriteProgressResourceStrings.resources \ + -resource:gen/COMMANDS_UTILITY/AddAssemblyStrings.resources \ -resource:gen/COMMANDS_UTILITY/AliasCommandStrings.resources \ diff --git a/scripts/gen/COMMANDS_UTILITY/AddAssemblyStrings.cs b/scripts/gen/COMMANDS_UTILITY/AddAssemblyStrings.cs new file mode 100755 index 000000000..22b8cb136 --- /dev/null +++ b/scripts/gen/COMMANDS_UTILITY/AddAssemblyStrings.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.34209 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + + + +/// +/// A strongly-typed resource class, for looking up localized strings, etc. +/// +// This class was auto-generated by the StronglyTypedResourceBuilder +// class via a tool like ResGen or Visual Studio. +// To add or remove a member, edit your .ResX file then rerun ResGen +// with the /str option, or rebuild your VS project. +[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] +[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] +[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] +internal class AddAssemblyStrings { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal AddAssemblyStrings() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AddAssemblyStrings", typeof(AddAssemblyStrings).GetTypeInfo().Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Cannot load the assembly because path '{0}' referred to a '{1}' provider path. Change the path to a file system path.. + /// + internal static string SupportFileSystemOnly { + get { + return ResourceManager.GetString("SupportFileSystemOnly", resourceCulture); + } + } +} diff --git a/scripts/gen/COMMANDS_UTILITY/AddAssemblyStrings.resources b/scripts/gen/COMMANDS_UTILITY/AddAssemblyStrings.resources new file mode 100755 index 0000000000000000000000000000000000000000..7716dbae28dd37612f808d93d404b15ee46b6a41 GIT binary patch literal 354 zcmZWlJ5Iwu5S>tPj*%!LA#fX0GyxbfrG#SC^!Ty z1y{)02pZ-i%{;v~Gn$Y0@3#pNJ;zjK?>yRc180J*;r^-(#1=N;*44%;StWc6>!i{7 zJk17AxCqJzi(DgkD^$YkP$^kop}#Tr(0R37ibcIRovlvh$j(+r|Ca^rWsBeKCHz4= zYB+AN_4&mRuZN#6L;Dr;xTHW`bVHUrU6Le4pptrWu?MwuO*&%zprA=8gx1EhGGfcV z0So8QR;uR;wFnN}3E%MaF?*V_#SYdY5)F%p%_7!W^C06RMqbKABlI1{NuzLN?xX^{ I@sU5YJs<>b^Z)<= literal 0 HcmV?d00001 diff --git a/scripts/gen/SYS_AUTO/FileSystemProviderStrings.cs b/scripts/gen/SYS_AUTO/FileSystemProviderStrings.cs index 4572fb948..0fc7314b6 100644 --- a/scripts/gen/SYS_AUTO/FileSystemProviderStrings.cs +++ b/scripts/gen/SYS_AUTO/FileSystemProviderStrings.cs @@ -196,6 +196,15 @@ internal class FileSystemProviderStrings { } } + /// + /// Looks up a localized string similar to Destination folder '{0}' does not exist.. + /// + internal static string CopyItemDirectoryNotFound { + get { + return ResourceManager.GetString("CopyItemDirectoryNotFound", resourceCulture); + } + } + /// /// Looks up a localized string similar to Destination path {0} is a file that already exists on the target destination.. /// @@ -206,7 +215,7 @@ internal class FileSystemProviderStrings { } /// - /// Looks up a localized string similar to Cannot copy a directory '{0}' to file {0}'. + /// Looks up a localized string similar to Cannot copy a directory '{0}' to file '{0}'. /// internal static string CopyItemRemotelyDestinationIsFile { get { diff --git a/scripts/gen/SYS_AUTO/FileSystemProviderStrings.resources b/scripts/gen/SYS_AUTO/FileSystemProviderStrings.resources index 4c9458ea8a0d9fdb6f4e496ffa6a4d47ae10e535..0a31ab34a2267db524280548f2f8e8858d242885 100644 GIT binary patch delta 1050 zcmY*XZAepL6h80V-FENY?yj{&Y|d$GmaZjgGcrtbNs5MK^}~d+oG_|QwrPpkN+>8o zvO`o*kP$_J5E;}Wq5=sj`Xu^ML?6)CkD#J5i0GMw*@g4o=RD_}=e)e_qr!oLCC6zV*%5b8dn zc_r!s=rM+VCd5BbG0{B~9!4OJ!XHR9!cRfC1_im`J^{an$f?nvhDU~lrL`2LF6yOv zN>GTlP>{kD1KJ2b3e-z0@J~=3&TfiO2RYHIit}X$zm$rkI(SR}dKNA=d8I>Oe3Q&E zvo75PvtkP4;7cZ#^b>5`f2?BmiBcZ2c=&`_=S`?=!;`IsVwYSgO1M>ai$?B~%f(SX4}6**%3kq|$7R1^hKc7W zc_PBg6|cC;QN<~~@P5T7=5tE%h!DTP`Ia-(YVnnWsz?0hFwQa_RCB}tpH-cvTNs|d z>7ack_gkl#UcvLgo27gPTG)ig>|tFk6Tf(!wZxDu^N@A6DB?z&i=S9^Q89sxHeIU6 z{7SjmmcwPXY|#qdFS@u7=K!Cx6^T3i#8!ZNjRPlmmgW&pdAU|2&$wPVsDT88m)HZMl6&kvtqJS8crq=0OQ{u9Ip^yI{J=O( z^l+~3mj=NFz-4i#?sg5s%WlD*q<1H+UNf;lVW>xFj8Ex)@tPm&skls|+#?4$qy delta 956 zcmZWnTS!!45T02*yJyeYJ-f;(V(V>Ntu|TBWTh0%%)%svv?MX`f<{;>Rz^fg8VKEG z2rHzE4-s}jlQJ}&2FT5Thm!g|w0)Lj~ zS72otQHen`fW9#z@`IOV%JUU`8^)qj;DODbDrQuRuR*KctuYjB>OOLzgL9B9K5G*K$m z6z-4{Y6(Ar#wO(hSc@lHXZ4uAh0AVhHY;-3n#f5qV$I|x`GWYUIJFcWkSxt_np0$t zmcRwl1*lu@X>J~u=UOU<%MZ=V>m^S2Dx>&JIg+Hiq*7nW&!kiL@*BAYugZiT%N6oj zcbj|hA^qDV&#_D%+ak>mk$OYva(*f`wj6#XS8eI01yv?($)=zxXY6s}vOC!(r|t1k zTj>xrQ5_wmz0`~-9{({z&f8<9)gHrX;P|;vM&K)C*6!o$;xas#GRyFBk<=Pqz9U^m zhG|BVQKNv9C1?crngkrF?m=9w=Fba|DQ8lk&jM44@+c3CYQ;U th}^idxQWp_Fi0b;nGVC3(-CSx^R#`aFCrmK=3S-ilkBLJq1vbs?H83g*AM^z diff --git a/scripts/gen/SYS_AUTO/Modules.cs b/scripts/gen/SYS_AUTO/Modules.cs index 1698dd5e6..89a618ff2 100644 --- a/scripts/gen/SYS_AUTO/Modules.cs +++ b/scripts/gen/SYS_AUTO/Modules.cs @@ -764,6 +764,15 @@ internal class Modules { } } + /// + /// Looks up a localized string similar to The module to process '{0}', listed in field '{1}' of module manifest '{2}' was not processed. {3}. + /// + internal static string ManifestMemberNotValid { + get { + return ResourceManager.GetString("ManifestMemberNotValid", resourceCulture); + } + } + /// /// Looks up a localized string similar to The specified MaximumVersion '{0}' was incorrect. If you are using '*', MaximumVersion only supports one '*' and should always be placed at the end of MaximumVersion.. /// diff --git a/scripts/gen/SYS_AUTO/Modules.resources b/scripts/gen/SYS_AUTO/Modules.resources index e21385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ScR(uxZn`iI6N5 zknDmCeRXP52CfwL<4PN|nVfRQTk2E39M4w!cd=d~~+xrF~eTUPFr+Hi?+Wrp;H%Zy)U z$lh>~njoKtL;6&8vhxdJpV%WIWy$nNM6Hn(kvUn<&E)@yR_=8*Wq+C}Cn8~0CErDS z#;sYR3M;wOX@wDEPmOdGt~Jio$oawrs$P82WyYJevMCx?TJ}XNROOMY(Ua~Yx9k0p F{{RExPfq{< diff --git a/scripts/gen/SYS_AUTO/ParserStrings.cs b/scripts/gen/SYS_AUTO/ParserStrings.cs index 82d51f4f3..4873d9a3b 100644 --- a/scripts/gen/SYS_AUTO/ParserStrings.cs +++ b/scripts/gen/SYS_AUTO/ParserStrings.cs @@ -342,6 +342,15 @@ internal class ParserStrings { } } + /// + /// Looks up a localized string similar to Cannot create type. Only core types are supported in this language mode.. + /// + internal static string CannotCreateTypeConstrainedLanguage { + get { + return ResourceManager.GetString("CannotCreateTypeConstrainedLanguage", resourceCulture); + } + } + /// /// Looks up a localized string similar to Cannot find an appropriate constructor to instantiate the custom attribute object for type '{0}'.. /// @@ -676,6 +685,15 @@ internal class ParserStrings { } } + /// + /// Looks up a localized string similar to PartialConfiguration '{0}' has a Refresh Mode set to Disabled which is not a valid mode for Partial Configurations. Use Pull or Push refresh mode. . + /// + internal static string DisabledRefreshModeNotValidForPartialConfig { + get { + return ResourceManager.GetString("DisabledRefreshModeNotValidForPartialConfig", resourceCulture); + } + } + /// /// Looks up a localized string similar to Cannot find an overload for "{0}" and the argument count: "{1}". /// @@ -1289,6 +1307,15 @@ internal class ParserStrings { } } + /// + /// Looks up a localized string similar to The PartialConfiguration '{0}' is set to pull mode which requires a ConfigurationSource property.. + /// + internal static string GetPullModeNeedConfigurationSource { + get { + return ResourceManager.GetString("GetPullModeNeedConfigurationSource", resourceCulture); + } + } + /// /// Looks up a localized string similar to There is no Runspace available to get and run the SteppablePipeline in this thread. You can provide one in the DefaultRunspace property of the System.Management.Automation.Runspaces.Runspace type. The script block you attempted to get SteppablePipeline from was: {0}. /// diff --git a/scripts/gen/SYS_AUTO/ParserStrings.resources b/scripts/gen/SYS_AUTO/ParserStrings.resources index c84df64b14dca32ac4f4150492aa7ec0f218ee90..116a84359b04deca1bab8c553a1eb49168d936c2 100644 GIT binary patch delta 6008 zcmZ`+d3==Bxqjz`k75WI!(@_7CdoJ1lgVTAd%XrwD(d( zi@aEuqJrYqdRdC1g`(wlu`ZQjwUi>oTH0C^k*c+}74I_xR{O_=U-IQV=RNQ8yw5q` z`7Rw_a^$ro+jeXA9eD6-nx(}n<_?I;2}}MO@%+IGzH#Z&(M{XO%;T1oVBHPLMau!|$Q2>~9)ngPt0h7cX-B>DqvhE@~VT8Nfotqy+Q zuOK?9Bf1r9+)Ig01KZ^!YA+|MhA&&O;Wa`e6;2EdWzb0(-TGs2+@N zTShbkX0~+@tzHCW8?exU3I-8m#7Z=dWbQ^a=bMO{(Tcrj!KZmd?;)YnpiP4cZzv|Z z97NP+hhxm8MiY&?F$RN1Bvgm09c$6XI#At3^f7$9(cUbq)4|@BPxKAMUi@h#QA{q; zuR-NWIGhateW-d9nAigr=D@~CEP{Zp@OmOo7Ak}uegY=$2mTi$SV3h=(Y9pFodNa? zlDMmk=tBhm2$f$z&>{zZpr2(Zv>*5zOW@0i{u}iW3aF@b5&dfo=!_srNFq9gzu!jn z$#}kAL)3#rS13f^!F(<%xgF~oKzjrj_#PbJg1?a;ZA(S+&_oT``XQ>m7=||DX(}LSly@)Tcn{X5e`c;QlD0$5M#aBgn(3 z>d%PYiy+_E5&aQ<641hL!EXVWJBGhw-4HJ3OW|uV1wGz@jAtO0w?X0S$g&;1+#5qQ zhPD_$<3rHK5zzNBZ0_$R+5-B26hQO?2s99DhLPll;m{D0>JA0v2)2O4hM@G*_*n)_ z5b$QScq^zsm4O`vU!QsVUy6nIq0i5vnt0H)6Hb2)Wj>im^uO0(kAvDJSg;8?*b_u_ z?Fvu{#=_c(zK(vTt|oc`N#%ltV-BJ%EH>Kr%bMN=G%H1QU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eOAOYW5HcIaCf|YGtL)9mb;^dWT{3IdsP`^7@MP*f1{dE03NU z;rp(MExe!2{NL{sFSF#!(`NZ}1RwO-G=3BT{X{GM_{!Ng z{zF8fw7p;SNEK?op&^pF2*J0}z-^1(h>#=HmejR=oYtfo%w2tTM9n-je+^HY< zhERMk9;3+{^us_o^tECO^05ex^e!YLz_RG Qf5`fiZGngUZ%uCaZ@wFR - /// Looks up a localized string similar to Role Capabilities to apply to this session configuration. This role capability must be defined as a PowerShell Role Capability (.psrc) file named after that role capability within a 'RoleCapabilities' directory in a module in the current module path.. - /// - internal static string DISCRoleCapabilitiesToLoadComment { - get { - return ResourceManager.GetString("DISCRoleCapabilitiesToLoadComment", resourceCulture); - } - } - /// /// Looks up a localized string similar to User roles (security groups), and the role capabilities that should be applied to them when applied to a session. /// @@ -1028,6 +1019,15 @@ internal class RemotingErrorIdStrings { } } + /// + /// Looks up a localized string similar to Groups associated with machine's (virtual) administrator account. + /// + internal static string DISCRunAsVirtualAccountGroupsComment { + get { + return ResourceManager.GetString("DISCRunAsVirtualAccountGroupsComment", resourceCulture); + } + } + /// /// Looks up a localized string similar to Version number of the schema used for this document. /// diff --git a/scripts/gen/SYS_AUTO/RemotingErrorIdStrings.resources b/scripts/gen/SYS_AUTO/RemotingErrorIdStrings.resources index de3571e7fd1a35b9fe78897e9e9cf534beaebb57..bff6014c345bcdb9592b8052e7b6fb9372e5c270 100644 GIT binary patch delta 5439 zcmY*c3s{upwqF029}*&hA_5}90K)*oFfcH~WpKD(L?0|BnusF0l1nsy9+AI=$Y}}D!f2u=n~5GOCAwTev zs0e`ez)oo;sxlFM=8t^_qQBJ=4HpuGD!vGyid zT7pb3;reh4QA{P#`D}nI0Z7<4i)i}K;RQsC5ND2!=tobYHV`XS$4$&8&@v8tF z=!1=*{ueE%tVcj+B46B(%p_XpLi7o;DTFTxjQxacJOrevBI>CF<&eQ2K`*5f&Bk+= z@JtD$JcGTzuOV6mkiA&@E7BS3vB289OgH$v+e=$~#R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2~65jvsHdh>CUmMPr)KuIGp* zi`2^Jn{+(Uq!KF z=+RcY4(c|p3<#3mWuI2Hh}_D?)?!h;l~=d+%2C^tHOE_Z?BC{xP1V>|CwmMzNdu+OlHl9X5C5ipaZp zWk-xyem6hdp~o@)PDi{j>|)POtJtZ$EYsrXG>>=I$v1Z?AZK=l?d*yan|HIW%OZmI zaBEjAZV|h>3Pj3YzSLz7>DY_=T{RN94f|7{vPV%F_Nx&pcNJwHy~gp~kmhJl#p0@V{u&PJJgFOM#Io{S&CP&<>Y&}Z<|Mmok83%Z7 zuUQT}04>G(2zfJbOPXY0_ zPInF*_Tc6LZ&7?74-S~+F&Hyp4CA*3)bdMcrK4qF^`N(OgJTBMr40UdFp}>c^cRyy z_{3lqsQY#>Q_j3!*&-CL#X}mo>(|yswEEFf-1zavAwPb1XtsO;JxQ(}x8V?3_rO2q zW({lPPPF1&w$;OG@$duu-Qawl8rI4|58`*B%aAq__M0R8+28aVMCC)S2^&YW!t*Gf z7|D_CN0kfJlOz7@H5w;}~$XboO+PbUKGMBmEl3z(CJRd~oIN z1>*)yO-JXjW=I*>`j3GtHNB(5BbpYcrp?*j+2?H2IEFP2O-285=TLQrv!_S%&yH7W zA`Jt>L# - /// Looks up a localized string similar to The remote path '{0}' is not valid.. - /// - internal static string CopyItemRemotelyPathIsNotValid { - get { - return ResourceManager.GetString("CopyItemRemotelyPathIsNotValid", resourceCulture); - } - } - /// /// Looks up a localized string similar to '{0}' parameter cannot be null or empty.. /// diff --git a/scripts/gen/SYS_AUTO/SessionStateStrings.resources b/scripts/gen/SYS_AUTO/SessionStateStrings.resources index 3ae06c1d4e104ff84d651b8fd0cca58ed5f8e69b..eb1db39f59c2a77bee57f6fe23c9857f4eef6bac 100644 GIT binary patch delta 2163 zcmX|C3vg8B6+Y+UO<+k#_L)GE&1SRNz5C2&_hxsyS(fc)O#l-bz=Dkd%1biRLaZQS zCs{PLqc$pVbSxGyX=#fDk(dtl#aJn&Z7M>8I>k{Z(1#iop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o~25yuC&WO4Rhq*>toh~_>Wq}Tn z96!&MCv!^Bo})Pd2=_%!1_nXn^74C9>?-4SdD<0F-|}H7WP{5n38^#XBbP?WD3oEB zSw>SeaSJf7{V3fJO|o)5d_n4R{fgNy&*oODoqoc>dBJXwYq?448LXW5SE+8Tsw*Ng z$-{0F=-0Xf>bqF`r`NL2tplPH?iyurP)@q@MsS-0+!k%JokU@`yMRs_qG~;uLmNr1twNhqo1flu)Vg9o`mEQ@OuI88X zL9uu}@%obgg!Q6FYh}u_n9JpWH_UIzxYwr`=1FEj2XB;(1?Bv?oG!5AY)uq6an0y_ zrF=pfeIfNuDXu|D^xNc!&&7-6s;@~SxEj5U|2SE(Ik)2FnrP(OW$_%9Oc zujgV}>JR7beF%3{BkrX(>Y#7@-yJmpcg?@u{Wzl6eJOIu@8Ph_D01k!kI{LA{IyH0l^uPOO|t!U8b|lBFzY znAHFX{Q$m4+`*9gOvUv5G`%4j)bc6W7W64 Date: Thu, 1 Oct 2015 13:04:58 -0700 Subject: [PATCH 29/30] Repin monad-ext with System.Console patch --- src/monad-ext | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monad-ext b/src/monad-ext index ea31eca62..8b2027617 160000 --- a/src/monad-ext +++ b/src/monad-ext @@ -1 +1 @@ -Subproject commit ea31eca6223992fa9729af67518930b6b45829d3 +Subproject commit 8b2027617092bc93c4f2977b218145e9b93ec3f3 From e9a1b5aaf0f8fb2cb81643c2b53f4988831ed6f0 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Thu, 1 Oct 2015 13:05:33 -0700 Subject: [PATCH 30/30] Repin monad-native with updated gitignore --- src/monad-native | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monad-native b/src/monad-native index 1366e3bc8..d1de7e28c 160000 --- a/src/monad-native +++ b/src/monad-native @@ -1 +1 @@ -Subproject commit 1366e3bc8fa2df702d2fc5c1dda65e54b51e36ea +Subproject commit d1de7e28c52a87a0804b76445a07b1d122417436