diff --git a/core/console-apps/FibonacciBetterMsBuild/Fibonacci.csproj b/core/console-apps/FibonacciBetterMsBuild/Fibonacci.csproj index 8fb23a8dd31..c52b93a21fb 100644 --- a/core/console-apps/FibonacciBetterMsBuild/Fibonacci.csproj +++ b/core/console-apps/FibonacciBetterMsBuild/Fibonacci.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 \ No newline at end of file diff --git a/core/console-apps/HelloMsBuild/Hello.csproj b/core/console-apps/HelloMsBuild/Hello.csproj index 8fb23a8dd31..c52b93a21fb 100644 --- a/core/console-apps/HelloMsBuild/Hello.csproj +++ b/core/console-apps/HelloMsBuild/Hello.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 \ No newline at end of file diff --git a/core/console-apps/NewTypesMsBuild/src/NewTypes/NewTypes.csproj b/core/console-apps/NewTypesMsBuild/src/NewTypes/NewTypes.csproj index 265f318a942..4e71fa212fb 100644 --- a/core/console-apps/NewTypesMsBuild/src/NewTypes/NewTypes.csproj +++ b/core/console-apps/NewTypesMsBuild/src/NewTypes/NewTypes.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/core/console-apps/NewTypesMsBuild/test/NewTypesTests/NewTypesTests.csproj b/core/console-apps/NewTypesMsBuild/test/NewTypesTests/NewTypesTests.csproj index 521e3eb1ed8..c2e8f8f3f22 100644 --- a/core/console-apps/NewTypesMsBuild/test/NewTypesTests/NewTypesTests.csproj +++ b/core/console-apps/NewTypesMsBuild/test/NewTypesTests/NewTypesTests.csproj @@ -1,11 +1,11 @@ - netcoreapp2.1 + netcoreapp2.2 - + diff --git a/core/console-apps/fibonacci-msbuild/Hello.csproj b/core/console-apps/fibonacci-msbuild/Hello.csproj index 8fb23a8dd31..c52b93a21fb 100644 --- a/core/console-apps/fibonacci-msbuild/Hello.csproj +++ b/core/console-apps/fibonacci-msbuild/Hello.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 \ No newline at end of file diff --git a/core/getting-started/golden/app/app.csproj b/core/getting-started/golden/app/app.csproj index 68a65a91b74..6378326b279 100644 --- a/core/getting-started/golden/app/app.csproj +++ b/core/getting-started/golden/app/app.csproj @@ -6,7 +6,7 @@ Exe - netcoreapp1.0 + netcoreapp2.2 diff --git a/core/getting-started/golden/src/app/app.csproj b/core/getting-started/golden/src/app/app.csproj index 92a4c34e618..f709c328a94 100644 --- a/core/getting-started/golden/src/app/app.csproj +++ b/core/getting-started/golden/src/app/app.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp1.1 + netcoreapp2.2 diff --git a/core/getting-started/golden/test-library/test-library.csproj b/core/getting-started/golden/test-library/test-library.csproj index 6c790149c7f..73221722d4c 100644 --- a/core/getting-started/golden/test-library/test-library.csproj +++ b/core/getting-started/golden/test-library/test-library.csproj @@ -2,13 +2,13 @@ Exe - netcoreapp1.0 + netcoreapp2.2 - - - + + + diff --git a/core/getting-started/golden/test/test-library/test-library.csproj b/core/getting-started/golden/test/test-library/test-library.csproj index 895140f3a9d..241011a3631 100644 --- a/core/getting-started/golden/test/test-library/test-library.csproj +++ b/core/getting-started/golden/test/test-library/test-library.csproj @@ -1,7 +1,7 @@ - netcoreapp1.1 + netcoreapp2.2 @@ -9,9 +9,9 @@ - - - + + + diff --git a/core/getting-started/unit-testing-using-dotnet-test/PrimeService.Tests/PrimeService.Tests.csproj b/core/getting-started/unit-testing-using-dotnet-test/PrimeService.Tests/PrimeService.Tests.csproj index 040944fd5d7..4dc5cda5d8f 100644 --- a/core/getting-started/unit-testing-using-dotnet-test/PrimeService.Tests/PrimeService.Tests.csproj +++ b/core/getting-started/unit-testing-using-dotnet-test/PrimeService.Tests/PrimeService.Tests.csproj @@ -1,14 +1,14 @@  - netcoreapp2.0 + netcoreapp2.2 false - - - + + + diff --git a/core/getting-started/unit-testing-using-mstest/PrimeService.Tests/PrimeService.Tests.csproj b/core/getting-started/unit-testing-using-mstest/PrimeService.Tests/PrimeService.Tests.csproj index fb10b99c1ea..af4c0bc089f 100644 --- a/core/getting-started/unit-testing-using-mstest/PrimeService.Tests/PrimeService.Tests.csproj +++ b/core/getting-started/unit-testing-using-mstest/PrimeService.Tests/PrimeService.Tests.csproj @@ -1,13 +1,13 @@  - netcoreapp2.0 + netcoreapp2.2 - - - + + + diff --git a/core/getting-started/unit-testing-using-nunit/PrimeService.Tests/PrimeService.Tests.csproj b/core/getting-started/unit-testing-using-nunit/PrimeService.Tests/PrimeService.Tests.csproj index 329b519e3f4..0c14f141340 100644 --- a/core/getting-started/unit-testing-using-nunit/PrimeService.Tests/PrimeService.Tests.csproj +++ b/core/getting-started/unit-testing-using-nunit/PrimeService.Tests/PrimeService.Tests.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + netcoreapp2.1 false @@ -10,7 +10,7 @@ - + diff --git a/core/getting-started/unit-testing-vb-dotnet-test/PrimeService.Tests/PrimeService.Tests.vbproj b/core/getting-started/unit-testing-vb-dotnet-test/PrimeService.Tests/PrimeService.Tests.vbproj index ebadef4e296..59dbf249285 100644 --- a/core/getting-started/unit-testing-vb-dotnet-test/PrimeService.Tests/PrimeService.Tests.vbproj +++ b/core/getting-started/unit-testing-vb-dotnet-test/PrimeService.Tests/PrimeService.Tests.vbproj @@ -1,15 +1,15 @@ - netcoreapp2.0 + netcoreapp2.2 false - - - + + + diff --git a/core/getting-started/unit-testing-vb-mstest/PrimeService.Tests/PrimeService.Tests.vbproj b/core/getting-started/unit-testing-vb-mstest/PrimeService.Tests/PrimeService.Tests.vbproj index edf79c4e116..8c8c0e08406 100644 --- a/core/getting-started/unit-testing-vb-mstest/PrimeService.Tests/PrimeService.Tests.vbproj +++ b/core/getting-started/unit-testing-vb-mstest/PrimeService.Tests/PrimeService.Tests.vbproj @@ -1,15 +1,15 @@ - netcoreapp2.0 + netcoreapp2.2 false - - - + + + diff --git a/core/getting-started/unit-testing-vb-nunit/PrimeService.Tests/PrimeService.Tests.vbproj b/core/getting-started/unit-testing-vb-nunit/PrimeService.Tests/PrimeService.Tests.vbproj index 51d6ca66221..20d6e874249 100644 --- a/core/getting-started/unit-testing-vb-nunit/PrimeService.Tests/PrimeService.Tests.vbproj +++ b/core/getting-started/unit-testing-vb-nunit/PrimeService.Tests/PrimeService.Tests.vbproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + netcoreapp2.2 false @@ -10,7 +10,7 @@ - + diff --git a/core/getting-started/unit-testing-with-fsharp-mstest/MathService.Tests/MathService.Tests.fsproj b/core/getting-started/unit-testing-with-fsharp-mstest/MathService.Tests/MathService.Tests.fsproj index 56074d09752..9ac08b62111 100644 --- a/core/getting-started/unit-testing-with-fsharp-mstest/MathService.Tests/MathService.Tests.fsproj +++ b/core/getting-started/unit-testing-with-fsharp-mstest/MathService.Tests/MathService.Tests.fsproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + netcoreapp2.2 false @@ -12,9 +12,9 @@ - - - + + + diff --git a/core/getting-started/unit-testing-with-fsharp-nunit/MathService.Tests/MathService.Tests.fsproj b/core/getting-started/unit-testing-with-fsharp-nunit/MathService.Tests/MathService.Tests.fsproj index 0c1c4fe461f..934659366c1 100644 --- a/core/getting-started/unit-testing-with-fsharp-nunit/MathService.Tests/MathService.Tests.fsproj +++ b/core/getting-started/unit-testing-with-fsharp-nunit/MathService.Tests/MathService.Tests.fsproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + netcoreapp2.2 false @@ -13,9 +13,9 @@ - - + + diff --git a/core/getting-started/unit-testing-with-fsharp/MathService.Tests/MathService.Tests.fsproj b/core/getting-started/unit-testing-with-fsharp/MathService.Tests/MathService.Tests.fsproj index 547b0863583..08d8374693b 100644 --- a/core/getting-started/unit-testing-with-fsharp/MathService.Tests/MathService.Tests.fsproj +++ b/core/getting-started/unit-testing-with-fsharp/MathService.Tests/MathService.Tests.fsproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + netcoreapp2.2 false @@ -12,9 +12,9 @@ - - - + + + diff --git a/core/libraries/new-library/new-library.sln b/core/libraries/new-library/new-library.sln deleted file mode 100644 index 8693a6c8357..00000000000 --- a/core/libraries/new-library/new-library.sln +++ /dev/null @@ -1,62 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26129.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DependencyLibrary", "src\DependencyLibrary\DependencyLibrary.csproj", "{09F11DBB-734B-4B4B-8C6F-06B44926BD83}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Library", "src\Library\Library.csproj", "{7DE37AA4-AFA5-4BAE-BA62-E154AF80229C}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LibraryTest", "test\LibraryTests\LibraryTest.csproj", "{FEB2DA54-779F-481B-8ACB-D6C8924F5DB6}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {09F11DBB-734B-4B4B-8C6F-06B44926BD83}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {09F11DBB-734B-4B4B-8C6F-06B44926BD83}.Debug|Any CPU.Build.0 = Debug|Any CPU - {09F11DBB-734B-4B4B-8C6F-06B44926BD83}.Debug|x64.ActiveCfg = Debug|x64 - {09F11DBB-734B-4B4B-8C6F-06B44926BD83}.Debug|x64.Build.0 = Debug|x64 - {09F11DBB-734B-4B4B-8C6F-06B44926BD83}.Debug|x86.ActiveCfg = Debug|x86 - {09F11DBB-734B-4B4B-8C6F-06B44926BD83}.Debug|x86.Build.0 = Debug|x86 - {09F11DBB-734B-4B4B-8C6F-06B44926BD83}.Release|Any CPU.ActiveCfg = Release|Any CPU - {09F11DBB-734B-4B4B-8C6F-06B44926BD83}.Release|Any CPU.Build.0 = Release|Any CPU - {09F11DBB-734B-4B4B-8C6F-06B44926BD83}.Release|x64.ActiveCfg = Release|x64 - {09F11DBB-734B-4B4B-8C6F-06B44926BD83}.Release|x64.Build.0 = Release|x64 - {09F11DBB-734B-4B4B-8C6F-06B44926BD83}.Release|x86.ActiveCfg = Release|x86 - {09F11DBB-734B-4B4B-8C6F-06B44926BD83}.Release|x86.Build.0 = Release|x86 - {7DE37AA4-AFA5-4BAE-BA62-E154AF80229C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7DE37AA4-AFA5-4BAE-BA62-E154AF80229C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7DE37AA4-AFA5-4BAE-BA62-E154AF80229C}.Debug|x64.ActiveCfg = Debug|x64 - {7DE37AA4-AFA5-4BAE-BA62-E154AF80229C}.Debug|x64.Build.0 = Debug|x64 - {7DE37AA4-AFA5-4BAE-BA62-E154AF80229C}.Debug|x86.ActiveCfg = Debug|x86 - {7DE37AA4-AFA5-4BAE-BA62-E154AF80229C}.Debug|x86.Build.0 = Debug|x86 - {7DE37AA4-AFA5-4BAE-BA62-E154AF80229C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7DE37AA4-AFA5-4BAE-BA62-E154AF80229C}.Release|Any CPU.Build.0 = Release|Any CPU - {7DE37AA4-AFA5-4BAE-BA62-E154AF80229C}.Release|x64.ActiveCfg = Release|x64 - {7DE37AA4-AFA5-4BAE-BA62-E154AF80229C}.Release|x64.Build.0 = Release|x64 - {7DE37AA4-AFA5-4BAE-BA62-E154AF80229C}.Release|x86.ActiveCfg = Release|x86 - {7DE37AA4-AFA5-4BAE-BA62-E154AF80229C}.Release|x86.Build.0 = Release|x86 - {FEB2DA54-779F-481B-8ACB-D6C8924F5DB6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FEB2DA54-779F-481B-8ACB-D6C8924F5DB6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FEB2DA54-779F-481B-8ACB-D6C8924F5DB6}.Debug|x64.ActiveCfg = Debug|x64 - {FEB2DA54-779F-481B-8ACB-D6C8924F5DB6}.Debug|x64.Build.0 = Debug|x64 - {FEB2DA54-779F-481B-8ACB-D6C8924F5DB6}.Debug|x86.ActiveCfg = Debug|x86 - {FEB2DA54-779F-481B-8ACB-D6C8924F5DB6}.Debug|x86.Build.0 = Debug|x86 - {FEB2DA54-779F-481B-8ACB-D6C8924F5DB6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FEB2DA54-779F-481B-8ACB-D6C8924F5DB6}.Release|Any CPU.Build.0 = Release|Any CPU - {FEB2DA54-779F-481B-8ACB-D6C8924F5DB6}.Release|x64.ActiveCfg = Release|x64 - {FEB2DA54-779F-481B-8ACB-D6C8924F5DB6}.Release|x64.Build.0 = Release|x64 - {FEB2DA54-779F-481B-8ACB-D6C8924F5DB6}.Release|x86.ActiveCfg = Release|x86 - {FEB2DA54-779F-481B-8ACB-D6C8924F5DB6}.Release|x86.Build.0 = Release|x86 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/core/libraries/new-library/src/DependencyLibrary/DependencyLibrary.cs b/core/libraries/new-library/src/DependencyLibrary/DependencyLibrary.cs deleted file mode 100644 index 5f7186ba5ce..00000000000 --- a/core/libraries/new-library/src/DependencyLibrary/DependencyLibrary.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace DependencyLibrary -{ - public static class NewDependencyLibrary - { - public static string ImportantMessage => "Live long and prosper"; - } -} \ No newline at end of file diff --git a/core/libraries/new-library/src/DependencyLibrary/DependencyLibrary.csproj b/core/libraries/new-library/src/DependencyLibrary/DependencyLibrary.csproj deleted file mode 100644 index b112dd56019..00000000000 --- a/core/libraries/new-library/src/DependencyLibrary/DependencyLibrary.csproj +++ /dev/null @@ -1,7 +0,0 @@ - - - - netcoreapp1.0 - - - \ No newline at end of file diff --git a/core/libraries/new-library/src/Library/Library.cs b/core/libraries/new-library/src/Library/Library.cs deleted file mode 100644 index 1d39c830d80..00000000000 --- a/core/libraries/new-library/src/Library/Library.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using DependencyLibrary; - -namespace Library -{ - public static class NewLibrary - { - public static string Hello => "Hello, .NET Core!"; - - public static string GenerateImportantMessage(string name) => - $"{NewDependencyLibrary.ImportantMessage}, {name}!"; - } -} \ No newline at end of file diff --git a/core/libraries/new-library/src/Library/Library.csproj b/core/libraries/new-library/src/Library/Library.csproj deleted file mode 100644 index 64af698c578..00000000000 --- a/core/libraries/new-library/src/Library/Library.csproj +++ /dev/null @@ -1,11 +0,0 @@ - - - - netcoreapp1.0 - - - - - - - \ No newline at end of file diff --git a/core/libraries/new-library/test/LibraryTests/LibraryTest.cs b/core/libraries/new-library/test/LibraryTests/LibraryTest.cs deleted file mode 100644 index 675e074c00a..00000000000 --- a/core/libraries/new-library/test/LibraryTests/LibraryTest.cs +++ /dev/null @@ -1,26 +0,0 @@ -using Xunit; -using Library; -using System; - -public class LibraryTest -{ - [Fact] - public void HelloTest() - { - string expected = "Hello, .NET Core!"; - - string actual = NewLibrary.Hello; - - Assert.Equal(expected, actual); - } - - [Fact] - public void ImportantMessageTest() - { - string expected = "Live long and prosper, Captain Kirk!"; - - string actual = NewLibrary.GenerateImportantMessage("Captain Kirk"); - - Assert.Equal(expected, actual); - } -} \ No newline at end of file diff --git a/core/libraries/new-library/test/LibraryTests/LibraryTest.csproj b/core/libraries/new-library/test/LibraryTests/LibraryTest.csproj deleted file mode 100644 index 5d2aef74249..00000000000 --- a/core/libraries/new-library/test/LibraryTests/LibraryTest.csproj +++ /dev/null @@ -1,17 +0,0 @@ - - - - netcoreapp1.0 - - - - - - - - - - - - - diff --git a/core/linq/csharp/aggregate/aggregate.csproj b/core/linq/csharp/aggregate/aggregate.csproj index 3525f4fdc96..e636b2d82ba 100644 --- a/core/linq/csharp/aggregate/aggregate.csproj +++ b/core/linq/csharp/aggregate/aggregate.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - aggregate + netcoreapp2.2 Exe - aggregate - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/core/linq/csharp/concatenation/concatenation.csproj b/core/linq/csharp/concatenation/concatenation.csproj index 6b6d57da013..e636b2d82ba 100644 --- a/core/linq/csharp/concatenation/concatenation.csproj +++ b/core/linq/csharp/concatenation/concatenation.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - concatenation + netcoreapp2.2 Exe - concatenation - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/core/linq/csharp/conversion/conversion.csproj b/core/linq/csharp/conversion/conversion.csproj index 8b886535a48..e636b2d82ba 100644 --- a/core/linq/csharp/conversion/conversion.csproj +++ b/core/linq/csharp/conversion/conversion.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - conversion + netcoreapp2.2 Exe - conversion - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/core/linq/csharp/customsequence/customsequence.csproj b/core/linq/csharp/customsequence/customsequence.csproj index 019c0b8b5b6..e636b2d82ba 100644 --- a/core/linq/csharp/customsequence/customsequence.csproj +++ b/core/linq/csharp/customsequence/customsequence.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - customsequence + netcoreapp2.2 Exe - customsequence - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/core/linq/csharp/element/element.csproj b/core/linq/csharp/element/element.csproj index 340bdf90712..e636b2d82ba 100644 --- a/core/linq/csharp/element/element.csproj +++ b/core/linq/csharp/element/element.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - element + netcoreapp2.2 Exe - element - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/core/linq/csharp/equality/equality.csproj b/core/linq/csharp/equality/equality.csproj index b38dbae391f..e636b2d82ba 100644 --- a/core/linq/csharp/equality/equality.csproj +++ b/core/linq/csharp/equality/equality.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - equality + netcoreapp2.2 Exe - equality - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/core/linq/csharp/generation/generation.csproj b/core/linq/csharp/generation/generation.csproj index a28231a9d9a..e636b2d82ba 100644 --- a/core/linq/csharp/generation/generation.csproj +++ b/core/linq/csharp/generation/generation.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - generation + netcoreapp2.2 Exe - generation - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/core/linq/csharp/grouping/grouping.csproj b/core/linq/csharp/grouping/grouping.csproj index 1add8a45aa4..e636b2d82ba 100644 --- a/core/linq/csharp/grouping/grouping.csproj +++ b/core/linq/csharp/grouping/grouping.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - grouping + netcoreapp2.2 Exe - grouping - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/core/linq/csharp/join/join.csproj b/core/linq/csharp/join/join.csproj index eb18eed3684..e636b2d82ba 100644 --- a/core/linq/csharp/join/join.csproj +++ b/core/linq/csharp/join/join.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - join + netcoreapp2.2 Exe - join - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/core/linq/csharp/ordering/ordering.csproj b/core/linq/csharp/ordering/ordering.csproj index de2c6f76151..e636b2d82ba 100644 --- a/core/linq/csharp/ordering/ordering.csproj +++ b/core/linq/csharp/ordering/ordering.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - ordering + netcoreapp2.2 Exe - ordering - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/core/linq/csharp/partitioning/partitioning.csproj b/core/linq/csharp/partitioning/partitioning.csproj index 09df9921ded..e636b2d82ba 100644 --- a/core/linq/csharp/partitioning/partitioning.csproj +++ b/core/linq/csharp/partitioning/partitioning.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - partitioning + netcoreapp2.2 Exe - partitioning - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/core/linq/csharp/projection/projection.csproj b/core/linq/csharp/projection/projection.csproj index 7c41d58db26..e636b2d82ba 100644 --- a/core/linq/csharp/projection/projection.csproj +++ b/core/linq/csharp/projection/projection.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - projection + netcoreapp2.2 Exe - projection - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/core/linq/csharp/quantifier/quantifier.csproj b/core/linq/csharp/quantifier/quantifier.csproj index 0eb670bc43e..e636b2d82ba 100644 --- a/core/linq/csharp/quantifier/quantifier.csproj +++ b/core/linq/csharp/quantifier/quantifier.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - quantifier + netcoreapp2.2 Exe - quantifier - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/core/linq/csharp/queryexecution/queryexecution.csproj b/core/linq/csharp/queryexecution/queryexecution.csproj index 5058a6d1c02..e636b2d82ba 100644 --- a/core/linq/csharp/queryexecution/queryexecution.csproj +++ b/core/linq/csharp/queryexecution/queryexecution.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - queryexecution + netcoreapp2.2 Exe - queryexecution - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/core/linq/csharp/restriction/restriction.csproj b/core/linq/csharp/restriction/restriction.csproj index 8d9cafcb4f4..e636b2d82ba 100644 --- a/core/linq/csharp/restriction/restriction.csproj +++ b/core/linq/csharp/restriction/restriction.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - restriction + netcoreapp2.2 Exe - restriction - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/core/linq/csharp/setoperators/setoperators.csproj b/core/linq/csharp/setoperators/setoperators.csproj index 799659b848a..e636b2d82ba 100644 --- a/core/linq/csharp/setoperators/setoperators.csproj +++ b/core/linq/csharp/setoperators/setoperators.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - setoperators + netcoreapp2.2 Exe - setoperators - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/core/tutorials/using-on-mac-vs-full-solution/WordCounter/TestLibrary/TestLibrary.csproj b/core/tutorials/using-on-mac-vs-full-solution/WordCounter/TestLibrary/TestLibrary.csproj index 78722fd5ab4..394518444b3 100644 --- a/core/tutorials/using-on-mac-vs-full-solution/WordCounter/TestLibrary/TestLibrary.csproj +++ b/core/tutorials/using-on-mac-vs-full-solution/WordCounter/TestLibrary/TestLibrary.csproj @@ -1,13 +1,13 @@ - netcoreapp1.1 + netcoreapp2.2 - - - + + + diff --git a/core/tutorials/using-on-mac-vs-full-solution/WordCounter/WordCounterApp/WordCounterApp.csproj b/core/tutorials/using-on-mac-vs-full-solution/WordCounter/WordCounterApp/WordCounterApp.csproj index 23a9dd03d22..02118320b10 100644 --- a/core/tutorials/using-on-mac-vs-full-solution/WordCounter/WordCounterApp/WordCounterApp.csproj +++ b/core/tutorials/using-on-mac-vs-full-solution/WordCounter/WordCounterApp/WordCounterApp.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp1.1 + netcoreapp2.2 diff --git a/csharp/NullableIntroduction/NullableIntroduction.sln b/csharp/NullableIntroduction/NullableIntroduction.sln new file mode 100644 index 00000000000..d6fa811412b --- /dev/null +++ b/csharp/NullableIntroduction/NullableIntroduction.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.28315.86 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NullableIntroduction", "NullableIntroduction\NullableIntroduction.csproj", "{B030A6FA-113E-4AC1-BDE4-7CF1DB29E22C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B030A6FA-113E-4AC1-BDE4-7CF1DB29E22C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B030A6FA-113E-4AC1-BDE4-7CF1DB29E22C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B030A6FA-113E-4AC1-BDE4-7CF1DB29E22C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B030A6FA-113E-4AC1-BDE4-7CF1DB29E22C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {47456933-59EE-408A-AD9F-1887183AFCF8} + EndGlobalSection +EndGlobal diff --git a/csharp/NullableIntroduction/NullableIntroduction/NullableIntroduction.csproj b/csharp/NullableIntroduction/NullableIntroduction/NullableIntroduction.csproj new file mode 100644 index 00000000000..0474254c03c --- /dev/null +++ b/csharp/NullableIntroduction/NullableIntroduction/NullableIntroduction.csproj @@ -0,0 +1,9 @@ + + + + Exe + netcoreapp2.2 + 8.0 + + + diff --git a/csharp/NullableIntroduction/NullableIntroduction/Program.cs b/csharp/NullableIntroduction/NullableIntroduction/Program.cs new file mode 100644 index 00000000000..545787b1f43 --- /dev/null +++ b/csharp/NullableIntroduction/NullableIntroduction/Program.cs @@ -0,0 +1,39 @@ +using System; + +#nullable enable +namespace NullableIntroduction +{ + class Program + { + static void Main(string[] args) + { + // + var surveyRun = new SurveyRun(); + surveyRun.AddQuestion(QuestionType.YesNo, "Has your code ever thrown a NullReferenceException?"); + surveyRun.AddQuestion(new SurveyQuestion(QuestionType.Number, "How many times (to the nearest 100) has that happened?")); + surveyRun.AddQuestion(QuestionType.Text, "What is your favorite color?"); + // + + // + surveyRun.PerformSurvey(50); + // + + // + foreach (var participant in surveyRun.AllParticipants) + { + Console.WriteLine($"Participant: {participant.Id}:"); + if (participant.AnsweredSurvey) + { + for (int i = 0; i < surveyRun.Questions.Count; i++) + { + var answer = participant.Answer(i); + Console.WriteLine($"\t{surveyRun.GetQuestion(i)} : {answer}"); + } + } + else + Console.WriteLine("\tNo responses"); + } + // + } + } +} diff --git a/csharp/NullableIntroduction/NullableIntroduction/SurveyQuestion.cs b/csharp/NullableIntroduction/NullableIntroduction/SurveyQuestion.cs new file mode 100644 index 00000000000..bd6bc56c8f4 --- /dev/null +++ b/csharp/NullableIntroduction/NullableIntroduction/SurveyQuestion.cs @@ -0,0 +1,19 @@ +#nullable enable +namespace NullableIntroduction +{ + public enum QuestionType + { + YesNo, + Number, + Text + } + + public class SurveyQuestion + { + public string QuestionText { get; } + public QuestionType TypeOfQuestion { get; } + + public SurveyQuestion(QuestionType typeOfQuestion, string text) => + (TypeOfQuestion, QuestionText) = (typeOfQuestion, text); + } +} diff --git a/csharp/NullableIntroduction/NullableIntroduction/SurveyResponse.cs b/csharp/NullableIntroduction/NullableIntroduction/SurveyResponse.cs new file mode 100644 index 00000000000..c88d62f7764 --- /dev/null +++ b/csharp/NullableIntroduction/NullableIntroduction/SurveyResponse.cs @@ -0,0 +1,75 @@ +using System; +using System.Collections.Generic; +using System.Text; + +#nullable enable +namespace NullableIntroduction +{ + public class SurveyResponse + { + // + private static readonly Random randomGenerator = new Random(); + public static SurveyResponse GetRandomId() => new SurveyResponse(randomGenerator.Next()); + // + + public int Id { get; } + + // + public bool AnsweredSurvey => surveyResponses != null; + public string Answer(int index) => surveyResponses.GetValueOrDefault(index, "No answer")!; + // + + public SurveyResponse(int id) => Id = id; + + // + private Dictionary? surveyResponses; + public bool AnswerSurvey(IEnumerable questions) + { + if (ConsentToSurvey()) + { + surveyResponses = new Dictionary(); + int index = 0; + foreach (var question in questions) + { + var answer = GenerateAnswer(question); + if (answer != null) + { + surveyResponses.Add(index, answer); + } + index++; + } + } + return surveyResponses != null; + } + + private bool ConsentToSurvey() => randomGenerator.Next(0, 2) == 1; + + private string? GenerateAnswer(SurveyQuestion question) + { + switch (question.TypeOfQuestion) + { + case QuestionType.YesNo: + int n = randomGenerator.Next(-1, 2); + return (n == -1) ? default : (n == 0) ? "No" : "Yes"; + case QuestionType.Number: + n = randomGenerator.Next(-30, 101); + return (n < 0) ? default : n.ToString(); + case QuestionType.Text: + default: + switch (randomGenerator.Next(0, 5)) + { + case 0: + return default; + case 1: + return "Red"; + case 2: + return "Green"; + case 3: + return "Blue"; + } + return "Red. No, Green. Wait.. Blue... AAARGGGGGHHH!"; + } + } + // + } +} diff --git a/csharp/NullableIntroduction/NullableIntroduction/SurveyRun.cs b/csharp/NullableIntroduction/NullableIntroduction/SurveyRun.cs new file mode 100644 index 00000000000..5ab43113d48 --- /dev/null +++ b/csharp/NullableIntroduction/NullableIntroduction/SurveyRun.cs @@ -0,0 +1,37 @@ +using System.Collections.Generic; +using System.Linq; + +#nullable enable +namespace NullableIntroduction +{ + public class SurveyRun + { + private List surveyQuestions = new List(); + + // + public IEnumerable AllParticipants => (respondents ?? Enumerable.Empty()); + public ICollection Questions => surveyQuestions; + public SurveyQuestion GetQuestion(int index) => surveyQuestions[index]; + // + + public void AddQuestion(QuestionType type, string question) => + AddQuestion(new SurveyQuestion(type, question)); + public void AddQuestion(SurveyQuestion surveyQuestion) => surveyQuestions.Add(surveyQuestion); + + // + private List? respondents; + public void PerformSurvey(int numberOfRespondents) + { + int repondentsConsenting = 0; + respondents = new List(); + while (repondentsConsenting < numberOfRespondents) + { + var respondent = SurveyResponse.GetRandomId(); + if (respondent.AnswerSurvey(surveyQuestions)) + repondentsConsenting++; + respondents.Add(respondent); + } + } + // + } +} diff --git a/csharp/PatternMatching/PatternMatching.csproj b/csharp/PatternMatching/PatternMatching.csproj index 23df6047ff5..21dff5ca2e4 100644 --- a/csharp/PatternMatching/PatternMatching.csproj +++ b/csharp/PatternMatching/PatternMatching.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/csharp/branches-quickstart/BranchesAndLoops.csproj b/csharp/branches-quickstart/BranchesAndLoops.csproj index ce1697ae883..21dff5ca2e4 100644 --- a/csharp/branches-quickstart/BranchesAndLoops.csproj +++ b/csharp/branches-quickstart/BranchesAndLoops.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/csharp/classes-quickstart/classes.csproj b/csharp/classes-quickstart/classes.csproj index ce1697ae883..21dff5ca2e4 100644 --- a/csharp/classes-quickstart/classes.csproj +++ b/csharp/classes-quickstart/classes.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/csharp/delegates-and-events/delegates-and-events.csproj b/csharp/delegates-and-events/delegates-and-events.csproj index d410efacae9..e636b2d82ba 100644 --- a/csharp/delegates-and-events/delegates-and-events.csproj +++ b/csharp/delegates-and-events/delegates-and-events.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - delegates-and-events + netcoreapp2.2 Exe - delegates-and-events - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/csharp/events/events.csproj b/csharp/events/events.csproj index 3767e73d316..e636b2d82ba 100644 --- a/csharp/events/events.csproj +++ b/csharp/events/events.csproj @@ -1,13 +1,8 @@ - netcoreapp1.0 - portable - events + netcoreapp2.2 Exe - events - $(PackageTargetFallback);dnxcore50 - 1.0.4 diff --git a/csharp/expression-trees/expression-trees.csproj b/csharp/expression-trees/expression-trees.csproj index a76f495a624..864cbe89432 100644 --- a/csharp/expression-trees/expression-trees.csproj +++ b/csharp/expression-trees/expression-trees.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/csharp/getting-started/console-linq/console-linq.csproj b/csharp/getting-started/console-linq/console-linq.csproj index a8d57962d6b..2eba7d9e8e3 100644 --- a/csharp/getting-started/console-linq/console-linq.csproj +++ b/csharp/getting-started/console-linq/console-linq.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/csharp/getting-started/console-teleprompter/console-teleprompter.csproj b/csharp/getting-started/console-teleprompter/console-teleprompter.csproj index ce1697ae883..21dff5ca2e4 100644 --- a/csharp/getting-started/console-teleprompter/console-teleprompter.csproj +++ b/csharp/getting-started/console-teleprompter/console-teleprompter.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/csharp/getting-started/console-webapiclient/webapiclient.csproj b/csharp/getting-started/console-webapiclient/webapiclient.csproj index b6e2dd7d057..21f95cd0494 100644 --- a/csharp/getting-started/console-webapiclient/webapiclient.csproj +++ b/csharp/getting-started/console-webapiclient/webapiclient.csproj @@ -7,7 +7,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/csharp/indexers/indexers.csproj b/csharp/indexers/indexers.csproj index 5e1611f89df..2eba7d9e8e3 100644 --- a/csharp/indexers/indexers.csproj +++ b/csharp/indexers/indexers.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp1.0 + netcoreapp2.2 diff --git a/csharp/iterators/iterators.csproj b/csharp/iterators/iterators.csproj index 5e1611f89df..2eba7d9e8e3 100644 --- a/csharp/iterators/iterators.csproj +++ b/csharp/iterators/iterators.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp1.0 + netcoreapp2.2 diff --git a/csharp/list-quickstart/list-quickstart.csproj b/csharp/list-quickstart/list-quickstart.csproj index ce1697ae883..21dff5ca2e4 100644 --- a/csharp/list-quickstart/list-quickstart.csproj +++ b/csharp/list-quickstart/list-quickstart.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/csharp/numbers-quickstart/NumbersInCSharp.csproj b/csharp/numbers-quickstart/NumbersInCSharp.csproj index ce1697ae883..21dff5ca2e4 100644 --- a/csharp/numbers-quickstart/NumbersInCSharp.csproj +++ b/csharp/numbers-quickstart/NumbersInCSharp.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/csharp/roslyn-sdk/Tutorials/MakeConst/MakeConst.Test/MakeConst.Test.csproj b/csharp/roslyn-sdk/Tutorials/MakeConst/MakeConst.Test/MakeConst.Test.csproj index 3a38b161f53..aac78967069 100644 --- a/csharp/roslyn-sdk/Tutorials/MakeConst/MakeConst.Test/MakeConst.Test.csproj +++ b/csharp/roslyn-sdk/Tutorials/MakeConst/MakeConst.Test/MakeConst.Test.csproj @@ -1,18 +1,18 @@ - netcoreapp2.0 + netcoreapp2.2 - - - - + + + + - + \ No newline at end of file diff --git a/csharp/roslyn-sdk/Tutorials/MakeConstTestProject/MakeConstTestProject/MakeConstTestProject.csproj b/csharp/roslyn-sdk/Tutorials/MakeConstTestProject/MakeConstTestProject/MakeConstTestProject.csproj index 23df6047ff5..21dff5ca2e4 100644 --- a/csharp/roslyn-sdk/Tutorials/MakeConstTestProject/MakeConstTestProject/MakeConstTestProject.csproj +++ b/csharp/roslyn-sdk/Tutorials/MakeConstTestProject/MakeConstTestProject/MakeConstTestProject.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/csharp/safe-efficient-code/benchmark/benchmark.csproj b/csharp/safe-efficient-code/benchmark/benchmark.csproj index 610a3fa4dfc..f1b20bd4490 100644 --- a/csharp/safe-efficient-code/benchmark/benchmark.csproj +++ b/csharp/safe-efficient-code/benchmark/benchmark.csproj @@ -2,12 +2,12 @@ Exe - netcoreapp2.1 + netcoreapp2.2 latest - + diff --git a/csharp/safe-efficient-code/ref-readonly-struct/ref-readonly-struct.csproj b/csharp/safe-efficient-code/ref-readonly-struct/ref-readonly-struct.csproj index 0497b7c220f..f71fcbcacde 100644 --- a/csharp/safe-efficient-code/ref-readonly-struct/ref-readonly-struct.csproj +++ b/csharp/safe-efficient-code/ref-readonly-struct/ref-readonly-struct.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/csharp/serialization/serialization.csproj b/csharp/serialization/serialization.csproj index 626c507a245..33df0f0a30b 100644 --- a/csharp/serialization/serialization.csproj +++ b/csharp/serialization/serialization.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 7.3 diff --git a/csharp/unit-testing-best-practices/after/unit-testing-best-practices-after.csproj b/csharp/unit-testing-best-practices/after/unit-testing-best-practices-after.csproj index ed7b58a5174..3e6a4f97459 100644 --- a/csharp/unit-testing-best-practices/after/unit-testing-best-practices-after.csproj +++ b/csharp/unit-testing-best-practices/after/unit-testing-best-practices-after.csproj @@ -1,15 +1,15 @@ - netcoreapp2.0 + netcoreapp2.2 false - - - + + + diff --git a/csharp/unit-testing-best-practices/before/unit-testing-best-practices-before.csproj b/csharp/unit-testing-best-practices/before/unit-testing-best-practices-before.csproj index ed7b58a5174..3e6a4f97459 100644 --- a/csharp/unit-testing-best-practices/before/unit-testing-best-practices-before.csproj +++ b/csharp/unit-testing-best-practices/before/unit-testing-best-practices-before.csproj @@ -1,15 +1,15 @@ - netcoreapp2.0 + netcoreapp2.2 false - - - + + + diff --git a/csharp/unit-testing-best-practices/unit-testing-best-practices/unit-testing-best-practices.csproj b/csharp/unit-testing-best-practices/unit-testing-best-practices/unit-testing-best-practices.csproj index 5766db614cd..c16c6d5ba9e 100644 --- a/csharp/unit-testing-best-practices/unit-testing-best-practices/unit-testing-best-practices.csproj +++ b/csharp/unit-testing-best-practices/unit-testing-best-practices/unit-testing-best-practices.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + netcoreapp2.2 diff --git a/csharp/versioning/new/new.csproj b/csharp/versioning/new/new.csproj index 1915f6bad91..54c4be2e662 100644 --- a/csharp/versioning/new/new.csproj +++ b/csharp/versioning/new/new.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 \ No newline at end of file diff --git a/csharp/versioning/override/override.csproj b/csharp/versioning/override/override.csproj index 1915f6bad91..54c4be2e662 100644 --- a/csharp/versioning/override/override.csproj +++ b/csharp/versioning/override/override.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 \ No newline at end of file diff --git a/framework/libraries/migrate-library-csproj-keep-existing/tests/Car.Tests/Car.Tests.csproj b/framework/libraries/migrate-library-csproj-keep-existing/tests/Car.Tests/Car.Tests.csproj index 856d10cdcb4..0d81144db6f 100644 --- a/framework/libraries/migrate-library-csproj-keep-existing/tests/Car.Tests/Car.Tests.csproj +++ b/framework/libraries/migrate-library-csproj-keep-existing/tests/Car.Tests/Car.Tests.csproj @@ -1,7 +1,7 @@  - netcoreapp1.1 + netcoreapp2.2 @@ -9,9 +9,9 @@ - - - - + + + + diff --git a/framework/libraries/migrate-library-csproj/tests/Car.Tests/Car.Tests.csproj b/framework/libraries/migrate-library-csproj/tests/Car.Tests/Car.Tests.csproj index 856d10cdcb4..0d81144db6f 100644 --- a/framework/libraries/migrate-library-csproj/tests/Car.Tests/Car.Tests.csproj +++ b/framework/libraries/migrate-library-csproj/tests/Car.Tests/Car.Tests.csproj @@ -1,7 +1,7 @@  - netcoreapp1.1 + netcoreapp2.2 @@ -9,9 +9,9 @@ - - - - + + + + diff --git a/machine-learning/tutorials/IrisClustering/IrisClustering.csproj b/machine-learning/tutorials/IrisClustering/IrisClustering.csproj index 80cc15c80b0..26fff9860a4 100644 --- a/machine-learning/tutorials/IrisClustering/IrisClustering.csproj +++ b/machine-learning/tutorials/IrisClustering/IrisClustering.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 @@ -10,7 +10,7 @@ - + diff --git a/machine-learning/tutorials/SentimentAnalysis/SentimentAnalysis.csproj b/machine-learning/tutorials/SentimentAnalysis/SentimentAnalysis.csproj index 80c5301a212..0445f750c47 100644 --- a/machine-learning/tutorials/SentimentAnalysis/SentimentAnalysis.csproj +++ b/machine-learning/tutorials/SentimentAnalysis/SentimentAnalysis.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/machine-learning/tutorials/TaxiFarePrediction/TaxiFarePrediction.csproj b/machine-learning/tutorials/TaxiFarePrediction/TaxiFarePrediction.csproj index 06cf6758a95..23d9c54391b 100644 --- a/machine-learning/tutorials/TaxiFarePrediction/TaxiFarePrediction.csproj +++ b/machine-learning/tutorials/TaxiFarePrediction/TaxiFarePrediction.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/snippets/core/deploying/xml/invariant.csproj b/snippets/core/deploying/xml/invariant.csproj index 6ed6808af0e..de3564a2e4c 100644 --- a/snippets/core/deploying/xml/invariant.csproj +++ b/snippets/core/deploying/xml/invariant.csproj @@ -1,7 +1,7 @@  Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/snippets/csharp/System.DateTime/SystemDateTimeReference.csproj b/snippets/csharp/System.DateTime/SystemDateTimeReference.csproj index ce1697ae883..21dff5ca2e4 100644 --- a/snippets/csharp/System.DateTime/SystemDateTimeReference.csproj +++ b/snippets/csharp/System.DateTime/SystemDateTimeReference.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/snippets/csharp/VS_Snippets_CLR/AddEventHandler/cs/cs.csproj b/snippets/csharp/VS_Snippets_CLR/AddEventHandler/cs/cs.csproj index 23df6047ff5..21dff5ca2e4 100644 --- a/snippets/csharp/VS_Snippets_CLR/AddEventHandler/cs/cs.csproj +++ b/snippets/csharp/VS_Snippets_CLR/AddEventHandler/cs/cs.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/snippets/csharp/VS_Snippets_CLR/FieldBuilder_Class_Name/FieldBuilder.csproj b/snippets/csharp/VS_Snippets_CLR/FieldBuilder_Class_Name/FieldBuilder.csproj index 23df6047ff5..21dff5ca2e4 100644 --- a/snippets/csharp/VS_Snippets_CLR/FieldBuilder_Class_Name/FieldBuilder.csproj +++ b/snippets/csharp/VS_Snippets_CLR/FieldBuilder_Class_Name/FieldBuilder.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Enumerable/CS/Enumerable.csproj b/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Enumerable/CS/Enumerable.csproj index 1dd53bd273d..cb6eb9a7a02 100644 --- a/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Enumerable/CS/Enumerable.csproj +++ b/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Enumerable/CS/Enumerable.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1;net472 + netcoreapp2.2;net472 \ No newline at end of file diff --git a/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/cs/cs.csproj b/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/cs/cs.csproj index fa582243e12..23cbf231767 100644 --- a/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/cs/cs.csproj +++ b/snippets/csharp/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/cs/cs.csproj @@ -2,11 +2,11 @@ Exe - netcoreapp2.0;net45 + netcoreapp2.2;net45 - + diff --git a/snippets/csharp/VS_Snippets_Misc/system.net.http.httpclient/cs/source.cs b/snippets/csharp/VS_Snippets_Misc/system.net.http.httpclient/cs/source.cs index dea1758ea9b..60c352dff23 100644 --- a/snippets/csharp/VS_Snippets_Misc/system.net.http.httpclient/cs/source.cs +++ b/snippets/csharp/VS_Snippets_Misc/system.net.http.httpclient/cs/source.cs @@ -9,29 +9,26 @@ class HttpClient_Example // static async Task Main() { - // Create a New HttpClient object. - HttpClient client = new HttpClient(); - - // Call asynchronous network methods in a try/catch block to handle exceptions - try + // Create a New HttpClient object and dispose it when done, so the app doesn't leak resources + using (HttpClient client = new HttpClient()) { - HttpResponseMessage response = await client.GetAsync("http://www.contoso.com/"); - response.EnsureSuccessStatusCode(); - string responseBody = await response.Content.ReadAsStringAsync(); - // Above three lines can be replaced with new helper method below - // string responseBody = await client.GetStringAsync(uri); + // Call asynchronous network methods in a try/catch block to handle exceptions + try + { + HttpResponseMessage response = await client.GetAsync("http://www.contoso.com/"); + response.EnsureSuccessStatusCode(); + string responseBody = await response.Content.ReadAsStringAsync(); + // Above three lines can be replaced with new helper method below + // string responseBody = await client.GetStringAsync(uri); - Console.WriteLine(responseBody); - } - catch(HttpRequestException e) - { - Console.WriteLine("\nException Caught!"); - Console.WriteLine("Message :{0} ",e.Message); + Console.WriteLine(responseBody); + } + catch(HttpRequestException e) + { + Console.WriteLine("\nException Caught!"); + Console.WriteLine("Message :{0} ",e.Message); + } } - - // Need to call dispose on the HttpClient object - // when done using it, so the app doesn't leak resources - client.Dispose(true); } // } diff --git a/snippets/csharp/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/CS/EncapsulatedComparer.csproj b/snippets/csharp/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/CS/EncapsulatedComparer.csproj index 1dd53bd273d..cb6eb9a7a02 100644 --- a/snippets/csharp/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/CS/EncapsulatedComparer.csproj +++ b/snippets/csharp/VS_Snippets_VBCSharp/CsLINQEncapsulatedComparer/CS/EncapsulatedComparer.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1;net472 + netcoreapp2.2;net472 \ No newline at end of file diff --git a/snippets/csharp/api/system.xml.linq/xnode/readfrom/readfrom.csproj b/snippets/csharp/api/system.xml.linq/xnode/readfrom/readfrom.csproj index 69eeb1be925..4a922e9ada5 100644 --- a/snippets/csharp/api/system.xml.linq/xnode/readfrom/readfrom.csproj +++ b/snippets/csharp/api/system.xml.linq/xnode/readfrom/readfrom.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1;net472 + netcoreapp2.2;net472 diff --git a/snippets/csharp/api/system/span.enumerator/nosync/synchronization.csproj b/snippets/csharp/api/system/span.enumerator/nosync/synchronization.csproj index 23df6047ff5..21dff5ca2e4 100644 --- a/snippets/csharp/api/system/span.enumerator/nosync/synchronization.csproj +++ b/snippets/csharp/api/system/span.enumerator/nosync/synchronization.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/snippets/csharp/api/system/span.enumerator/sync/synchronization.csproj b/snippets/csharp/api/system/span.enumerator/sync/synchronization.csproj index 23df6047ff5..21dff5ca2e4 100644 --- a/snippets/csharp/api/system/span.enumerator/sync/synchronization.csproj +++ b/snippets/csharp/api/system/span.enumerator/sync/synchronization.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/snippets/csharp/api/system/span/program.csproj b/snippets/csharp/api/system/span/program.csproj index c1b9de349b6..24d045ffd20 100644 --- a/snippets/csharp/api/system/span/program.csproj +++ b/snippets/csharp/api/system/span/program.csproj @@ -3,7 +3,7 @@ true Exe - netcoreapp2.1 + netcoreapp2.2 Latest diff --git a/snippets/csharp/api/system/span/slice/slice.csproj b/snippets/csharp/api/system/span/slice/slice.csproj index c1b9de349b6..24d045ffd20 100644 --- a/snippets/csharp/api/system/span/slice/slice.csproj +++ b/snippets/csharp/api/system/span/slice/slice.csproj @@ -3,7 +3,7 @@ true Exe - netcoreapp2.1 + netcoreapp2.2 Latest diff --git a/snippets/csharp/api/system/span/slice2/substring.csproj b/snippets/csharp/api/system/span/slice2/substring.csproj index 23df6047ff5..21dff5ca2e4 100644 --- a/snippets/csharp/api/system/span/slice2/substring.csproj +++ b/snippets/csharp/api/system/span/slice2/substring.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/snippets/csharp/attributes/attributes.csproj b/snippets/csharp/attributes/attributes.csproj index 4fff205f1d7..08110764684 100644 --- a/snippets/csharp/attributes/attributes.csproj +++ b/snippets/csharp/attributes/attributes.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/snippets/csharp/how-to/conversions/conversions.csproj b/snippets/csharp/how-to/conversions/conversions.csproj index ce1697ae883..21dff5ca2e4 100644 --- a/snippets/csharp/how-to/conversions/conversions.csproj +++ b/snippets/csharp/how-to/conversions/conversions.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/snippets/csharp/how-to/safelycast/asandis/asandis.csproj b/snippets/csharp/how-to/safelycast/asandis/asandis.csproj index 23df6047ff5..21dff5ca2e4 100644 --- a/snippets/csharp/how-to/safelycast/asandis/asandis.csproj +++ b/snippets/csharp/how-to/safelycast/asandis/asandis.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/snippets/csharp/how-to/safelycast/nullablepatternmatching/nullablepatternmatching.csproj b/snippets/csharp/how-to/safelycast/nullablepatternmatching/nullablepatternmatching.csproj index 23df6047ff5..21dff5ca2e4 100644 --- a/snippets/csharp/how-to/safelycast/nullablepatternmatching/nullablepatternmatching.csproj +++ b/snippets/csharp/how-to/safelycast/nullablepatternmatching/nullablepatternmatching.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/snippets/csharp/how-to/safelycast/patternmatching/patternmatching.csproj b/snippets/csharp/how-to/safelycast/patternmatching/patternmatching.csproj index 23df6047ff5..21dff5ca2e4 100644 --- a/snippets/csharp/how-to/safelycast/patternmatching/patternmatching.csproj +++ b/snippets/csharp/how-to/safelycast/patternmatching/patternmatching.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/snippets/csharp/how-to/strings/strings.csproj b/snippets/csharp/how-to/strings/strings.csproj index 5674a9a4682..330f947545e 100644 --- a/snippets/csharp/how-to/strings/strings.csproj +++ b/snippets/csharp/how-to/strings/strings.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 HowToStrings diff --git a/snippets/csharp/keywords/keywords.csproj b/snippets/csharp/keywords/keywords.csproj index e4b2911c343..250c3949f0f 100644 --- a/snippets/csharp/keywords/keywords.csproj +++ b/snippets/csharp/keywords/keywords.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 @@ -12,6 +12,6 @@ - + diff --git a/snippets/csharp/language-reference/keywords/in-ref-out-modifier/in-ref-out-modifier.csproj b/snippets/csharp/language-reference/keywords/in-ref-out-modifier/in-ref-out-modifier.csproj index b39557a3d33..516a6dc27cf 100644 --- a/snippets/csharp/language-reference/keywords/in-ref-out-modifier/in-ref-out-modifier.csproj +++ b/snippets/csharp/language-reference/keywords/in-ref-out-modifier/in-ref-out-modifier.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 InRefOutModifier diff --git a/snippets/csharp/language-reference/operators/operators.csproj b/snippets/csharp/language-reference/operators/operators.csproj index e7528f2ef41..2995ae5766d 100644 --- a/snippets/csharp/language-reference/operators/operators.csproj +++ b/snippets/csharp/language-reference/operators/operators.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/snippets/csharp/language-reference/tokens/string-interpolation.csproj b/snippets/csharp/language-reference/tokens/string-interpolation.csproj index ce1697ae883..21dff5ca2e4 100644 --- a/snippets/csharp/language-reference/tokens/string-interpolation.csproj +++ b/snippets/csharp/language-reference/tokens/string-interpolation.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/snippets/csharp/main-arguments/main-arguments.csproj b/snippets/csharp/main-arguments/main-arguments.csproj index 38eab1c1706..81726ff2f14 100644 --- a/snippets/csharp/main-arguments/main-arguments.csproj +++ b/snippets/csharp/main-arguments/main-arguments.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 latest diff --git a/snippets/csharp/new-in-6/new-in-6.csproj b/snippets/csharp/new-in-6/new-in-6.csproj index 1de67a92a9f..779d5ea0f6c 100644 --- a/snippets/csharp/new-in-6/new-in-6.csproj +++ b/snippets/csharp/new-in-6/new-in-6.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/snippets/csharp/new-in-7/new-in-7.csproj b/snippets/csharp/new-in-7/new-in-7.csproj index c7565e5ddd0..fe1bebbc580 100644 --- a/snippets/csharp/new-in-7/new-in-7.csproj +++ b/snippets/csharp/new-in-7/new-in-7.csproj @@ -1,10 +1,10 @@  Exe - netcoreapp1.1 + netcoreapp2.2 - - + + \ No newline at end of file diff --git a/snippets/csharp/programming-guide/nullable-types/nullable-types.csproj b/snippets/csharp/programming-guide/nullable-types/nullable-types.csproj index a82a55626fe..c0e160b7cce 100644 --- a/snippets/csharp/programming-guide/nullable-types/nullable-types.csproj +++ b/snippets/csharp/programming-guide/nullable-types/nullable-types.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 nullable_types diff --git a/snippets/csharp/programming-guide/ref-returns/ref-returns.csproj b/snippets/csharp/programming-guide/ref-returns/ref-returns.csproj index 848434e37ea..7e8875ddfef 100644 --- a/snippets/csharp/programming-guide/ref-returns/ref-returns.csproj +++ b/snippets/csharp/programming-guide/ref-returns/ref-returns.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 7.3 RefReturns diff --git a/snippets/csharp/programming-guide/strings/Strings_1.csproj b/snippets/csharp/programming-guide/strings/Strings_1.csproj index 23df6047ff5..21dff5ca2e4 100644 --- a/snippets/csharp/programming-guide/strings/Strings_1.csproj +++ b/snippets/csharp/programming-guide/strings/Strings_1.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/snippets/csharp/properties/properties.csproj b/snippets/csharp/properties/properties.csproj index 1b91f08e1d8..37006450682 100644 --- a/snippets/csharp/properties/properties.csproj +++ b/snippets/csharp/properties/properties.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/snippets/csharp/tour/arrays/arrays.csproj b/snippets/csharp/tour/arrays/arrays.csproj index 5e1611f89df..2eba7d9e8e3 100644 --- a/snippets/csharp/tour/arrays/arrays.csproj +++ b/snippets/csharp/tour/arrays/arrays.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp1.0 + netcoreapp2.2 diff --git a/snippets/csharp/tour/attributes/attributes.csproj b/snippets/csharp/tour/attributes/attributes.csproj index 5e1611f89df..2eba7d9e8e3 100644 --- a/snippets/csharp/tour/attributes/attributes.csproj +++ b/snippets/csharp/tour/attributes/attributes.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp1.0 + netcoreapp2.2 diff --git a/snippets/csharp/tour/classes-and-objects/classes-and-objects.csproj b/snippets/csharp/tour/classes-and-objects/classes-and-objects.csproj index 5e1611f89df..2eba7d9e8e3 100644 --- a/snippets/csharp/tour/classes-and-objects/classes-and-objects.csproj +++ b/snippets/csharp/tour/classes-and-objects/classes-and-objects.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp1.0 + netcoreapp2.2 diff --git a/snippets/csharp/tour/delegates/delegates.csproj b/snippets/csharp/tour/delegates/delegates.csproj index 5e1611f89df..2eba7d9e8e3 100644 --- a/snippets/csharp/tour/delegates/delegates.csproj +++ b/snippets/csharp/tour/delegates/delegates.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp1.0 + netcoreapp2.2 diff --git a/snippets/csharp/tour/enums/enums.csproj b/snippets/csharp/tour/enums/enums.csproj index 5e1611f89df..2eba7d9e8e3 100644 --- a/snippets/csharp/tour/enums/enums.csproj +++ b/snippets/csharp/tour/enums/enums.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp1.0 + netcoreapp2.2 diff --git a/snippets/csharp/tour/hello/hello.csproj b/snippets/csharp/tour/hello/hello.csproj index 5e1611f89df..2eba7d9e8e3 100644 --- a/snippets/csharp/tour/hello/hello.csproj +++ b/snippets/csharp/tour/hello/hello.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp1.0 + netcoreapp2.2 diff --git a/snippets/csharp/tour/interfaces/interfaces.csproj b/snippets/csharp/tour/interfaces/interfaces.csproj index 5e1611f89df..2eba7d9e8e3 100644 --- a/snippets/csharp/tour/interfaces/interfaces.csproj +++ b/snippets/csharp/tour/interfaces/interfaces.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp1.0 + netcoreapp2.2 diff --git a/snippets/csharp/tour/program-structure/program-structure.csproj b/snippets/csharp/tour/program-structure/program-structure.csproj index 5e1611f89df..2eba7d9e8e3 100644 --- a/snippets/csharp/tour/program-structure/program-structure.csproj +++ b/snippets/csharp/tour/program-structure/program-structure.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp1.0 + netcoreapp2.2 diff --git a/snippets/csharp/tour/statements/statements.csproj b/snippets/csharp/tour/statements/statements.csproj index 5e1611f89df..2eba7d9e8e3 100644 --- a/snippets/csharp/tour/statements/statements.csproj +++ b/snippets/csharp/tour/statements/statements.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp1.0 + netcoreapp2.2 diff --git a/snippets/csharp/tour/structs/structs.csproj b/snippets/csharp/tour/structs/structs.csproj index 5e1611f89df..2eba7d9e8e3 100644 --- a/snippets/csharp/tour/structs/structs.csproj +++ b/snippets/csharp/tour/structs/structs.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp1.0 + netcoreapp2.2 diff --git a/snippets/csharp/tour/types-and-variables/types-and-variables.csproj b/snippets/csharp/tour/types-and-variables/types-and-variables.csproj index 5e1611f89df..2eba7d9e8e3 100644 --- a/snippets/csharp/tour/types-and-variables/types-and-variables.csproj +++ b/snippets/csharp/tour/types-and-variables/types-and-variables.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp1.0 + netcoreapp2.2 diff --git a/snippets/csharp/tutorials/attributes/attributes.csproj b/snippets/csharp/tutorials/attributes/attributes.csproj index 1915f6bad91..54c4be2e662 100644 --- a/snippets/csharp/tutorials/attributes/attributes.csproj +++ b/snippets/csharp/tutorials/attributes/attributes.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 \ No newline at end of file diff --git a/snippets/csharp/tutorials/string-interpolation/string-interpolation-tutorial.csproj b/snippets/csharp/tutorials/string-interpolation/string-interpolation-tutorial.csproj index ce1697ae883..21dff5ca2e4 100644 --- a/snippets/csharp/tutorials/string-interpolation/string-interpolation-tutorial.csproj +++ b/snippets/csharp/tutorials/string-interpolation/string-interpolation-tutorial.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/snippets/csharp/xunit-test/xunit-test.csproj b/snippets/csharp/xunit-test/xunit-test.csproj index 0ffd10766a7..c02f0094d4b 100644 --- a/snippets/csharp/xunit-test/xunit-test.csproj +++ b/snippets/csharp/xunit-test/xunit-test.csproj @@ -1,13 +1,13 @@ - netcoreapp2.1 + netcoreapp2.2 - - - + + + diff --git a/snippets/standard/buffers/memory-t/owner-using/owner-using.csproj b/snippets/standard/buffers/memory-t/owner-using/owner-using.csproj index 06450524573..3277e75d274 100644 --- a/snippets/standard/buffers/memory-t/owner-using/owner-using.csproj +++ b/snippets/standard/buffers/memory-t/owner-using/owner-using.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 Visual_Studio_Projects diff --git a/snippets/standard/buffers/memory-t/owner/owner.csproj b/snippets/standard/buffers/memory-t/owner/owner.csproj index 06450524573..3277e75d274 100644 --- a/snippets/standard/buffers/memory-t/owner/owner.csproj +++ b/snippets/standard/buffers/memory-t/owner/owner.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 Visual_Studio_Projects diff --git a/snippets/standard/buffers/memory-t/ownerless/ownerless.csproj b/snippets/standard/buffers/memory-t/ownerless/ownerless.csproj index 06450524573..3277e75d274 100644 --- a/snippets/standard/buffers/memory-t/ownerless/ownerless.csproj +++ b/snippets/standard/buffers/memory-t/ownerless/ownerless.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 Visual_Studio_Projects diff --git a/snippets/standard/buffers/memory-t/task-returning/task-returning.csproj b/snippets/standard/buffers/memory-t/task-returning/task-returning.csproj index 912509df752..735db8ba15a 100644 --- a/snippets/standard/buffers/memory-t/task-returning/task-returning.csproj +++ b/snippets/standard/buffers/memory-t/task-returning/task-returning.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 void_returning diff --git a/snippets/standard/buffers/memory-t/task-returning2/task-returning2.csproj b/snippets/standard/buffers/memory-t/task-returning2/task-returning2.csproj index 176a92de088..e5106438a48 100644 --- a/snippets/standard/buffers/memory-t/task-returning2/task-returning2.csproj +++ b/snippets/standard/buffers/memory-t/task-returning2/task-returning2.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 void_returning latest diff --git a/snippets/standard/buffers/memory-t/void-returning-async/void-returning-async.csproj b/snippets/standard/buffers/memory-t/void-returning-async/void-returning-async.csproj index 912509df752..735db8ba15a 100644 --- a/snippets/standard/buffers/memory-t/void-returning-async/void-returning-async.csproj +++ b/snippets/standard/buffers/memory-t/void-returning-async/void-returning-async.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 void_returning diff --git a/snippets/standard/buffers/memory-t/void-returning/void-returning.csproj b/snippets/standard/buffers/memory-t/void-returning/void-returning.csproj index 912509df752..735db8ba15a 100644 --- a/snippets/standard/buffers/memory-t/void-returning/void-returning.csproj +++ b/snippets/standard/buffers/memory-t/void-returning/void-returning.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 void_returning diff --git a/snippets/standard/io/io-exceptions/cs/io-exceptions.csproj b/snippets/standard/io/io-exceptions/cs/io-exceptions.csproj index 23df6047ff5..21dff5ca2e4 100644 --- a/snippets/standard/io/io-exceptions/cs/io-exceptions.csproj +++ b/snippets/standard/io/io-exceptions/cs/io-exceptions.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1 + netcoreapp2.2 diff --git a/snippets/standard/io/io-exceptions/vb/io-exceptions.vbproj b/snippets/standard/io/io-exceptions/vb/io-exceptions.vbproj index 176fac54323..865300210e8 100644 --- a/snippets/standard/io/io-exceptions/vb/io-exceptions.vbproj +++ b/snippets/standard/io/io-exceptions/vb/io-exceptions.vbproj @@ -3,7 +3,7 @@ Exe vb - netcoreapp2.1 + netcoreapp2.2 diff --git a/snippets/standard/serialization/is-serializable/csharp/test-serialization.csproj b/snippets/standard/serialization/is-serializable/csharp/test-serialization.csproj index 0da6183cd16..f09518d8b57 100644 --- a/snippets/standard/serialization/is-serializable/csharp/test-serialization.csproj +++ b/snippets/standard/serialization/is-serializable/csharp/test-serialization.csproj @@ -1,6 +1,6 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/snippets/standard/serialization/is-serializable/vb/test.serialization.vb.vbproj b/snippets/standard/serialization/is-serializable/vb/test.serialization.vb.vbproj index 0da6183cd16..f09518d8b57 100644 --- a/snippets/standard/serialization/is-serializable/vb/test.serialization.vb.vbproj +++ b/snippets/standard/serialization/is-serializable/vb/test.serialization.vb.vbproj @@ -1,6 +1,6 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/snippets/visualbasic/System.DateTime/SystemDateTimeReference.vbproj b/snippets/visualbasic/System.DateTime/SystemDateTimeReference.vbproj index ce1697ae883..21dff5ca2e4 100644 --- a/snippets/visualbasic/System.DateTime/SystemDateTimeReference.vbproj +++ b/snippets/visualbasic/System.DateTime/SystemDateTimeReference.vbproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/snippets/visualbasic/VS_Snippets_CLR/AddEventHandler/vb/vb.vbproj b/snippets/visualbasic/VS_Snippets_CLR/AddEventHandler/vb/vb.vbproj index 176fac54323..865300210e8 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/AddEventHandler/vb/vb.vbproj +++ b/snippets/visualbasic/VS_Snippets_CLR/AddEventHandler/vb/vb.vbproj @@ -3,7 +3,7 @@ Exe vb - netcoreapp2.1 + netcoreapp2.2 diff --git a/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_Class_Name/FieldBuilder.vbproj b/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_Class_Name/FieldBuilder.vbproj index f51b6cc1774..f49e9347a0d 100644 --- a/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_Class_Name/FieldBuilder.vbproj +++ b/snippets/visualbasic/VS_Snippets_CLR/FieldBuilder_Class_Name/FieldBuilder.vbproj @@ -3,7 +3,7 @@ Exe class_example_vb - netcoreapp2.1 + netcoreapp2.2 diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vbproj b/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vbproj index 97166b41bb1..daf6e927ac3 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vbproj +++ b/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Enumerable/VB/Enumerable.vbproj @@ -3,7 +3,7 @@ Exe VB - netcoreapp2.1;net472 + netcoreapp2.2;net472 \ No newline at end of file diff --git a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/vb/vb.vbproj b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/vb/vb.vbproj index b5a5b2694c2..adeefea895e 100644 --- a/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/vb/vb.vbproj +++ b/snippets/visualbasic/VS_Snippets_CLR_System/system.collections.generic.equalitycomparer.default/vb/vb.vbproj @@ -3,11 +3,11 @@ Exe vb - netcoreapp2.0;net45 + netcoreapp2.2;net45 - + diff --git a/snippets/visualbasic/api/system.xml.linq/xnode/readfrom/readfrom.vbproj b/snippets/visualbasic/api/system.xml.linq/xnode/readfrom/readfrom.vbproj index 69eeb1be925..4a922e9ada5 100644 --- a/snippets/visualbasic/api/system.xml.linq/xnode/readfrom/readfrom.vbproj +++ b/snippets/visualbasic/api/system.xml.linq/xnode/readfrom/readfrom.vbproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.1;net472 + netcoreapp2.2;net472 diff --git a/snippets/visualbasic/how-to/conversions/conversions.vbproj b/snippets/visualbasic/how-to/conversions/conversions.vbproj index ce1697ae883..21dff5ca2e4 100644 --- a/snippets/visualbasic/how-to/conversions/conversions.vbproj +++ b/snippets/visualbasic/how-to/conversions/conversions.vbproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 diff --git a/snippets/visualbasic/programming-guide/language-features/data-types/named-tuples/tupleinfer.vbproj b/snippets/visualbasic/programming-guide/language-features/data-types/named-tuples/tupleinfer.vbproj index 36a15067cca..43fdec9c79f 100644 --- a/snippets/visualbasic/programming-guide/language-features/data-types/named-tuples/tupleinfer.vbproj +++ b/snippets/visualbasic/programming-guide/language-features/data-types/named-tuples/tupleinfer.vbproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 15.3 diff --git a/snippets/visualbasic/programming-guide/language-features/passing-named-arguments/namedargs.vbproj b/snippets/visualbasic/programming-guide/language-features/passing-named-arguments/namedargs.vbproj index c0e1b34547e..86989563bd4 100644 --- a/snippets/visualbasic/programming-guide/language-features/passing-named-arguments/namedargs.vbproj +++ b/snippets/visualbasic/programming-guide/language-features/passing-named-arguments/namedargs.vbproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.2 15.5