From a290c278b68501080dbe7d933a2c6e53cce74de3 Mon Sep 17 00:00:00 2001 From: Aaron Date: Tue, 8 Sep 2015 14:33:52 -0700 Subject: [PATCH 01/22] Pesters tests for Select-String --- src/pester-tests/Test-Select-String.Tests.ps1 | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/pester-tests/Test-Select-String.Tests.ps1 diff --git a/src/pester-tests/Test-Select-String.Tests.ps1 b/src/pester-tests/Test-Select-String.Tests.ps1 new file mode 100644 index 0000000000..0eed891a6c --- /dev/null +++ b/src/pester-tests/Test-Select-String.Tests.ps1 @@ -0,0 +1,145 @@ +Describe ".\Test-Select-String" { + Context "String actions" { + $testInputOne = "Hello","HELLO", "Goodbye" + $testInputTwo = "Hello","HELLO" + + It "Should be called with out error" { + { $testInputOne | Select-String -Pattern "HELLO" } | Should Not Throw + } + + It "Should be called without error using the sls alias" { + { $testInputOne | sls -Pattern "HELLO" } | Should Not Throw + } + + It "Should return an array data type when multiple matches are found" { + ( $testInputTwo | Select-String -Pattern "HELLO").GetType().BaseType | Should Be Array + } + + It "Should return an array of matches when multiple matches are found" { + $testInputOne | Select-String -Pattern "HELLO" | Should Be "HELLO", "Hello" + } + + It "Should return an object type when one match is found" { + # look into the aliases for the switches. ca for case-sensitive, n for notmatch, etc + ( $testInputTwo | Select-String -Pattern "HELLO" -CaseSensitive).GetType().BaseType | Should Be System.Object + } + + It "Should only return the case sensitive match when the casesensitive switch is used" { + $testInputTwo | Select-String -Pattern "HELLO" -CaseSensitive | Should Be "HELLO" + } + + It "Should accept a collection of strings from the input object"{ + { Select-String -InputObject "Some stuff", "Other stuff" -Pattern "Other" } | Should Not Throw + } + + It "Should return System.Object when the input object switch is used on a collection"{ + ( Select-String -InputObject "Some stuff", "Other stuff" -Pattern "Other" ).GetType().BaseType | Should Be System.Object + } + + It "Should return null or empty when the input object switch is used on a collection and the pattern does not exist"{ + Select-String -InputObject "Some stuff", "Other stuff" -Pattern "Neither" | Should BeNullOrEmpty + } + + It "Should return a bool type when the quiet switch is used"{ + ($testInputTwo | Select-String -Quiet "HELLO" -CaseSensitive).GetType() | Should Be bool + } + + It "Should be true when select string returns a positive result when the quiet switch is used"{ + ($testInputTwo | Select-String -Quiet "HELLO" -CaseSensitive) | Should Be TRUE + } + + It "Should be empty when select string does not return a result when the quiet switch is used"{ + $testInputTwo | Select-String -Quiet "Goodbye" | Should BeNullOrEmpty + } + + It "Should return an array of non matching strings when the switch of NotMatch is used and the string do not match"{ + $testInputOne | Select-String -Pattern "Goodbye" -NotMatch | Should Be "HELLO", "Hello" + } + } + + Context "Filesytem actions" { + $testInputFile = "/tmp/testfile1.txt" + BeforeEach { + New-Item $testInputFile -Itemtype "file" -Force -Value "This is a text string, and another string`nThis is the second line`nThis is the third line`nThis is the fourth line`nNo matches" + } + + It "Should return an object when a match is found is the file on only one line"{ + (Select-String $testInputFile -Pattern "string").GetType().BaseType | Should be System.Object + } + + It "Should return the name of the file and the string that 'string' is found if there is only one lines that has a match" { + $expected = $testInputFile + ":1:This is a text string, and another string" + + Select-String $testInputFile -Pattern "string" | Should Be $expected + } + + It "Should return all strings where 'second' is found in testfile1 if there is only one lines that has a match" { + $expected = $testInputFile + ":2:This is the second line" + + Select-String $testInputFile -Pattern "second"| Should Be $expected + } + + #this should probably go up near the one that returns 'object' when only a single match is found + It "Should return an array when a match is found is the file on several lines"{ + (Select-String $testInputFile -Pattern "in").GetType().BaseType | Should be array + } + + It "Should return all strings where 'in' is found in testfile1 pattern switch is not required" { + $expected1 = $testInputFile + ":1:This is a text string, and another string" + $expected2 = $testInputFile + ":2:This is the second line" + $expected3 = $testInputFile + ":3:This is the third line" + $expected4 = $testInputFile + ":4:This is the fourth line" + + (Select-String in $testInputFile)[0] | Should Be $expected1 + (Select-String in $testInputFile)[1] | Should Be $expected2 + (Select-String in $testInputFile)[2] | Should Be $expected3 + (Select-String in $testInputFile)[3] | Should Be $expected4 + (Select-String in $testInputFile)[4] | Should BeNullOrEmpty + } + + It "Should return empty because 'for' is not found in testfile1 " { + Select-String for $testInputFile | Should BeNullOrEmpty + } + + It "Should return the third line in testfile1 and the lines above and below it " { + $expectedLine = "testfile1.txt:2:This is the second line" + $expectedLineBefore = "testfile1.txt:3:This is the third line" + $expectedLineAfter = "/tmp/testfile1.txt:4:This is the fourth line" + + Select-String third $testInputFile -Context 1 | Should Match $expectedLine + Select-String third $testInputFile -Context 1 | Should Match $expectedLineBefore + Select-String third $testInputFile -Context 1 | Should Match $expectedLineAfter + } + + It "Should return the number of matches for 'is' in textfile1 " { + (Select-String is $testInputFile -CaseSensitive).count| Should Be 4 + } + + It "Should return the third line in testfile1 when a relative path is used"{ + $expected = "/tmp/testfile1.txt:3:This is the third line" + + Select-String third /tmp/../tmp/testfile1.txt | Should Match $expected + } + + It "Should return the fourth line in testfile1 when a relative path is used"{ + $testDirectory = "/tmp/" + $expected = "/tmp/testfile1.txt:5:No matches" + + pushd $testDirectory + + Select-String matches $testDirectory/testfile1.txt | Should Match $expected + } + + It "Should return the fourth line in testfile1 when a regular expression is used"{ + $expected = "/tmp/testfile1.txt:5:No matches" + + Select-String 'matc*' $testInputFile -CaseSensitive | Should Match $expected + } + + It "Should return the fourth line in testfile1 when a regular expression is used, using the alias for casesensitive"{ + $expected = "/tmp/testfile1.txt:5:No matches" + + Select-String 'matc*' $testInputFile -ca | Should Match $expected + } + } +} \ No newline at end of file From 807b47a8ce3b3891d06954d863d7374177f4086e Mon Sep 17 00:00:00 2001 From: Aaron Date: Tue, 8 Sep 2015 15:59:19 -0700 Subject: [PATCH 02/22] Added popd --- src/pester-tests/Test-Select-String.Tests.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pester-tests/Test-Select-String.Tests.ps1 b/src/pester-tests/Test-Select-String.Tests.ps1 index 0eed891a6c..027da83846 100644 --- a/src/pester-tests/Test-Select-String.Tests.ps1 +++ b/src/pester-tests/Test-Select-String.Tests.ps1 @@ -128,6 +128,7 @@ pushd $testDirectory Select-String matches $testDirectory/testfile1.txt | Should Match $expected + popd } It "Should return the fourth line in testfile1 when a regular expression is used"{ From 7790be06014af8e15343abd9a07d3eb49d255c37 Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 11 Sep 2015 11:43:50 -0700 Subject: [PATCH 03/22] made changes based off of feedback --- src/pester-tests/Test-Select-String.Tests.ps1 | 98 +++++++++++-------- 1 file changed, 59 insertions(+), 39 deletions(-) diff --git a/src/pester-tests/Test-Select-String.Tests.ps1 b/src/pester-tests/Test-Select-String.Tests.ps1 index 027da83846..fc95f64028 100644 --- a/src/pester-tests/Test-Select-String.Tests.ps1 +++ b/src/pester-tests/Test-Select-String.Tests.ps1 @@ -1,9 +1,9 @@ -Describe ".\Test-Select-String" { +Describe "Test-Select-String" { Context "String actions" { - $testInputOne = "Hello","HELLO", "Goodbye" + $testInputOne = "Hello","HELLO","Goodbye" $testInputTwo = "Hello","HELLO" - It "Should be called with out error" { + It "Should be called with out errors" { { $testInputOne | Select-String -Pattern "HELLO" } | Should Not Throw } @@ -12,49 +12,70 @@ } It "Should return an array data type when multiple matches are found" { + # Array is case insensitive ( $testInputTwo | Select-String -Pattern "HELLO").GetType().BaseType | Should Be Array } - + It "Should return an array of matches when multiple matches are found" { - $testInputOne | Select-String -Pattern "HELLO" | Should Be "HELLO", "Hello" + $a = $testInputOne | Select-String -Pattern "HELLO" + $b = $testInputOne | sls -Pattern "HELLO" + + $a | Should Be $b } It "Should return an object type when one match is found" { - # look into the aliases for the switches. ca for case-sensitive, n for notmatch, etc ( $testInputTwo | Select-String -Pattern "HELLO" -CaseSensitive).GetType().BaseType | Should Be System.Object } + It "Should return MatchInfo type" { + ( $testInputTwo | Select-String -Pattern "HELLO" -CaseSensitive).GetType().Name | Should Be MatchInfo + } + + It "Should use the ca alias for casesenstive" { + $a = $testInputTwo | Select-String -Pattern "HELLO" -CaseSensitive + $b = $testInputTwo | Select-String -Pattern "HELLO" -ca + + $a | Should Be $b + } + It "Should only return the case sensitive match when the casesensitive switch is used" { $testInputTwo | Select-String -Pattern "HELLO" -CaseSensitive | Should Be "HELLO" } - It "Should accept a collection of strings from the input object"{ + It "Should accept a collection of strings from the input object" { { Select-String -InputObject "Some stuff", "Other stuff" -Pattern "Other" } | Should Not Throw } - It "Should return System.Object when the input object switch is used on a collection"{ + It "Should return System.Object when the input object switch is used on a collection" { ( Select-String -InputObject "Some stuff", "Other stuff" -Pattern "Other" ).GetType().BaseType | Should Be System.Object } - It "Should return null or empty when the input object switch is used on a collection and the pattern does not exist"{ - Select-String -InputObject "Some stuff", "Other stuff" -Pattern "Neither" | Should BeNullOrEmpty + It "Should return null or empty when the input object switch is used on a collection and the pattern does not exist" { + Select-String -InputObject "Some stuff", "Other stuff" -Pattern "Neither" | Should BeNullOrEmpty } - It "Should return a bool type when the quiet switch is used"{ + It "Should return a bool type when the quiet switch is used" { ($testInputTwo | Select-String -Quiet "HELLO" -CaseSensitive).GetType() | Should Be bool } - It "Should be true when select string returns a positive result when the quiet switch is used"{ - ($testInputTwo | Select-String -Quiet "HELLO" -CaseSensitive) | Should Be TRUE + It "Should be true when select string returns a positive result when the quiet switch is used" { + ($testInputTwo | Select-String -Quiet "HELLO" -CaseSensitive) | Should Be $true } - It "Should be empty when select string does not return a result when the quiet switch is used"{ - $testInputTwo | Select-String -Quiet "Goodbye" | Should BeNullOrEmpty + It "Should be empty when select string does not return a result when the quiet switch is used" { + $testInputTwo | Select-String -Quiet "Goodbye" | Should BeNullOrEmpty } - It "Should return an array of non matching strings when the switch of NotMatch is used and the string do not match"{ + It "Should return an array of non matching strings when the switch of NotMatch is used and the string do not match" { $testInputOne | Select-String -Pattern "Goodbye" -NotMatch | Should Be "HELLO", "Hello" } + + It "Should return the same as NotMatch" { + $a = $testInputOne | Select-String -Pattern "Goodbye" -NotMatch + $b = $testInputOne | Select-String -Pattern "Goodbye" -n + + $a | Should Be $b + } } Context "Filesytem actions" { @@ -62,11 +83,15 @@ BeforeEach { New-Item $testInputFile -Itemtype "file" -Force -Value "This is a text string, and another string`nThis is the second line`nThis is the third line`nThis is the fourth line`nNo matches" } - - It "Should return an object when a match is found is the file on only one line"{ + + It "Should return an object when a match is found is the file on only one line" { (Select-String $testInputFile -Pattern "string").GetType().BaseType | Should be System.Object } - + + It "Should return an array when a match is found is the file on several lines" { + (Select-String $testInputFile -Pattern "in").GetType().BaseType | Should be array + } + It "Should return the name of the file and the string that 'string' is found if there is only one lines that has a match" { $expected = $testInputFile + ":1:This is a text string, and another string" @@ -79,22 +104,17 @@ Select-String $testInputFile -Pattern "second"| Should Be $expected } - #this should probably go up near the one that returns 'object' when only a single match is found - It "Should return an array when a match is found is the file on several lines"{ - (Select-String $testInputFile -Pattern "in").GetType().BaseType | Should be array - } - It "Should return all strings where 'in' is found in testfile1 pattern switch is not required" { - $expected1 = $testInputFile + ":1:This is a text string, and another string" - $expected2 = $testInputFile + ":2:This is the second line" - $expected3 = $testInputFile + ":3:This is the third line" - $expected4 = $testInputFile + ":4:This is the fourth line" + $expected1 = "This is a text string, and another string" + $expected2 = "This is the second line" + $expected3 = "This is the third line" + $expected4 = "This is the fourth line" - (Select-String in $testInputFile)[0] | Should Be $expected1 - (Select-String in $testInputFile)[1] | Should Be $expected2 - (Select-String in $testInputFile)[2] | Should Be $expected3 - (Select-String in $testInputFile)[3] | Should Be $expected4 - (Select-String in $testInputFile)[4] | Should BeNullOrEmpty + (Select-String in $testInputFile)[0].Line | Should Be $expected1 + (Select-String in $testInputFile)[1].Line | Should Be $expected2 + (Select-String in $testInputFile)[2].Line | Should Be $expected3 + (Select-String in $testInputFile)[3].Line | Should Be $expected4 + (Select-String in $testInputFile)[4].Line | Should BeNullOrEmpty } It "Should return empty because 'for' is not found in testfile1 " { @@ -115,32 +135,32 @@ (Select-String is $testInputFile -CaseSensitive).count| Should Be 4 } - It "Should return the third line in testfile1 when a relative path is used"{ + It "Should return the third line in testfile1 when a relative path is used" { $expected = "/tmp/testfile1.txt:3:This is the third line" Select-String third /tmp/../tmp/testfile1.txt | Should Match $expected } - It "Should return the fourth line in testfile1 when a relative path is used"{ + It "Should return the fourth line in testfile1 when a relative path is used" { $testDirectory = "/tmp/" $expected = "/tmp/testfile1.txt:5:No matches" pushd $testDirectory Select-String matches $testDirectory/testfile1.txt | Should Match $expected - popd + popd } - It "Should return the fourth line in testfile1 when a regular expression is used"{ + It "Should return the fourth line in testfile1 when a regular expression is used" { $expected = "/tmp/testfile1.txt:5:No matches" Select-String 'matc*' $testInputFile -CaseSensitive | Should Match $expected } - It "Should return the fourth line in testfile1 when a regular expression is used, using the alias for casesensitive"{ + It "Should return the fourth line in testfile1 when a regular expression is used, using the alias for casesensitive" { $expected = "/tmp/testfile1.txt:5:No matches" Select-String 'matc*' $testInputFile -ca | Should Match $expected } } -} \ No newline at end of file +} From 4db3cf379712426125b6594a226376a72edc2d19 Mon Sep 17 00:00:00 2001 From: Aaron Date: Tue, 15 Sep 2015 11:20:51 -0700 Subject: [PATCH 04/22] Added pester tests for Get-Random --- src/pester-tests/Test-Get-Random.Tests.ps1 | 82 ++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 src/pester-tests/Test-Get-Random.Tests.ps1 diff --git a/src/pester-tests/Test-Get-Random.Tests.ps1 b/src/pester-tests/Test-Get-Random.Tests.ps1 new file mode 100644 index 0000000000..004e2dcbf8 --- /dev/null +++ b/src/pester-tests/Test-Get-Random.Tests.ps1 @@ -0,0 +1,82 @@ +Describe "Test-Get-Random" { + It "Should return a random number greater than -1 " { + Get-Random | Should BeGreaterThan -1 + } + It "Should return a random number less than 100 " { + Get-Random -Maximum 100 | Should BeLessThan 100 + Get-Random -Maximum 100 | Should BeGreaterThan 0 + } + + It "Should return a random number less than 100 and greater than -100 " { + $randomNumber = Get-Random -Minimum -100 -Maximum 100 + $randomNumber | Should BeLessThan 100 + $randomNumber | Should BeGreaterThan -100 + } + + It "Should return a random number less than 20.93 and greater than 10.7 " { + $randomNumber = Get-Random -Minimum 10.7 -Maximum 20.93 + $randomNumber | Should BeLessThan 20.93 + $randomNumber | Should BeGreaterThan 10.7 + } + + It "Should return same number for both Get-Random when switch SetSeed is used " { + $firstRandomNumber = Get-Random -Maximum 100 -SetSeed 23 + $secondRandomNumber = Get-Random -Maximum 100 -SetSeed 23 + $firstRandomNumber | Should be $secondRandomNumber + } + + It "Should return a number from 1,2,3,5,8,13 " { + $randomNumber = Get-Random -InputObject 1, 2, 3, 5, 8, 13 + $randomNumber | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13) + } + + It "Should return an array " { + $randomNumber = Get-Random -InputObject 1, 2, 3, 5, 8, 13 -Count 3 + $randomNumber.GetType().BaseType | Should Be array + } + + It "Should return three random numbers for array of 1,2,3,5,8,13 " { + $randomNumber = Get-Random -InputObject 1, 2, 3, 5, 8, 13 -Count 3 + $randomNumber[0] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13) + $randomNumber[1] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13) + $randomNumber[2] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13) + $randomNumber[3] | Should BeNullOrEmpty + } + + It "Should return all the numbers for array of 1,2,3,5,8,13 in no particular order" { + $randomNumber = Get-Random -InputObject 1, 2, 3, 5, 8, 13 -Count ([int]::MaxValue) + $randomNumber[0] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13) + $randomNumber[1] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13) + $randomNumber[2] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13) + $randomNumber[3] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13) + $randomNumber[4] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13) + $randomNumber[5] | Should Be (1 -or 2 -or 3 -or 5 -or 8 -or 13) + $randomNumber[6] | Should BeNullOrEmpty + } + + It "Should return for a string collection " { + $randomNumber = Get-Random -InputObject "red", "yellow", "blue" + $randomNumber | Should Be ("red" -or "yellow" -or "blue") + } + + It "Should return a number for hexdecimal " { + $randomNumber = Get-Random 0x07FFFFFFFFF + $randomNumber | Should BeLessThan 549755813887 + $randomNumber | Should BeGreaterThan 0 + } + + It "Should return false, check two random numbers are not equal when not using the SetSeed switch " { + $firstRandomNumber = Get-Random + $secondRandomNumber = Get-Random + $firstRandomNumber | Should Not Be $secondRandomNumber + } + + It "Should return the same number for hexidemical number and regular number when the switch SetSeed it used " { + $firstRandomNumber = Get-Random 0x07FFFFFFFF -SetSeed 20 + $secondRandomNumber = Get-Random 34359738367 -SetSeed 20 + $firstRandomNumber | Should Be @secondRandomNumber + } + It "Should throw an error because the hexidecial number is to large " { + { Get-Random 0x07FFFFFFFFFFFFFFFF } | Should Throw "Value was either too large or too small for a UInt32" + } +} From ab8878fa52df373ede2474f508965ffe2d6afce9 Mon Sep 17 00:00:00 2001 From: Aaron Date: Tue, 15 Sep 2015 15:13:29 -0700 Subject: [PATCH 05/22] Changed to Select-String Pester tests based off of feeddback from pull request --- src/pester-tests/Test-Select-String.Tests.ps1 | 246 +++++++++--------- 1 file changed, 127 insertions(+), 119 deletions(-) diff --git a/src/pester-tests/Test-Select-String.Tests.ps1 b/src/pester-tests/Test-Select-String.Tests.ps1 index fc95f64028..74a700e539 100644 --- a/src/pester-tests/Test-Select-String.Tests.ps1 +++ b/src/pester-tests/Test-Select-String.Tests.ps1 @@ -1,166 +1,174 @@ Describe "Test-Select-String" { Context "String actions" { - $testInputOne = "Hello","HELLO","Goodbye" - $testInputTwo = "Hello","HELLO" + $testinputone = "hello","Hello","goodbye" + $testinputtwo = "hello","Hello" - It "Should be called with out errors" { - { $testInputOne | Select-String -Pattern "HELLO" } | Should Not Throw + it "Should be called with out errors" { + { $testinputone | Select-String -Pattern "hello" } | Should Not Throw } - It "Should be called without error using the sls alias" { - { $testInputOne | sls -Pattern "HELLO" } | Should Not Throw + it "Should be called without error using the sls alias" { + { $testinputone | sls -Pattern "hello" } | Should Not Throw } - It "Should return an array data type when multiple matches are found" { - # Array is case insensitive - ( $testInputTwo | Select-String -Pattern "HELLO").GetType().BaseType | Should Be Array + it "Should return an array data type when multiple matches are found" { + # array is case insensitive + ( $testinputtwo | Select-String -Pattern "hello").gettype().basetype | Should Be Array } - It "Should return an array of matches when multiple matches are found" { - $a = $testInputOne | Select-String -Pattern "HELLO" - $b = $testInputOne | sls -Pattern "HELLO" + it "Should return the same result for the alias sls and Select-String " { + $firstMatch = $testinputone | Select-String -Pattern "hello" + $secondMatch = $testinputone | sls -Pattern "hello" - $a | Should Be $b + $equal = @(compare-object $firstMatch $secondMatch).Length -eq 0 + $equal | Should Be True } - It "Should return an object type when one match is found" { - ( $testInputTwo | Select-String -Pattern "HELLO" -CaseSensitive).GetType().BaseType | Should Be System.Object + it "Should return an object type when one match is found" { + ( $testinputtwo | Select-String -Pattern "hello" -CaseSensitive).gettype().basetype | Should Be System.Object } - It "Should return MatchInfo type" { - ( $testInputTwo | Select-String -Pattern "HELLO" -CaseSensitive).GetType().Name | Should Be MatchInfo + it "Should return matchinfo type" { + ( $testinputtwo | Select-String -Pattern "hello" -CaseSensitive).gettype().name | Should Be MatchInfo } - It "Should use the ca alias for casesenstive" { - $a = $testInputTwo | Select-String -Pattern "HELLO" -CaseSensitive - $b = $testInputTwo | Select-String -Pattern "HELLO" -ca - - $a | Should Be $b + it "Should be called without an error using ca for casesensitive " { + {$testinputone | Select-String -Pattern "hello" -ca } | Should Not Throw } - It "Should only return the case sensitive match when the casesensitive switch is used" { - $testInputTwo | Select-String -Pattern "HELLO" -CaseSensitive | Should Be "HELLO" + it "Should use the ca alias for casesenstive" { + $firstMatch = $testinputtwo | Select-String -Pattern "hello" -CaseSensitive + $secondMatch = $testinputtwo | Select-String -Pattern "hello" -ca + + $equal = @(Compare-Object $firstMatch $secondMatch).Length -eq 0 + $equal | Should Be True } - It "Should accept a collection of strings from the input object" { - { Select-String -InputObject "Some stuff", "Other stuff" -Pattern "Other" } | Should Not Throw + it "Should only return the case sensitive match when the casesensitive switch is used" { + $testinputtwo | Select-String -Pattern "hello" -CaseSensitive | Should Be "hello" } - It "Should return System.Object when the input object switch is used on a collection" { - ( Select-String -InputObject "Some stuff", "Other stuff" -Pattern "Other" ).GetType().BaseType | Should Be System.Object + it "Should accept a collection of strings from the input object" { + { Select-String -InputObject "some stuff", "other stuff" -Pattern "other" } | Should Not Throw } - It "Should return null or empty when the input object switch is used on a collection and the pattern does not exist" { - Select-String -InputObject "Some stuff", "Other stuff" -Pattern "Neither" | Should BeNullOrEmpty + it "Should return system.object when the input object switch is used on a collection" { + ( Select-String -InputObject "some stuff", "other stuff" -pattern "other" ).gettype().basetype | Should Be System.Object } - It "Should return a bool type when the quiet switch is used" { - ($testInputTwo | Select-String -Quiet "HELLO" -CaseSensitive).GetType() | Should Be bool + it "Should return null or empty when the input object switch is used on a collection and the pattern does not exist" { + Select-String -InputObject "some stuff", "other stuff" -Pattern "neither" | Should BeNullOrEmpty } - It "Should be true when select string returns a positive result when the quiet switch is used" { - ($testInputTwo | Select-String -Quiet "HELLO" -CaseSensitive) | Should Be $true + it "Should return a bool type when the quiet switch is used" { + ($testinputtwo | Select-String -Quiet "hello" -CaseSensitive).gettype() | Should Be Bool } - It "Should be empty when select string does not return a result when the quiet switch is used" { - $testInputTwo | Select-String -Quiet "Goodbye" | Should BeNullOrEmpty + it "Should be true when select string returns a positive result when the quiet switch is used" { + ($testinputtwo | Select-String -Quiet "hello" -CaseSensitive) | Should Be $True } - It "Should return an array of non matching strings when the switch of NotMatch is used and the string do not match" { - $testInputOne | Select-String -Pattern "Goodbye" -NotMatch | Should Be "HELLO", "Hello" + it "Should be empty when select string does not return a result when the quiet switch is used" { + $testinputtwo | Select-String -Quiet "goodbye" | Should BeNullOrEmpty } - It "Should return the same as NotMatch" { - $a = $testInputOne | Select-String -Pattern "Goodbye" -NotMatch - $b = $testInputOne | Select-String -Pattern "Goodbye" -n + it "Should return an array of non matching strings when the switch of NotMatch is used and the string do not match" { + $testinputone | Select-String -Pattern "goodbye" -NotMatch | Should Be "hello", "hello" + } - $a | Should Be $b + it "Should return the same as NotMatch" { + $firstMatch = $testinputone | Select-String -pattern "goodbye" -NotMatch + $secondMatch = $testinputone | Select-String -pattern "goodbye" -n + + $equal = @(Compare-Object $firstMatch $secondMatch).Length -eq 0 + $equal | Should Be True } } - - Context "Filesytem actions" { - $testInputFile = "/tmp/testfile1.txt" - BeforeEach { - New-Item $testInputFile -Itemtype "file" -Force -Value "This is a text string, and another string`nThis is the second line`nThis is the third line`nThis is the fourth line`nNo matches" - } - It "Should return an object when a match is found is the file on only one line" { - (Select-String $testInputFile -Pattern "string").GetType().BaseType | Should be System.Object - } + Context "Filesytem actions" { + $testInputFile = "/tmp/testfile1.txt" + BeforeEach { + New-Item $testInputFile -Itemtype "file" -Force -Value "This is a text string, and another string`nThis is the second line`nThis is the third line`nThis is the fourth line`nNo matches" + } - It "Should return an array when a match is found is the file on several lines" { - (Select-String $testInputFile -Pattern "in").GetType().BaseType | Should be array - } + It "Should return an object when a match is found is the file on only one line" { + (Select-String $testInputFile -Pattern "string").GetType().BaseType | Should be System.Object + } + + It "Should return an array when a match is found is the file on several lines" { + (Select-String $testInputFile -Pattern "in").GetType().BaseType | Should be array + (Select-String $testInputFile -Pattern "in")[0].GetType().Name | Should Be MatchInfo + } It "Should return the name of the file and the string that 'string' is found if there is only one lines that has a match" { $expected = $testInputFile + ":1:This is a text string, and another string" Select-String $testInputFile -Pattern "string" | Should Be $expected - } - - It "Should return all strings where 'second' is found in testfile1 if there is only one lines that has a match" { - $expected = $testInputFile + ":2:This is the second line" - - Select-String $testInputFile -Pattern "second"| Should Be $expected - } - - It "Should return all strings where 'in' is found in testfile1 pattern switch is not required" { - $expected1 = "This is a text string, and another string" - $expected2 = "This is the second line" - $expected3 = "This is the third line" - $expected4 = "This is the fourth line" - - (Select-String in $testInputFile)[0].Line | Should Be $expected1 - (Select-String in $testInputFile)[1].Line | Should Be $expected2 - (Select-String in $testInputFile)[2].Line | Should Be $expected3 - (Select-String in $testInputFile)[3].Line | Should Be $expected4 - (Select-String in $testInputFile)[4].Line | Should BeNullOrEmpty - } + } - It "Should return empty because 'for' is not found in testfile1 " { - Select-String for $testInputFile | Should BeNullOrEmpty - } - - It "Should return the third line in testfile1 and the lines above and below it " { - $expectedLine = "testfile1.txt:2:This is the second line" - $expectedLineBefore = "testfile1.txt:3:This is the third line" - $expectedLineAfter = "/tmp/testfile1.txt:4:This is the fourth line" - - Select-String third $testInputFile -Context 1 | Should Match $expectedLine - Select-String third $testInputFile -Context 1 | Should Match $expectedLineBefore - Select-String third $testInputFile -Context 1 | Should Match $expectedLineAfter - } - - It "Should return the number of matches for 'is' in textfile1 " { - (Select-String is $testInputFile -CaseSensitive).count| Should Be 4 - } - - It "Should return the third line in testfile1 when a relative path is used" { - $expected = "/tmp/testfile1.txt:3:This is the third line" - - Select-String third /tmp/../tmp/testfile1.txt | Should Match $expected - } - - It "Should return the fourth line in testfile1 when a relative path is used" { - $testDirectory = "/tmp/" - $expected = "/tmp/testfile1.txt:5:No matches" - - pushd $testDirectory - - Select-String matches $testDirectory/testfile1.txt | Should Match $expected + It "Should return all strings where 'second' is found in testfile1 if there is only one lines that has a match" { + $expected = $testInputFile + ":2:This is the second line" + + Select-String $testInputFile -Pattern "second"| Should Be $expected + } + + It "Should return all strings where 'in' is found in testfile1 pattern switch is not required" { + $expected1 = "This is a text string, and another string" + $expected2 = "This is the second line" + $expected3 = "This is the third line" + $expected4 = "This is the fourth line" + + (Select-String in $testInputFile)[0].Line | Should Be $expected1 + (Select-String in $testInputFile)[1].Line | Should Be $expected2 + (Select-String in $testInputFile)[2].Line | Should Be $expected3 + (Select-String in $testInputFile)[3].Line | Should Be $expected4 + (Select-String in $testInputFile)[4].Line | Should BeNullOrEmpty + } + + It "Should return empty because 'for' is not found in testfile1 " { + Select-String for $testInputFile | Should BeNullOrEmpty + } + + It "Should return the third line in testfile1 and the lines above and below it " { + $expectedLine = "testfile1.txt:2:This is the second line" + $expectedLineBefore = "testfile1.txt:3:This is the third line" + $expectedLineAfter = "/tmp/testfile1.txt:4:This is the fourth line" + + Select-String third $testInputFile -Context 1 | Should Match $expectedLine + Select-String third $testInputFile -Context 1 | Should Match $expectedLineBefore + Select-String third $testInputFile -Context 1 | Should Match $expectedLineAfter + } + + It "Should return the number of matches for 'is' in textfile1 " { + (Select-String is $testInputFile -CaseSensitive).count| Should Be 4 + } + + It "Should return the third line in testfile1 when a relative path is used" { + $expected = "/tmp/testfile1.txt:3:This is the third line" + + Select-String third /tmp/../tmp/testfile1.txt | Should Match $expected + } + + It "Should return the fourth line in testfile1 when a relative path is used" { + $testDirectory = "/tmp/" + $expected = "/tmp/testfile1.txt:5:No matches" + + pushd $testDirectory + + Select-String matches $testDirectory/testfile1.txt | Should Match $expected popd - } - - It "Should return the fourth line in testfile1 when a regular expression is used" { - $expected = "/tmp/testfile1.txt:5:No matches" - - Select-String 'matc*' $testInputFile -CaseSensitive | Should Match $expected - } - - It "Should return the fourth line in testfile1 when a regular expression is used, using the alias for casesensitive" { - $expected = "/tmp/testfile1.txt:5:No matches" - - Select-String 'matc*' $testInputFile -ca | Should Match $expected - } - } + } + + It "Should return the fourth line in testfile1 when a regular expression is used" { + $expected = "/tmp/testfile1.txt:5:No matches" + + Select-String 'matc*' $testInputFile -CaseSensitive | Should Match $expected + } + + It "Should return the fourth line in testfile1 when a regular expression is used, using the alias for casesensitive" { + $expected = "/tmp/testfile1.txt:5:No matches" + + Select-String 'matc*' $testInputFile -ca | Should Match $expected + } + } } From 8145ea26a452e0737b8c8ec75690bdce54411661 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 18 Sep 2015 12:39:05 -0700 Subject: [PATCH 06/22] 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 fdf48cefc1..9733085782 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 e7c5fc571d..0000000000 --- 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 4f9963828a..0000000000 --- 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 07/22] 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 58fa991f1a..0000000000 --- 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 feb607ef52..0000000000 --- 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 f144cf1fb3..0000000000 --- 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 d991f98757..0000000000 --- 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 e69de29bb2..0000000000 diff --git a/src/linux/stubs/rpcndr.h b/src/linux/stubs/rpcndr.h deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/linux/stubs/stubs_coreclr.h b/src/linux/stubs/stubs_coreclr.h deleted file mode 100644 index cc021c9b06..0000000000 --- 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 52aaea986e..0000000000 --- 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 54e8bab533..0000000000 --- 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 08/22] 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 9b496e4603..0000000000 --- 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 c172d743ec..0000000000 --- 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 877d21f980..0000000000 --- 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 2032152ff4..0000000000 --- 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 cd1eb08cc2..0000000000 --- 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 fc41b5e479..0000000000 --- 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 6501f4ee99..0000000000 --- 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 0dc0d1d49c..0000000000 --- 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 aa78e2c747..0000000000 --- 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 26ea76bc40..0000000000 --- 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 629913fbd2..0000000000 --- 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 634558babf..0000000000 --- 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 119efc94fd..0000000000 --- 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 bc38d80157..0000000000 --- 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 cc8fdd2f50..0000000000 --- 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 60a8432960..0000000000 --- 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 ea1ab58bde..0000000000 --- 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 eb8dc8dd21..0000000000 --- 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 44aa101a1c..0000000000 --- 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 ed1fd902b4..0000000000 --- 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 81063d7fc5..0000000000 --- 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 09/22] Delete xunittests.xml on make clean --- scripts/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Makefile b/scripts/Makefile index 9733085782..eecdc6586d 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 10/22] Refactor NuGet install step --- scripts/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/Makefile b/scripts/Makefile index eecdc6586d..9984d930e1 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 11/22] Fix rm --- scripts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile b/scripts/Makefile index 9984d930e1..b235f379eb 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 a3f0fd09ab0538cd15bfe573c122cfc7335011f5 Mon Sep 17 00:00:00 2001 From: Zachary Folwick Date: Mon, 21 Sep 2015 10:12:38 -0700 Subject: [PATCH 12/22] implemented changes from code review --- src/pester-tests/Test-Select-String.Tests.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pester-tests/Test-Select-String.Tests.ps1 b/src/pester-tests/Test-Select-String.Tests.ps1 index 74a700e539..54a21ac722 100644 --- a/src/pester-tests/Test-Select-String.Tests.ps1 +++ b/src/pester-tests/Test-Select-String.Tests.ps1 @@ -3,7 +3,7 @@ $testinputone = "hello","Hello","goodbye" $testinputtwo = "hello","Hello" - it "Should be called with out errors" { + it "Should be called without errors" { { $testinputone | Select-String -Pattern "hello" } | Should Not Throw } @@ -12,7 +12,6 @@ } it "Should return an array data type when multiple matches are found" { - # array is case insensitive ( $testinputtwo | Select-String -Pattern "hello").gettype().basetype | Should Be Array } From 88aefa5f40a599b7bc66042687b936abe4b2d03e Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Mon, 21 Sep 2015 11:20:30 -0700 Subject: [PATCH 13/22] 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 b235f379eb..30125c6bb3 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 14/22] 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 7d710e83ea..df7c361ab3 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 30125c6bb3..5a07abe9d9 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 49f140467f..0000000000 --- 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 094806d3fa..0000000000 --- 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 15/22] 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 0000000000..322d25bf20 --- /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 0000000000..ad70fae863 --- /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 72b1f22724..225e5953f4 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 5693da6a46..1366e3bc8f 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 16/22] 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 322d25bf20..9cbda2808a 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 17/22] 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 9cbda2808a..c1cb25a6ff 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 ad70fae863..d6dfcbea6d 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 225e5953f4..abf252cc22 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 18/22] Ignore NuGet folders --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index df7c361ab3..1bebec4e5c 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 19/22] 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 c1cb25a6ff..625dc12c3a 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 20/22] 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 9b0ffc20fb..1ddd09eebd 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 0000000000..22b8cb1369 --- /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 4572fb948d..0fc7314b6d 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 1698dd5e6c..89a618ff2c 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 e21385a99b806a11f0d248d5495eafb4f97867b3..496f83d23096c10c8e80c79dbfd777486f493658 100644 GIT binary patch delta 1630 zcmYjQYitx%6h1TMLSOW;bi3Qx+1c4;cJ|TjQec5?fh{eM)~2*5rHKeFg`%{jsl2MF zr3DiCfg*4u#8#jszA=~v5&{vDMKq=oUq2cl4b~78d_>TQA=T)&n_}F}x%Zy$-t(RB zoO`GDnsn^CbZ}5QdFZ5P(t{Iy`-ZMOE%%6gqFV}4icI9rCfZ~ndJJ=uhp632q`8Ui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SYS_AUTO/ParserStrings.cs index 82d51f4f34..4873d9a3b0 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_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XDqQXu^6q3sQjV+WiW~H9;0OK&F zLOfPpsGn5eNO_y?t;CWFm#(TpU4_-y!KXt$8Y@z;x58hauENoZO5+@r%czV&T4k7F z;j1KTRvN1e(8g+Ptt{4c)%3Cy?^Gt~o_~J^RVC@0)hMhgjhtV@=Roc3JvGh0lQJyL z%&_m?Dy_j?RjE2&gI74bUxV+el8vNVAO0Vz5^!h50v)PFceO=tsm0c6v$3DHDy*mu z!V}e5##@xqXQf3oA$s07B@~{Tc^X)U%9>OolTWUE)YOEadcq%f*Z3Rd)D+@}nkc+o z6RRuh@LkP>9<0Mytyk0P@nEe>m)GM=ZT6xo>d9N}?3H*4?7e|F9uqKUQ1;cMqpntu z*Wn$nD|jVtv1X8gI)qq|yQSzf8nwqSC3pI+9A z6U&`Crwxmm+O)3?gH6$TRU7`J$*FtWaIC4+c$bg6G~_qOAhmgsTHE1lF4r~f*w$RD z54Ph(bGUxqj?bD0^?W;8T2dExb@29X;Hg{ZYf31nx9P1Nc(SEKU+h3w>$HB+f$LkH zYVE`etv%Y(iR89Q-PeirZP|LJ6A!f2s$UnrX|w837n0j;#?yS{rob;Y0BhTW^y4mE z)t;yqb>r9VE=}vk=j|4~t{VXzJc-?C>~LsH4}Q{N(<^&$xT8%^_F!?RN7H*z-x+UQ z!^dzs_I0M~gT1)FvszE};;YUMOI zd-HX274GP**2V#x>GkTp14v(ysxpYK74h+|LALj%*?u+7zXMW4{(SAdm<`zXH7$Dv zanA~yzA%V4S2*?TAeOAOYW5HcIaCf|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=$~#RdIgy@r=UoSiFQK1K`=Dc zMl_D@C|HVO#WMl`gWPcjmm_N@q6~ka#wJHLGH!uX*prLH zzeUllN+vpygM!8SyP*4UAW`O;&0YDelFF>mKNW=&Gc7;O!aRhY& zvRQW%z3mB_mLV8uJ=%(X#{qTFdl3S7AkaxI(LF@ur2sJKZVpB_;P*uYo&}4o2)rL_ zU*LBb`yK?Vt0Ais07oL3QpkJQMzq@n1&I9}1jRm{5Z74%=>na@pz&o?v^VGv z4n!xU5xobHlWmv}&6svb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#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>~FLz}hc3c4v0)|DXSy z?|kPw|G9gyU-{Pq%FZD^J@Uh2JldrUaQ=#u=%R~gPX*CgFVThRL~1$FNh8q@LPX{; z(Zfu12+ww$?J^NPSVnXZwujwBBlSd0cB1n(q7@#ZXH+5^{65CHvzDk3=l8+ZP)*b^ zjVN0}G%rXr0DFN#c{&K^hYE?7DMVifnZ;Po0Fhw>5`e@V2pjF0G!79D1fejz)@6sjfkEG$RrZ(K&2gs`w*2afV~Y$`9c1pE%GK#JmPVUKH{q3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h}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 21/22] 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 ea31eca622..8b20276170 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 22/22] 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 1366e3bc8f..d1de7e28c5 160000 --- a/src/monad-native +++ b/src/monad-native @@ -1 +1 @@ -Subproject commit 1366e3bc8fa2df702d2fc5c1dda65e54b51e36ea +Subproject commit d1de7e28c52a87a0804b76445a07b1d122417436