diff --git a/TestAssets/TestProjects/AppWithBomGlobalJson/Program.cs b/TestAssets/TestProjects/AppWithBomGlobalJson/Program.cs deleted file mode 100644 index 51233cffa..000000000 --- a/TestAssets/TestProjects/AppWithBomGlobalJson/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class Program - { - public static void Main(string[] args) - { - Console.WriteLine("Hello World!"); - } - } -} diff --git a/TestAssets/TestProjects/AppWithBomGlobalJson/global.json b/TestAssets/TestProjects/AppWithBomGlobalJson/global.json deleted file mode 100644 index 22fdca1b2..000000000 --- a/TestAssets/TestProjects/AppWithBomGlobalJson/global.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/TestAssets/TestProjects/AppWithBomGlobalJson/project.json b/TestAssets/TestProjects/AppWithBomGlobalJson/project.json deleted file mode 100644 index 3004fec36..000000000 --- a/TestAssets/TestProjects/AppWithBomGlobalJson/project.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - }, - "frameworks": { - "netcoreapp1.0": {} - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - }, - "tools": { - "dotnet-portable": { - "version": "1.0.0", - "target": "package" - } - } -} diff --git a/TestAssets/TestProjects/AppWithDirectDepAndTypeBuild/Program.cs b/TestAssets/TestProjects/AppWithDirectDepAndTypeBuild/Program.cs deleted file mode 100644 index 51233cffa..000000000 --- a/TestAssets/TestProjects/AppWithDirectDepAndTypeBuild/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class Program - { - public static void Main(string[] args) - { - Console.WriteLine("Hello World!"); - } - } -} diff --git a/TestAssets/TestProjects/AppWithDirectDepAndTypeBuild/project.json b/TestAssets/TestProjects/AppWithDirectDepAndTypeBuild/project.json deleted file mode 100644 index 5c24e70d9..000000000 --- a/TestAssets/TestProjects/AppWithDirectDepAndTypeBuild/project.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "Microsoft.NETCore.App": { - "version": "1.0.1", - "type": "platform" - }, - "xunit.core": "2.1.0", - "xunit": { - "version": "2.1.0", - "type": "build" - } - }, - "frameworks": { - "netcoreapp1.0": { - "imports": [ - "portable-net451+win8" - ] - } - } -} diff --git a/TestAssets/TestProjects/AppWithNet46AndRoslyn/.noautobuild b/TestAssets/TestProjects/AppWithNet46AndRoslyn/.noautobuild deleted file mode 100644 index 8f7edc4ac..000000000 --- a/TestAssets/TestProjects/AppWithNet46AndRoslyn/.noautobuild +++ /dev/null @@ -1 +0,0 @@ -noautobuild \ No newline at end of file diff --git a/TestAssets/TestProjects/AppWithNet46AndRoslyn/Program.cs b/TestAssets/TestProjects/AppWithNet46AndRoslyn/Program.cs deleted file mode 100644 index d168553bf..000000000 --- a/TestAssets/TestProjects/AppWithNet46AndRoslyn/Program.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace AppWithNet46AndRoslyn -{ - public class MyApp - { - public static void Main() - { - System.Console.WriteLine("Hello, World!"); - } - } -} \ No newline at end of file diff --git a/TestAssets/TestProjects/AppWithNet46AndRoslyn/project.json b/TestAssets/TestProjects/AppWithNet46AndRoslyn/project.json deleted file mode 100644 index 45b4af175..000000000 --- a/TestAssets/TestProjects/AppWithNet46AndRoslyn/project.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "Microsoft.CodeAnalysis.CSharp": "2.0.0-beta6-60922-08" - }, - "frameworks": { - "net46": {} - } -} diff --git a/TestAssets/TestProjects/AppWithDirectDepAndTypeBuild/NuGet.Config b/TestAssets/TestProjects/AppWithToolDependency/NuGet.Config similarity index 100% rename from TestAssets/TestProjects/AppWithDirectDepAndTypeBuild/NuGet.Config rename to TestAssets/TestProjects/AppWithToolDependency/NuGet.Config diff --git a/TestAssets/TestProjects/CompileFail/.noautobuild b/TestAssets/TestProjects/CompileFail/.noautobuild deleted file mode 100644 index 8f7edc4ac..000000000 --- a/TestAssets/TestProjects/CompileFail/.noautobuild +++ /dev/null @@ -1 +0,0 @@ -noautobuild \ No newline at end of file diff --git a/TestAssets/TestProjects/CompileFail/Program.cs b/TestAssets/TestProjects/CompileFail/Program.cs deleted file mode 100644 index db6441503..000000000 --- a/TestAssets/TestProjects/CompileFail/Program.cs +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; - -namespace TestApp -{ - public class Program - { - public static void Main(string[] args) - { - this will not compile! - } - } -} diff --git a/TestAssets/TestProjects/CompileFail/project.json b/TestAssets/TestProjects/CompileFail/project.json deleted file mode 100644 index bfc37d9c7..000000000 --- a/TestAssets/TestProjects/CompileFail/project.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - }, - "frameworks": { - "netcoreapp1.0": {} - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/DependencyChangeTest/PortableApp_Standalone/.noautobuild b/TestAssets/TestProjects/DependencyChangeTest/PortableApp_Standalone/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/DependencyChangeTest/PortableApp_Standalone/Program.cs b/TestAssets/TestProjects/DependencyChangeTest/PortableApp_Standalone/Program.cs deleted file mode 100644 index fbe8e9b0e..000000000 --- a/TestAssets/TestProjects/DependencyChangeTest/PortableApp_Standalone/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace PortableApp -{ - public static class Program - { - public static void Main(string[] args) - { - Console.WriteLine("Hello, World!"); - } - } -} diff --git a/TestAssets/TestProjects/DependencyChangeTest/PortableApp_Standalone/project.json b/TestAssets/TestProjects/DependencyChangeTest/PortableApp_Standalone/project.json deleted file mode 100644 index 9541e743a..000000000 --- a/TestAssets/TestProjects/DependencyChangeTest/PortableApp_Standalone/project.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": {}, - "frameworks": { - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.1" - } - } - } - } -} diff --git a/TestAssets/TestProjects/DependencyChangeTest/PortableApp_Standalone/project.json.modified b/TestAssets/TestProjects/DependencyChangeTest/PortableApp_Standalone/project.json.modified deleted file mode 100644 index 1531be0a1..000000000 --- a/TestAssets/TestProjects/DependencyChangeTest/PortableApp_Standalone/project.json.modified +++ /dev/null @@ -1,29 +0,0 @@ -{ - "compilationOptions": { - "emitEntryPoint": true - }, - "dependencies": {}, - "frameworks": { - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": { - "version": "1.0.0-rc3-*" - } - } - } - }, - - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/DependencyContextValidator/DependencyContextValidator/.noautobuild b/TestAssets/TestProjects/DependencyContextValidator/DependencyContextValidator/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/DependencyContextValidator/DependencyContextValidator/DependencyContextValidator.xproj b/TestAssets/TestProjects/DependencyContextValidator/DependencyContextValidator/DependencyContextValidator.xproj deleted file mode 100644 index c827617ac..000000000 --- a/TestAssets/TestProjects/DependencyContextValidator/DependencyContextValidator/DependencyContextValidator.xproj +++ /dev/null @@ -1,19 +0,0 @@ - - - - 14.0.24720 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - 6d84ef36-a5d5-4eaf-b38b-ced635473785 - DependencyContextValidator - ..\..\..\..\artifacts\obj\$(MSBuildProjectName) - ..\..\..\..\artifacts\bin\$(MSBuildProjectName)\ - - - - 2.0 - - - \ No newline at end of file diff --git a/TestAssets/TestProjects/DependencyContextValidator/DependencyContextValidator/Validator.cs b/TestAssets/TestProjects/DependencyContextValidator/DependencyContextValidator/Validator.cs deleted file mode 100644 index 67b37bac3..000000000 --- a/TestAssets/TestProjects/DependencyContextValidator/DependencyContextValidator/Validator.cs +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; -using System.IO; -using System.Linq; -using System.Reflection; -using System.Collections.Generic; - -namespace Microsoft.Extensions.DependencyModel -{ - public static class DependencyContextValidator - { - private static void Error(string message) - { - throw new InvalidOperationException(message); - } - - private static void CheckMetadata(Library library) - { - if (string.Equals(library.Type, "package", StringComparison.OrdinalIgnoreCase)) - { - if (string.IsNullOrWhiteSpace(library.Name) || - string.IsNullOrWhiteSpace(library.Hash) || - string.IsNullOrWhiteSpace(library.Version)) - { - Error($"Empty metadata for {library.GetType().ToString()} {library.Name}"); - } - } - } - - public static void Validate(bool full) - { - var context = DependencyContext.Default; - if (full) - { - if (!context.CompileLibraries.Any()) - { - Error("Compilation libraries empty"); - } - foreach (var compilationLibrary in context.CompileLibraries) - { - CheckMetadata(compilationLibrary); - var resolvedPaths = compilationLibrary.ResolveReferencePaths(); - foreach (var resolvedPath in resolvedPaths) - { - Console.WriteLine($"Compilation {compilationLibrary.Name}:{Path.GetFileName(resolvedPath)}"); - if (!File.Exists(resolvedPath)) - { - Error($"Compilation library resolved to non existent path {resolvedPath}"); - } - } - } - } - - foreach (var runtimeLibrary in context.RuntimeLibraries) - { - CheckMetadata(runtimeLibrary); - foreach (var native in runtimeLibrary.GetDefaultNativeAssets(context)) {} - foreach (var assembly in runtimeLibrary.GetDefaultAssemblyNames(context)) { - Console.WriteLine($"Runtime {runtimeLibrary.Name}:{assembly.Name}"); - } - } - - foreach (var native in context.GetDefaultNativeAssets()) {} - - foreach (var name in context.GetDefaultAssemblyNames()) - { - var assembly = Assembly.Load(name); - } - } - } -} diff --git a/TestAssets/TestProjects/DependencyContextValidator/DependencyContextValidator/project.json b/TestAssets/TestProjects/DependencyContextValidator/DependencyContextValidator/project.json deleted file mode 100644 index f234a569c..000000000 --- a/TestAssets/TestProjects/DependencyContextValidator/DependencyContextValidator/project.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": { - "Microsoft.Extensions.DependencyModel": "1.0.1-beta-000933" - }, - "frameworks": { - "netstandard1.6": { - "imports": "dnxcore50", - "dependencies": { - "NETStandard.Library": "1.6.0" - } - }, - "net451": {} - } -} diff --git a/TestAssets/TestProjects/DependencyContextValidator/TestApp/Program.cs b/TestAssets/TestProjects/DependencyContextValidator/TestApp/Program.cs deleted file mode 100644 index 28b8f8435..000000000 --- a/TestAssets/TestProjects/DependencyContextValidator/TestApp/Program.cs +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; -using System.Diagnostics; - -namespace TestApp -{ - public class Program - { - public static void Main(string[] args) - { - Microsoft.Extensions.DependencyModel.DependencyContextValidator.Validate(true); - } - } -} diff --git a/TestAssets/TestProjects/DependencyContextValidator/TestApp/project.json b/TestAssets/TestProjects/DependencyContextValidator/TestApp/project.json deleted file mode 100644 index 6aaca921d..000000000 --- a/TestAssets/TestProjects/DependencyContextValidator/TestApp/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true, - "preserveCompilationContext": true - }, - "dependencies": { - "Microsoft.NETCore.App": "1.0.1", - "DependencyContextValidator": "1.0.0-*" - }, - "frameworks": { - "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net45+win8" - ] - } - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/DependencyContextValidator/TestAppDeps/Program.cs b/TestAssets/TestProjects/DependencyContextValidator/TestAppDeps/Program.cs deleted file mode 100644 index 504c9a5bd..000000000 --- a/TestAssets/TestProjects/DependencyContextValidator/TestAppDeps/Program.cs +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; -using System.Diagnostics; - -namespace TestApp -{ - public class Program - { - public static void Main(string[] args) - { - Microsoft.Extensions.DependencyModel.DependencyContextValidator.Validate(false); - } - } -} diff --git a/TestAssets/TestProjects/DependencyContextValidator/TestAppDeps/project.json b/TestAssets/TestProjects/DependencyContextValidator/TestAppDeps/project.json deleted file mode 100644 index accb0b1e1..000000000 --- a/TestAssets/TestProjects/DependencyContextValidator/TestAppDeps/project.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "Microsoft.NETCore.App": "1.0.1", - "DependencyContextValidator": "1.0.0-*" - }, - "frameworks": { - "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net45+win8" - ] - } - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/DependencyContextValidator/TestAppFullClr/.noautobuild b/TestAssets/TestProjects/DependencyContextValidator/TestAppFullClr/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/DependencyContextValidator/TestAppFullClr/Program.cs b/TestAssets/TestProjects/DependencyContextValidator/TestAppFullClr/Program.cs deleted file mode 100644 index 28b8f8435..000000000 --- a/TestAssets/TestProjects/DependencyContextValidator/TestAppFullClr/Program.cs +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; -using System.Diagnostics; - -namespace TestApp -{ - public class Program - { - public static void Main(string[] args) - { - Microsoft.Extensions.DependencyModel.DependencyContextValidator.Validate(true); - } - } -} diff --git a/TestAssets/TestProjects/DependencyContextValidator/TestAppFullClr/project.json b/TestAssets/TestProjects/DependencyContextValidator/TestAppFullClr/project.json deleted file mode 100644 index 002b9d168..000000000 --- a/TestAssets/TestProjects/DependencyContextValidator/TestAppFullClr/project.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true, - "preserveCompilationContext": true - }, - "dependencies": { - "DependencyContextValidator": "1.0.0-*", - "System.Diagnostics.Process": { - "version": "4.1.0", - "type": "build" - } - }, - "frameworks": { - "net46": {} - } -} diff --git a/TestAssets/TestProjects/DependencyContextValidator/TestAppPortable/.noautobuild b/TestAssets/TestProjects/DependencyContextValidator/TestAppPortable/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/DependencyContextValidator/TestAppPortable/Program.cs b/TestAssets/TestProjects/DependencyContextValidator/TestAppPortable/Program.cs deleted file mode 100644 index 28b8f8435..000000000 --- a/TestAssets/TestProjects/DependencyContextValidator/TestAppPortable/Program.cs +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; -using System.Diagnostics; - -namespace TestApp -{ - public class Program - { - public static void Main(string[] args) - { - Microsoft.Extensions.DependencyModel.DependencyContextValidator.Validate(true); - } - } -} diff --git a/TestAssets/TestProjects/DependencyContextValidator/TestAppPortable/project.json b/TestAssets/TestProjects/DependencyContextValidator/TestAppPortable/project.json deleted file mode 100644 index 53a013650..000000000 --- a/TestAssets/TestProjects/DependencyContextValidator/TestAppPortable/project.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true, - "preserveCompilationContext": true - }, - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.1" - }, - "DependencyContextValidator": "1.0.0-*" - }, - "frameworks": { - "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net45+win8" - ] - } - } -} diff --git a/TestAssets/TestProjects/DependencyContextValidator/TestAppPortableDeps/.noautobuild b/TestAssets/TestProjects/DependencyContextValidator/TestAppPortableDeps/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/DependencyContextValidator/TestAppPortableDeps/Program.cs b/TestAssets/TestProjects/DependencyContextValidator/TestAppPortableDeps/Program.cs deleted file mode 100644 index 28b8f8435..000000000 --- a/TestAssets/TestProjects/DependencyContextValidator/TestAppPortableDeps/Program.cs +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; -using System.Diagnostics; - -namespace TestApp -{ - public class Program - { - public static void Main(string[] args) - { - Microsoft.Extensions.DependencyModel.DependencyContextValidator.Validate(true); - } - } -} diff --git a/TestAssets/TestProjects/DependencyContextValidator/TestAppPortableDeps/project.json b/TestAssets/TestProjects/DependencyContextValidator/TestAppPortableDeps/project.json deleted file mode 100644 index f7f8d0c71..000000000 --- a/TestAssets/TestProjects/DependencyContextValidator/TestAppPortableDeps/project.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.1" - }, - "DependencyContextValidator": "1.0.0-*" - }, - "frameworks": { - "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net45+win8" - ] - } - } -} diff --git a/TestAssets/TestProjects/DependencyContextValidator/global.json b/TestAssets/TestProjects/DependencyContextValidator/global.json deleted file mode 100644 index 0c1944453..000000000 --- a/TestAssets/TestProjects/DependencyContextValidator/global.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "projects": [ ".", "../../../src" ] -} \ No newline at end of file diff --git a/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestApp/.noautobuild b/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestApp/.noautobuild deleted file mode 100644 index 8f7edc4ac..000000000 --- a/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestApp/.noautobuild +++ /dev/null @@ -1 +0,0 @@ -noautobuild \ No newline at end of file diff --git a/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestApp/Program.cs b/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestApp/Program.cs deleted file mode 100644 index ad47172f7..000000000 --- a/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestApp/Program.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace TestApp -{ - public class Program - { - public static int Main(string[] args) - { - return 0; - } - } -} \ No newline at end of file diff --git a/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestApp/project.json b/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestApp/project.json deleted file mode 100644 index 25e317a8b..000000000 --- a/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestApp/project.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "version": "1.0.0", - "dependencies": { - "TestLibrary": "1.0.0", - "System.IO.Compression": "4.1.0" - }, - "frameworks": { - "net461": {} - } -} diff --git a/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestLibrary/.noautobuild b/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestLibrary/.noautobuild deleted file mode 100644 index 8f7edc4ac..000000000 --- a/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestLibrary/.noautobuild +++ /dev/null @@ -1 +0,0 @@ -noautobuild \ No newline at end of file diff --git a/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestLibrary/Program.cs b/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestLibrary/Program.cs deleted file mode 100644 index 402c79df7..000000000 --- a/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestLibrary/Program.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace TestLibrary -{ - public class Program - { - public static int Main(string[] args) - { - return 0; - } - } -} \ No newline at end of file diff --git a/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestLibrary/project.json b/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestLibrary/project.json deleted file mode 100644 index eb5e24be6..000000000 --- a/TestAssets/TestProjects/DuplicatedReferenceAssembly/TestLibrary/project.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "version": "1.0.0", - "frameworks": { - "net461": { - "frameworkAssemblies": { - "System.IO.Compression": "" - } - } - } -} diff --git a/TestAssets/TestProjects/DuplicatedReferenceAssembly/global.json b/TestAssets/TestProjects/DuplicatedReferenceAssembly/global.json deleted file mode 100644 index ffcd4415b..000000000 --- a/TestAssets/TestProjects/DuplicatedReferenceAssembly/global.json +++ /dev/null @@ -1 +0,0 @@ -{ } diff --git a/TestAssets/TestProjects/EndToEndTestApp/Program.cs b/TestAssets/TestProjects/EndToEndTestApp/Program.cs deleted file mode 100644 index 28e184cb5..000000000 --- a/TestAssets/TestProjects/EndToEndTestApp/Program.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class Program - { - public static int Main(string[] args) - { - Console.WriteLine("Hello World!"); - return 100; - } - } -} diff --git a/TestAssets/TestProjects/EndToEndTestApp/copy/file.txt b/TestAssets/TestProjects/EndToEndTestApp/copy/file.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/EndToEndTestApp/copy/fileex.txt b/TestAssets/TestProjects/EndToEndTestApp/copy/fileex.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/EndToEndTestApp/defaultresource.resx b/TestAssets/TestProjects/EndToEndTestApp/defaultresource.resx deleted file mode 100644 index 8db59de8e..000000000 --- a/TestAssets/TestProjects/EndToEndTestApp/defaultresource.resx +++ /dev/null @@ -1,4 +0,0 @@ - - -Some content - \ No newline at end of file diff --git a/TestAssets/TestProjects/EndToEndTestApp/packfiles/pack1.txt b/TestAssets/TestProjects/EndToEndTestApp/packfiles/pack1.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/EndToEndTestApp/packfiles/pack2.txt b/TestAssets/TestProjects/EndToEndTestApp/packfiles/pack2.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/EndToEndTestApp/project.json b/TestAssets/TestProjects/EndToEndTestApp/project.json deleted file mode 100644 index b4559fd35..000000000 --- a/TestAssets/TestProjects/EndToEndTestApp/project.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true, - "embed": { - "include": "*.resx", - "mappings": { - "myresource.resx": "resource2.resx" - } - }, - "copyToOutput": { - "include": "copy/*.txt", - "excludeFiles": "copy/fileex.txt" - } - }, - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - }, - "packOptions": { - "files": { - "includeFiles": "packfiles/pack1.txt", - "mappings": { - "newpath/": "packfiles/pack2.txt", - "anotherpath/": "packfiles/pack2.txt" - } - } - }, - "publishOptions": [ "testpublishfile.txt", "publishfiles" ], - "frameworks": { - "netcoreapp1.0": {} - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/EndToEndTestApp/publishfiles/anotherpublishfile.txt b/TestAssets/TestProjects/EndToEndTestApp/publishfiles/anotherpublishfile.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/EndToEndTestApp/resource1.resx b/TestAssets/TestProjects/EndToEndTestApp/resource1.resx deleted file mode 100644 index 8db59de8e..000000000 --- a/TestAssets/TestProjects/EndToEndTestApp/resource1.resx +++ /dev/null @@ -1,4 +0,0 @@ - - -Some content - \ No newline at end of file diff --git a/TestAssets/TestProjects/EndToEndTestApp/resource2.resx b/TestAssets/TestProjects/EndToEndTestApp/resource2.resx deleted file mode 100644 index 8db59de8e..000000000 --- a/TestAssets/TestProjects/EndToEndTestApp/resource2.resx +++ /dev/null @@ -1,4 +0,0 @@ - - -Some content - \ No newline at end of file diff --git a/TestAssets/TestProjects/EndToEndTestApp/testpublishfile.txt b/TestAssets/TestProjects/EndToEndTestApp/testpublishfile.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/FSharpTestProjects/CompileFailApp/.noautobuild b/TestAssets/TestProjects/FSharpTestProjects/CompileFailApp/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/FSharpTestProjects/CompileFailApp/Program.fs b/TestAssets/TestProjects/FSharpTestProjects/CompileFailApp/Program.fs deleted file mode 100644 index 1de27c2ae..000000000 --- a/TestAssets/TestProjects/FSharpTestProjects/CompileFailApp/Program.fs +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -namespace TestApp - -open System -open System.Diagnostics - -module Program = - - [] - let Main (args: string array) = - this will not compile ! - - 0 diff --git a/TestAssets/TestProjects/FSharpTestProjects/CompileFailApp/project.json b/TestAssets/TestProjects/FSharpTestProjects/CompileFailApp/project.json deleted file mode 100644 index 8aba9aeba..000000000 --- a/TestAssets/TestProjects/FSharpTestProjects/CompileFailApp/project.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true, - "compilerName": "fsc", - "compile": { - "includeFiles": [ - "Program.fs" - ] - } - }, - "dependencies": { - "Microsoft.FSharp.Core.netcore": "1.0.0-alpha-160509", - "Microsoft.NETCore.App": "1.0.1" - }, - "tools": { - "dotnet-compile-fsc": { - "version": "1.0.0-preview2-*", - "imports": [ - "dnxcore50", - "portable-net45+win81", - "netstandard1.3" - ] - } - }, - "frameworks": { - "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "netstandard1.3" - ] - } - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/FSharpTestProjects/TestAppWithArgs/.noautobuild b/TestAssets/TestProjects/FSharpTestProjects/TestAppWithArgs/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/FSharpTestProjects/TestAppWithArgs/Program.fs b/TestAssets/TestProjects/FSharpTestProjects/TestAppWithArgs/Program.fs deleted file mode 100644 index d1ae072a7..000000000 --- a/TestAssets/TestProjects/FSharpTestProjects/TestAppWithArgs/Program.fs +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -namespace TestApp - -open System -open System.Diagnostics - -module Program = - - [] - let Main args = - printfn "Hello World!" - - printfn "I was passed %d args:" args.Length - - args |> Array.iter (printfn "arg: [%s]") - - 0 diff --git a/TestAssets/TestProjects/FSharpTestProjects/TestAppWithArgs/project.json b/TestAssets/TestProjects/FSharpTestProjects/TestAppWithArgs/project.json deleted file mode 100644 index 59f04e96a..000000000 --- a/TestAssets/TestProjects/FSharpTestProjects/TestAppWithArgs/project.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true, - "compilerName": "fsc", - "compile": { - "includeFiles": [ - "Program.fs" - ] - } - }, - "dependencies": { - "Microsoft.FSharp.Core.netcore": "1.0.0-alpha-160509", - "Microsoft.NETCore.App": "1.0.1" - }, - "tools": { - "dotnet-compile-fsc": { - "version": "1.0.0-preview2-*", - "imports": [ - "dnxcore50", - "portable-net45+win81", - "netstandard1.3" - ] - } - }, - "frameworks": { - "netcoreapp1.0": { - "imports": "dnxcore50" - } - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/KestrelSample/KestrelPortable/.noautobuild b/TestAssets/TestProjects/KestrelSample/KestrelPortable/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/KestrelSample/KestrelPortable/project.json b/TestAssets/TestProjects/KestrelSample/KestrelPortable/project.json deleted file mode 100644 index 9140a9729..000000000 --- a/TestAssets/TestProjects/KestrelSample/KestrelPortable/project.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": { - "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-20113", - "Microsoft.AspNetCore.Hosting": "1.0.0-rc2-20113", - "Microsoft.Extensions.Logging.Console": "1.0.0-rc2-20254" - }, - "buildOptions": { - "emitEntryPoint": true, - "compile": { - "include": [ - "../src/*.cs" - ] - } - }, - "frameworks": { - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.1" - } - }, - "imports": [ - "dnxcore50", - "portable-net45+win8" - ] - } - } -} diff --git a/TestAssets/TestProjects/KestrelSample/KestrelStandalone/.noautobuild b/TestAssets/TestProjects/KestrelSample/KestrelStandalone/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/KestrelSample/KestrelStandalone/project.json b/TestAssets/TestProjects/KestrelSample/KestrelStandalone/project.json deleted file mode 100644 index 3c948d97f..000000000 --- a/TestAssets/TestProjects/KestrelSample/KestrelStandalone/project.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": { - "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-20113", - "Microsoft.AspNetCore.Hosting": "1.0.0-rc2-20113", - "Microsoft.Extensions.Logging.Console": "1.0.0-rc2-20254" - }, - "buildOptions": { - "emitEntryPoint": true, - "compile": { - "include": [ - "../src/*.cs" - ] - } - }, - "frameworks": { - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - }, - "imports": [ - "dnxcore50", - "portable-net45+win8" - ] - } - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/KestrelSample/src/Startup.cs b/TestAssets/TestProjects/KestrelSample/src/Startup.cs deleted file mode 100644 index 4015cb438..000000000 --- a/TestAssets/TestProjects/KestrelSample/src/Startup.cs +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. - -using System; -using System.IO; -using System.Security.Cryptography.X509Certificates; -using System.Threading; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Server.Kestrel; -using Microsoft.AspNetCore.Server.Kestrel.Filter; -using Microsoft.Extensions.Logging; - -namespace SampleApp -{ - public class Startup - { - private static string Args { get; set; } - private static CancellationTokenSource ServerCancellationTokenSource { get; set; } - - public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) - { - var ksi = app.ServerFeatures.Get(); - ksi.NoDelay = true; - - loggerFactory.AddConsole(LogLevel.Error); - - app.UseKestrelConnectionLogging(); - - app.Run(async context => - { - Console.WriteLine("{0} {1}{2}{3}", - context.Request.Method, - context.Request.PathBase, - context.Request.Path, - context.Request.QueryString); - Console.WriteLine($"Method: {context.Request.Method}"); - Console.WriteLine($"PathBase: {context.Request.PathBase}"); - Console.WriteLine($"Path: {context.Request.Path}"); - Console.WriteLine($"QueryString: {context.Request.QueryString}"); - - var connectionFeature = context.Connection; - Console.WriteLine($"Peer: {connectionFeature.RemoteIpAddress?.ToString()} {connectionFeature.RemotePort}"); - Console.WriteLine($"Sock: {connectionFeature.LocalIpAddress?.ToString()} {connectionFeature.LocalPort}"); - - var content = $"Hello world!{Environment.NewLine}Received '{Args}' from command line."; - context.Response.ContentLength = content.Length; - context.Response.ContentType = "text/plain"; - await context.Response.WriteAsync(content); - }); - } - - public static int Main(string[] args) - { - if (args.Length == 0) - { - Console.WriteLine("KestrelHelloWorld "); - return 1; - } - - var url = new Uri(args[0]); - Args = string.Join(" ", args); - - var host = new WebHostBuilder() - .UseServer("Microsoft.AspNetCore.Server.Kestrel") - .UseUrls(url.ToString()) - .UseStartup() - .Build(); - - ServerCancellationTokenSource = new CancellationTokenSource(); - - // shutdown server after 20s. - var shutdownTask = Task.Run(async () => - { - await Task.Delay(20000); - ServerCancellationTokenSource.Cancel(); - }); - - host.Run(ServerCancellationTokenSource.Token); - shutdownTask.Wait(); - - return 0; - } - } -} diff --git a/TestAssets/TestProjects/MSBuildTestApp/NuGet.Config b/TestAssets/TestProjects/MSBuildTestApp/NuGet.Config new file mode 100644 index 000000000..b8e876fcb --- /dev/null +++ b/TestAssets/TestProjects/MSBuildTestApp/NuGet.Config @@ -0,0 +1,6 @@ + + + + + + diff --git a/TestAssets/TestProjects/OutputStandardOutputAndError/OutputStandardOutputAndError.xproj b/TestAssets/TestProjects/OutputStandardOutputAndError/OutputStandardOutputAndError.xproj deleted file mode 100644 index ee6ccb69d..000000000 --- a/TestAssets/TestProjects/OutputStandardOutputAndError/OutputStandardOutputAndError.xproj +++ /dev/null @@ -1,20 +0,0 @@ - - - - 14.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - - 58808bbc-371e-47d6-a3d0-4902145eda4e - OutputStandardOutputAndError - ..\..\artifacts\obj\$(MSBuildProjectName) - ..\..\artifacts\bin\$(MSBuildProjectName)\ - - - - 2.0 - - - diff --git a/TestAssets/TestProjects/OutputStandardOutputAndError/Program.cs b/TestAssets/TestProjects/OutputStandardOutputAndError/Program.cs deleted file mode 100644 index 07c3e376d..000000000 --- a/TestAssets/TestProjects/OutputStandardOutputAndError/Program.cs +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; -using System.Diagnostics; - -namespace TestApp -{ - public class Program - { - public static void Main(string[] args) - { - Console.Out.WriteLine("** Standard Out 1 **"); - Console.Error.WriteLine("** Standard Error 1 **"); - Console.Out.WriteLine("** Standard Out 2 **"); - Console.Error.WriteLine("** Standard Error 2 **"); - } - } -} diff --git a/TestAssets/TestProjects/OutputStandardOutputAndError/project.json b/TestAssets/TestProjects/OutputStandardOutputAndError/project.json deleted file mode 100644 index bfc37d9c7..000000000 --- a/TestAssets/TestProjects/OutputStandardOutputAndError/project.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - }, - "frameworks": { - "netcoreapp1.0": {} - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/PortableTests/PortableApp/.noautobuild b/TestAssets/TestProjects/PortableTests/PortableApp/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/PortableTests/PortableApp/Program.cs b/TestAssets/TestProjects/PortableTests/PortableApp/Program.cs deleted file mode 100644 index fbe8e9b0e..000000000 --- a/TestAssets/TestProjects/PortableTests/PortableApp/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace PortableApp -{ - public static class Program - { - public static void Main(string[] args) - { - Console.WriteLine("Hello, World!"); - } - } -} diff --git a/TestAssets/TestProjects/PortableTests/PortableApp/project.json b/TestAssets/TestProjects/PortableTests/PortableApp/project.json deleted file mode 100644 index bcb80b615..000000000 --- a/TestAssets/TestProjects/PortableTests/PortableApp/project.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": {}, - "frameworks": { - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.1" - } - } - } - }, - "runtimeOptions": { - "somethingString": "anything", - "somethingBoolean": true, - "someArray": [ - "one", - "two" - ], - "someObject": { - "someProperty": "someValue" - } - } -} diff --git a/TestAssets/TestProjects/PortableTests/PortableAppCompilationContext/.noautobuild b/TestAssets/TestProjects/PortableTests/PortableAppCompilationContext/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/PortableTests/PortableAppCompilationContext/Program.cs b/TestAssets/TestProjects/PortableTests/PortableAppCompilationContext/Program.cs deleted file mode 100644 index fbe8e9b0e..000000000 --- a/TestAssets/TestProjects/PortableTests/PortableAppCompilationContext/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace PortableApp -{ - public static class Program - { - public static void Main(string[] args) - { - Console.WriteLine("Hello, World!"); - } - } -} diff --git a/TestAssets/TestProjects/PortableTests/PortableAppCompilationContext/project.json b/TestAssets/TestProjects/PortableTests/PortableAppCompilationContext/project.json deleted file mode 100644 index ba15098cb..000000000 --- a/TestAssets/TestProjects/PortableTests/PortableAppCompilationContext/project.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "buildOptions": { - "emitEntryPoint": true, - "preserveCompilationContext": true - }, - "dependencies": { - "Microsoft.CodeAnalysis.CSharp": "2.0.0-beta6-60922-08" - }, - "frameworks": { - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.1" - } - } - } - } -} diff --git a/TestAssets/TestProjects/PortableTests/PortableAppWithIntentionalManagedDowngrade/.noautobuild b/TestAssets/TestProjects/PortableTests/PortableAppWithIntentionalManagedDowngrade/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/PortableTests/PortableAppWithIntentionalManagedDowngrade/.noautoupdate b/TestAssets/TestProjects/PortableTests/PortableAppWithIntentionalManagedDowngrade/.noautoupdate deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/PortableTests/PortableAppWithIntentionalManagedDowngrade/Program.cs b/TestAssets/TestProjects/PortableTests/PortableAppWithIntentionalManagedDowngrade/Program.cs deleted file mode 100644 index fbe8e9b0e..000000000 --- a/TestAssets/TestProjects/PortableTests/PortableAppWithIntentionalManagedDowngrade/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace PortableApp -{ - public static class Program - { - public static void Main(string[] args) - { - Console.WriteLine("Hello, World!"); - } - } -} diff --git a/TestAssets/TestProjects/PortableTests/PortableAppWithIntentionalManagedDowngrade/project.json b/TestAssets/TestProjects/PortableTests/PortableAppWithIntentionalManagedDowngrade/project.json deleted file mode 100644 index 3e520b7e6..000000000 --- a/TestAssets/TestProjects/PortableTests/PortableAppWithIntentionalManagedDowngrade/project.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": {}, - "frameworks": { - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.0-rc3-004306" - }, - "System.Linq": "4.0.0" - }, - "imports": "dnxcore50" - } - } -} \ No newline at end of file diff --git a/TestAssets/TestProjects/PortableTests/PortableAppWithNative/.noautobuild b/TestAssets/TestProjects/PortableTests/PortableAppWithNative/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/PortableTests/PortableAppWithNative/Program.cs b/TestAssets/TestProjects/PortableTests/PortableAppWithNative/Program.cs deleted file mode 100644 index 01b2c06d5..000000000 --- a/TestAssets/TestProjects/PortableTests/PortableAppWithNative/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace PortableAppWithNative -{ - public static class Program - { - public static void Main(string[] args) - { - Console.WriteLine("Hello, World!"); - } - } -} diff --git a/TestAssets/TestProjects/PortableTests/PortableAppWithNative/project.json b/TestAssets/TestProjects/PortableTests/PortableAppWithNative/project.json deleted file mode 100644 index f9a70e5d8..000000000 --- a/TestAssets/TestProjects/PortableTests/PortableAppWithNative/project.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "buildOptions": { - "emitEntryPoint": true - }, - "frameworks": { - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.1" - }, - "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*", - "Libuv": "1.9.0-rc2-20896" - }, - "imports": "dnxcore50" - } - } -} diff --git a/TestAssets/TestProjects/PortableTests/StandaloneApp/.noautobuild b/TestAssets/TestProjects/PortableTests/StandaloneApp/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/PortableTests/StandaloneApp/Program.cs b/TestAssets/TestProjects/PortableTests/StandaloneApp/Program.cs deleted file mode 100644 index 529893b0e..000000000 --- a/TestAssets/TestProjects/PortableTests/StandaloneApp/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace StandaloneApp -{ - public static class Program - { - public static void Main(string[] args) - { - Console.WriteLine("Hello, World!"); - } - } -} diff --git a/TestAssets/TestProjects/PortableTests/StandaloneApp/project.json b/TestAssets/TestProjects/PortableTests/StandaloneApp/project.json deleted file mode 100644 index 454790817..000000000 --- a/TestAssets/TestProjects/PortableTests/StandaloneApp/project.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "buildOptions": { - "emitEntryPoint": true - }, - "frameworks": { - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - } - } - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - }, - "runtimeOptions": { - "somethingString": "anything", - "somethingBoolean": true, - "someArray": [ - "one", - "two" - ], - "someObject": { - "someProperty": "someValue" - } - } -} diff --git a/TestAssets/TestProjects/ProjectsWithTests/MultipleFrameworkProject/GivenThatIWantSomeFakeTests.cs b/TestAssets/TestProjects/ProjectsWithTests/MultipleFrameworkProject/GivenThatIWantSomeFakeTests.cs deleted file mode 100644 index 4be559988..000000000 --- a/TestAssets/TestProjects/ProjectsWithTests/MultipleFrameworkProject/GivenThatIWantSomeFakeTests.cs +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; -using Xunit; - -namespace FakeTests -{ - public class GivenThatIWantSomeFakeTests - { -#if NET46 - [Fact] - public void NET46_succeeds() - { - Assert.True(true); - } - - [Fact(Skip="Skipped for NET46")] - public void SkippedTest() - { - - } -#else - [Fact] - public void NETCOREAPP_succeeds() - { - Assert.True(true); - } - - [Fact(Skip="Skipped for NETCOREAPP1.0")] - public void SkippedTest() - { - - } -#endif - - [Fact] - public void Common_succeeds() - { - Assert.True(true); - } - - [Fact] - public void Fails_IfEnvironmentVariableIsSet() - { - var shouldFail = string.IsNullOrEmpty(Environment.GetEnvironmentVariable("DOTNET_TEST_SHOULD_FAIL")); - -#if NET46 - Assert.True(shouldFail, "Failing in NET46"); -#else - Assert.True(shouldFail, "Failing in NETCOREAPP1.0"); -#endif - } - } -} \ No newline at end of file diff --git a/TestAssets/TestProjects/ProjectsWithTests/MultipleFrameworkProject/project.json b/TestAssets/TestProjects/ProjectsWithTests/MultipleFrameworkProject/project.json deleted file mode 100644 index 62abd5eb1..000000000 --- a/TestAssets/TestProjects/ProjectsWithTests/MultipleFrameworkProject/project.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": { - "dotnet-test-xunit": "1.0.0-rc2-350904-49", - "xunit": "2.2.0-beta3-build3330" - }, - "frameworks": { - "netcoreapp1.0": { - "imports": [ - "dotnet", - "portable-dnxcore50+net45+win8+wp8+wpa81", - "portable-net45+win8" - ], - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.1" - }, - "System.Linq.Expressions": "4.1.0", - "System.Runtime.Serialization.Primitives": "4.1.1" - } - }, - "net46": { - "dependencies": { - "System.IO.FileSystem": "4.0.1" - } - } - }, - "testRunner": "xunit" -} diff --git a/TestAssets/TestProjects/ProjectsWithTests/NetCoreAppOnlyProject/GivenThatIWantSomeFakeTests.cs b/TestAssets/TestProjects/ProjectsWithTests/NetCoreAppOnlyProject/GivenThatIWantSomeFakeTests.cs deleted file mode 100644 index 89b256e3f..000000000 --- a/TestAssets/TestProjects/ProjectsWithTests/NetCoreAppOnlyProject/GivenThatIWantSomeFakeTests.cs +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using Xunit; - -namespace FakeTests -{ - public class GivenThatIWantSomeFakeTests - { - [Fact] - public void It_succeeds() - { - Assert.True(true); - } - - [Fact] - public void It_also_succeeds() - { - Assert.True(true); - } - } -} \ No newline at end of file diff --git a/TestAssets/TestProjects/ProjectsWithTests/NetCoreAppOnlyProject/project.json b/TestAssets/TestProjects/ProjectsWithTests/NetCoreAppOnlyProject/project.json deleted file mode 100644 index f131d77c9..000000000 --- a/TestAssets/TestProjects/ProjectsWithTests/NetCoreAppOnlyProject/project.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.1" - }, - "System.Linq.Expressions": "4.1.0", - "System.Runtime.Serialization.Primitives": "4.1.1", - "xunit": "2.2.0-beta3-build3330", - "dotnet-test-xunit": "1.0.0-rc2-350904-49", - "Microsoft.DotNet.InternalAbstractions": { - "target": "project" - } - }, - "frameworks": { - "netcoreapp1.0": { - "imports": [ - "netstandardapp1.5", - "dnxcore50", - "portable-net45+win8" - ] - } - }, - "testRunner": "xunit" -} diff --git a/TestAssets/TestProjects/ResourcesTests/TestApp/.noautobuild b/TestAssets/TestProjects/ResourcesTests/TestApp/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/ResourcesTests/TestApp/Program.cs b/TestAssets/TestProjects/ResourcesTests/TestApp/Program.cs deleted file mode 100644 index 51233cffa..000000000 --- a/TestAssets/TestProjects/ResourcesTests/TestApp/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class Program - { - public static void Main(string[] args) - { - Console.WriteLine("Hello World!"); - } - } -} diff --git a/TestAssets/TestProjects/ResourcesTests/TestApp/project.json b/TestAssets/TestProjects/ResourcesTests/TestApp/project.json deleted file mode 100644 index f5956784e..000000000 --- a/TestAssets/TestProjects/ResourcesTests/TestApp/project.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "Microsoft.Data.OData": "5.6.4", - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.1" - }, - "TestLibraryWithResources": { - "target": "project" - } - }, - "frameworks": { - "netcoreapp1.0": { - "imports": [ - "portable-net45+win8" - ] - } - } -} diff --git a/TestAssets/TestProjects/ResourcesTests/TestLibraryWithResources/.noautobuild b/TestAssets/TestProjects/ResourcesTests/TestLibraryWithResources/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/ResourcesTests/TestLibraryWithResources/Program.cs b/TestAssets/TestProjects/ResourcesTests/TestLibraryWithResources/Program.cs deleted file mode 100644 index 3b5a088e1..000000000 --- a/TestAssets/TestProjects/ResourcesTests/TestLibraryWithResources/Program.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Resources; -using System.Reflection; -using System.Globalization; - -namespace TestProjectWithCultureSpecificResource -{ - public class Program - { - public static void Main(string[] args) - { - var rm = new ResourceManager( - "TestProjectWithCultureSpecificResource.Strings", - typeof(Program).GetTypeInfo().Assembly); - - Console.WriteLine(rm.GetString("hello")); - Console.WriteLine(rm.GetString("hello", new CultureInfo("fr"))); - } - } -} diff --git a/TestAssets/TestProjects/ResourcesTests/TestLibraryWithResources/Strings.fr.resx b/TestAssets/TestProjects/ResourcesTests/TestLibraryWithResources/Strings.fr.resx deleted file mode 100644 index f569847fa..000000000 --- a/TestAssets/TestProjects/ResourcesTests/TestLibraryWithResources/Strings.fr.resx +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Bonjour! - - \ No newline at end of file diff --git a/TestAssets/TestProjects/ResourcesTests/TestLibraryWithResources/Strings.resx b/TestAssets/TestProjects/ResourcesTests/TestLibraryWithResources/Strings.resx deleted file mode 100644 index bd249e209..000000000 --- a/TestAssets/TestProjects/ResourcesTests/TestLibraryWithResources/Strings.resx +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Hello World! - - \ No newline at end of file diff --git a/TestAssets/TestProjects/ResourcesTests/TestLibraryWithResources/project.json b/TestAssets/TestProjects/ResourcesTests/TestLibraryWithResources/project.json deleted file mode 100644 index 023156a9b..000000000 --- a/TestAssets/TestProjects/ResourcesTests/TestLibraryWithResources/project.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": { - "NETStandard.Library": "1.6.0" - }, - "frameworks": { - "netstandard1.5": { - "imports": "dnxcore50" - } - } -} diff --git a/TestAssets/TestProjects/RunTestsApps/TestAppFullClr/.noautobuild b/TestAssets/TestProjects/RunTestsApps/TestAppFullClr/.noautobuild deleted file mode 100644 index 8f7edc4ac..000000000 --- a/TestAssets/TestProjects/RunTestsApps/TestAppFullClr/.noautobuild +++ /dev/null @@ -1 +0,0 @@ -noautobuild \ No newline at end of file diff --git a/TestAssets/TestProjects/RunTestsApps/TestAppFullClr/Program.cs b/TestAssets/TestProjects/RunTestsApps/TestAppFullClr/Program.cs deleted file mode 100644 index 7d5689393..000000000 --- a/TestAssets/TestProjects/RunTestsApps/TestAppFullClr/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class Program - { - public static void Main(string[] args) - { - Console.WriteLine("NET451, ARGS: " + args.Length); - } - } -} diff --git a/TestAssets/TestProjects/RunTestsApps/TestAppFullClr/project.json b/TestAssets/TestProjects/RunTestsApps/TestAppFullClr/project.json deleted file mode 100644 index 7609effc5..000000000 --- a/TestAssets/TestProjects/RunTestsApps/TestAppFullClr/project.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "frameworks": { - "net451": {} - } -} \ No newline at end of file diff --git a/TestAssets/TestProjects/RunTestsApps/TestAppMultiTarget/.noautobuild b/TestAssets/TestProjects/RunTestsApps/TestAppMultiTarget/.noautobuild deleted file mode 100644 index 8f7edc4ac..000000000 --- a/TestAssets/TestProjects/RunTestsApps/TestAppMultiTarget/.noautobuild +++ /dev/null @@ -1 +0,0 @@ -noautobuild \ No newline at end of file diff --git a/TestAssets/TestProjects/RunTestsApps/TestAppMultiTarget/Program.cs b/TestAssets/TestProjects/RunTestsApps/TestAppMultiTarget/Program.cs deleted file mode 100644 index 1a6535b48..000000000 --- a/TestAssets/TestProjects/RunTestsApps/TestAppMultiTarget/Program.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class Program - { - public static void Main(string[] args) - { -#if NET451 - Console.WriteLine("NET451"); -#else - Console.WriteLine("CoreCLR"); -#endif - } - } -} diff --git a/TestAssets/TestProjects/RunTestsApps/TestAppMultiTarget/project.json b/TestAssets/TestProjects/RunTestsApps/TestAppMultiTarget/project.json deleted file mode 100644 index 46bcf96b7..000000000 --- a/TestAssets/TestProjects/RunTestsApps/TestAppMultiTarget/project.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "frameworks": { - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": { - "version": "1.0.1", - "type": "platform" - } - } - }, - "net451": {} - } -} diff --git a/TestAssets/TestProjects/RunTestsApps/TestAppMultiTargetNoCoreClr/.noautobuild b/TestAssets/TestProjects/RunTestsApps/TestAppMultiTargetNoCoreClr/.noautobuild deleted file mode 100644 index 8f7edc4ac..000000000 --- a/TestAssets/TestProjects/RunTestsApps/TestAppMultiTargetNoCoreClr/.noautobuild +++ /dev/null @@ -1 +0,0 @@ -noautobuild \ No newline at end of file diff --git a/TestAssets/TestProjects/RunTestsApps/TestAppMultiTargetNoCoreClr/Program.cs b/TestAssets/TestProjects/RunTestsApps/TestAppMultiTargetNoCoreClr/Program.cs deleted file mode 100644 index 1a6535b48..000000000 --- a/TestAssets/TestProjects/RunTestsApps/TestAppMultiTargetNoCoreClr/Program.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class Program - { - public static void Main(string[] args) - { -#if NET451 - Console.WriteLine("NET451"); -#else - Console.WriteLine("CoreCLR"); -#endif - } - } -} diff --git a/TestAssets/TestProjects/RunTestsApps/TestAppMultiTargetNoCoreClr/project.json b/TestAssets/TestProjects/RunTestsApps/TestAppMultiTargetNoCoreClr/project.json deleted file mode 100644 index 1c552422c..000000000 --- a/TestAssets/TestProjects/RunTestsApps/TestAppMultiTargetNoCoreClr/project.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "frameworks": { - "net451": {}, - "net45": {} - } -} \ No newline at end of file diff --git a/TestAssets/TestProjects/TestAppCompilationContext/TestApp/Program.cs b/TestAssets/TestProjects/TestAppCompilationContext/TestApp/Program.cs deleted file mode 100644 index fee6a5079..000000000 --- a/TestAssets/TestProjects/TestAppCompilationContext/TestApp/Program.cs +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; -using System.Diagnostics; - -namespace TestApp -{ - public class Program - { - public static void Main(string[] args) - { - } - } -} diff --git a/TestAssets/TestProjects/TestAppCompilationContext/TestApp/project.json b/TestAssets/TestProjects/TestAppCompilationContext/TestApp/project.json deleted file mode 100644 index f571a9645..000000000 --- a/TestAssets/TestProjects/TestAppCompilationContext/TestApp/project.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true, - "preserveCompilationContext": true - }, - "dependencies": { - "TestLibrary": "1.0.0-*", - "Microsoft.NETCore.App": "1.0.1" - }, - "frameworks": { - "netcoreapp1.0": {} - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/TestAppCompilationContext/TestLibrary/.noautobuild b/TestAssets/TestProjects/TestAppCompilationContext/TestLibrary/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/TestAppCompilationContext/TestLibrary/Helper.cs b/TestAssets/TestProjects/TestAppCompilationContext/TestLibrary/Helper.cs deleted file mode 100644 index 8c643796b..000000000 --- a/TestAssets/TestProjects/TestAppCompilationContext/TestLibrary/Helper.cs +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; - -namespace TestLibrary -{ - public static class Helper - { - /// - /// Gets the message from the helper. This comment is here to help test XML documentation file generation, please do not remove it. - /// - /// A message - public static string GetMessage() - { - return "This string came from the test library!"; - } - - public static void SayHi() - { - Console.WriteLine("Hello there!"); - } - } -} diff --git a/TestAssets/TestProjects/TestAppCompilationContext/TestLibrary/TestLibrary.xproj b/TestAssets/TestProjects/TestAppCompilationContext/TestLibrary/TestLibrary.xproj deleted file mode 100644 index eb9f8bc2d..000000000 --- a/TestAssets/TestProjects/TestAppCompilationContext/TestLibrary/TestLibrary.xproj +++ /dev/null @@ -1,19 +0,0 @@ - - - - 14.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - 947dd232-8d9b-4b78-9c6a-94f807d2dd58 - TestLibrary - ..\..\artifacts\obj\$(MSBuildProjectName) - ..\..\artifacts\bin\$(MSBuildProjectName)\ - - - - 2.0 - - - \ No newline at end of file diff --git a/TestAssets/TestProjects/TestAppCompilationContext/TestLibrary/project.json b/TestAssets/TestProjects/TestAppCompilationContext/TestLibrary/project.json deleted file mode 100644 index 48bc772d8..000000000 --- a/TestAssets/TestProjects/TestAppCompilationContext/TestLibrary/project.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "nowarn": [ - "CS1591" - ], - "xmlDoc": true, - "additionalArguments": [ - "-highentropyva+" - ] - }, - "dependencies": { - "NETStandard.Library": "1.6.0" - }, - "frameworks": { - "netstandard1.5": {} - } -} diff --git a/TestAssets/TestProjects/TestAppCompilationContext/global.json b/TestAssets/TestProjects/TestAppCompilationContext/global.json deleted file mode 100644 index c92e10596..000000000 --- a/TestAssets/TestProjects/TestAppCompilationContext/global.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "projects": [ "." ] -} \ No newline at end of file diff --git a/TestAssets/TestProjects/TestAppWithArgs/Program.cs b/TestAssets/TestProjects/TestAppWithArgs/Program.cs deleted file mode 100644 index 2ad9911f8..000000000 --- a/TestAssets/TestProjects/TestAppWithArgs/Program.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class Program - { - public static void Main(string[] args) - { - Console.WriteLine("Hello World!"); - - Console.WriteLine($"I was passed {args.Length} args:"); - foreach (var arg in args) - { - Console.WriteLine($"arg: [{arg}]"); - } - } - } -} diff --git a/TestAssets/TestProjects/TestAppWithArgs/TestAppWithArgs.xproj b/TestAssets/TestProjects/TestAppWithArgs/TestAppWithArgs.xproj deleted file mode 100644 index 9a39a775b..000000000 --- a/TestAssets/TestProjects/TestAppWithArgs/TestAppWithArgs.xproj +++ /dev/null @@ -1,18 +0,0 @@ - - - - 14.0.23107 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - da8e0e9e-a6d6-4583-864c-8f40465e3a48 - TestAppWithArgs - ..\..\..\artifacts\obj\$(MSBuildProjectName) - ..\..\..\artifacts\ - - - 2.0 - - - \ No newline at end of file diff --git a/TestAssets/TestProjects/TestAppWithArgs/project.json b/TestAssets/TestProjects/TestAppWithArgs/project.json deleted file mode 100644 index bfc37d9c7..000000000 --- a/TestAssets/TestProjects/TestAppWithArgs/project.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - }, - "frameworks": { - "netcoreapp1.0": {} - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/TestAppWithBuildDependency/App/Program.cs b/TestAssets/TestProjects/TestAppWithBuildDependency/App/Program.cs deleted file mode 100644 index 51233cffa..000000000 --- a/TestAssets/TestProjects/TestAppWithBuildDependency/App/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class Program - { - public static void Main(string[] args) - { - Console.WriteLine("Hello World!"); - } - } -} diff --git a/TestAssets/TestProjects/TestAppWithBuildDependency/App/project.json b/TestAssets/TestProjects/TestAppWithBuildDependency/App/project.json deleted file mode 100644 index eaf17d17b..000000000 --- a/TestAssets/TestProjects/TestAppWithBuildDependency/App/project.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.1" - }, - "LibraryWithBuildDependency": { - "target": "project" - } - }, - "frameworks": { - "netcoreapp1.0": { - "imports": "dnxcore50" - } - } -} diff --git a/TestAssets/TestProjects/TestAppWithBuildDependency/LibraryWithBuildDependency/Program.cs b/TestAssets/TestProjects/TestAppWithBuildDependency/LibraryWithBuildDependency/Program.cs deleted file mode 100644 index 51233cffa..000000000 --- a/TestAssets/TestProjects/TestAppWithBuildDependency/LibraryWithBuildDependency/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class Program - { - public static void Main(string[] args) - { - Console.WriteLine("Hello World!"); - } - } -} diff --git a/TestAssets/TestProjects/TestAppWithBuildDependency/LibraryWithBuildDependency/project.json b/TestAssets/TestProjects/TestAppWithBuildDependency/LibraryWithBuildDependency/project.json deleted file mode 100644 index 93e617cc1..000000000 --- a/TestAssets/TestProjects/TestAppWithBuildDependency/LibraryWithBuildDependency/project.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": { - "Microsoft.NETCore.App": { - "type": "platform", - "version": "1.0.1" - }, - "Microsoft.Net.Compilers": { - "type": "build", - "version": "1.1.1" - } - }, - "frameworks": { - "netcoreapp1.0": { - "imports": "dnxcore50" - } - } -} diff --git a/TestAssets/TestProjects/TestAppWithContentPackage/Program.cs b/TestAssets/TestProjects/TestAppWithContentPackage/Program.cs deleted file mode 100644 index b71b81142..000000000 --- a/TestAssets/TestProjects/TestAppWithContentPackage/Program.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Reflection; - -namespace TestAppWithContentPackage -{ - public class Program - { - public static int Main(string[] args) - { - foreach (var name in Assembly.GetEntryAssembly().GetManifestResourceNames()) - { - Console.WriteLine(name); - } - Console.WriteLine(typeof(Foo).FullName); - Console.WriteLine(typeof(MyNamespace.Util).FullName); - return 0; - } - } -} diff --git a/TestAssets/TestProjects/TestAppWithContentPackage/TestAppWithContentPackage.xproj b/TestAssets/TestProjects/TestAppWithContentPackage/TestAppWithContentPackage.xproj deleted file mode 100644 index 718199108..000000000 --- a/TestAssets/TestProjects/TestAppWithContentPackage/TestAppWithContentPackage.xproj +++ /dev/null @@ -1,19 +0,0 @@ - - - - 14.0.24720 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - ea239e10-75e8-4305-966e-fec926a5aee6 - TestAppWithContentPackage - ..\..\..\artifacts\obj\$(MSBuildProjectName) - ..\..\..\artifacts\bin\$(MSBuildProjectName)\ - - - - 2.0 - - - \ No newline at end of file diff --git a/TestAssets/TestProjects/TestAppWithContentPackage/project.json b/TestAssets/TestProjects/TestAppWithContentPackage/project.json deleted file mode 100644 index 0611408e7..000000000 --- a/TestAssets/TestProjects/TestAppWithContentPackage/project.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true, - "outputName": "AppWithContentPackage" - }, - "dependencies": { - "Microsoft.NETCore.App": "1.0.1", - "SharedContentA": "1.0.0-*" - }, - "frameworks": { - "netcoreapp1.0": { - "imports": [ - "netstandardapp1.5", - "dnxcore50" - ] - } - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/TestAppWithResourceDeps/Program.cs b/TestAssets/TestProjects/TestAppWithResourceDeps/Program.cs deleted file mode 100644 index 3acb67142..000000000 --- a/TestAssets/TestProjects/TestAppWithResourceDeps/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class Program - { - public static int Main(string[] args) - { - return 0; - } - } -} diff --git a/TestAssets/TestProjects/TestAppWithResourceDeps/project.json b/TestAssets/TestProjects/TestAppWithResourceDeps/project.json deleted file mode 100644 index 25fa2627a..000000000 --- a/TestAssets/TestProjects/TestAppWithResourceDeps/project.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "Microsoft.NETCore.App": "1.0.1", - "Microsoft.CSharp": "4.0.1", - "System.Dynamic.Runtime": "4.0.11", - "System.Reflection.Metadata": "1.4.1-beta-24410-02", - "System.Runtime.Serialization.Primitives": "4.1.1", - "System.Xml.XmlSerializer": "4.0.11", - "WindowsAzure.Storage": "6.2.2-preview" - }, - "frameworks": { - "netcoreapp1.0": { - "imports": [ - "dnxcore50", - "portable-net45+win8" - ] - } - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/TestAppWithScripts/Program.cs b/TestAssets/TestProjects/TestAppWithScripts/Program.cs deleted file mode 100644 index 7bcd4fbd3..000000000 --- a/TestAssets/TestProjects/TestAppWithScripts/Program.cs +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; -using System.Diagnostics; - -namespace TestApp -{ - public class Program - { - public static int Main(string[] args) - { - Console.WriteLine("Hello World"); - return 0; - } - } -} diff --git a/TestAssets/TestProjects/TestAppWithScripts/TestApp.xproj b/TestAssets/TestProjects/TestAppWithScripts/TestApp.xproj deleted file mode 100644 index 4cef17daa..000000000 --- a/TestAssets/TestProjects/TestAppWithScripts/TestApp.xproj +++ /dev/null @@ -1,20 +0,0 @@ - - - - 14.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - - 58808bbc-371e-47d6-a3d0-4902145eda4e - TestApp - ..\..\artifacts\obj\$(MSBuildProjectName) - ..\..\artifacts\bin\$(MSBuildProjectName)\ - - - - 2.0 - - - diff --git a/TestAssets/TestProjects/TestAppWithScripts/echoscript.cmd b/TestAssets/TestProjects/TestAppWithScripts/echoscript.cmd deleted file mode 100644 index a996a370f..000000000 --- a/TestAssets/TestProjects/TestAppWithScripts/echoscript.cmd +++ /dev/null @@ -1,2 +0,0 @@ -@echo off -echo %* \ No newline at end of file diff --git a/TestAssets/TestProjects/TestAppWithScripts/echoscript.sh b/TestAssets/TestProjects/TestAppWithScripts/echoscript.sh deleted file mode 100755 index 778a035de..000000000 --- a/TestAssets/TestProjects/TestAppWithScripts/echoscript.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env sh -echo $@ \ No newline at end of file diff --git a/TestAssets/TestProjects/TestAppWithScripts/project.json b/TestAssets/TestProjects/TestAppWithScripts/project.json deleted file mode 100644 index 5f390a0fd..000000000 --- a/TestAssets/TestProjects/TestAppWithScripts/project.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - }, - "frameworks": { - "netcoreapp1.0": {} - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - }, - "scripts": { - "prepublish": [ - "echoscript prepublish_output ?%publish:ProjectPath%? ?%publish:Configuration%? ?%publish:OutputPath%? ?%publish:TargetFramework%? ?%publish:Runtime%?" - ], - "postpublish": [ - "echoscript postpublish_output ?%publish:ProjectPath%? ?%publish:Configuration%? ?%publish:OutputPath%? ?%publish:TargetFramework%? ?%publish:Runtime%?" - ], - "precompile": [ - "echoscript precompile_output ?%compile:ProjectPath%? ?%compile:Configuration%? ?%compile:OutputPath%? ?%compile:TargetFramework%? ?%compile:Runtime%?" - ], - "postcompile": [ - "echoscript postcompile_output ?%compile:ProjectPath%? ?%compile:Configuration%? ?%compile:OutputPath%? ?%compile:TargetFramework%? ?%compile:Runtime%?" - ] - } -} diff --git a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestApp/Program.cs b/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestApp/Program.cs deleted file mode 100644 index ac3163a58..000000000 --- a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestApp/Program.cs +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; -using System.Diagnostics; - -namespace TestApp -{ - public class Program - { - public static int Main(string[] args) - { - Console.WriteLine(TestLibrary.Helper.GetMessage()); - return 100; - } - } -} diff --git a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestApp/TestApp.xproj b/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestApp/TestApp.xproj deleted file mode 100644 index 4cef17daa..000000000 --- a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestApp/TestApp.xproj +++ /dev/null @@ -1,20 +0,0 @@ - - - - 14.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - - 58808bbc-371e-47d6-a3d0-4902145eda4e - TestApp - ..\..\artifacts\obj\$(MSBuildProjectName) - ..\..\artifacts\bin\$(MSBuildProjectName)\ - - - - 2.0 - - - diff --git a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestApp/project.json b/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestApp/project.json deleted file mode 100644 index ebcc37c3a..000000000 --- a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestApp/project.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true, - "preserveCompilationContext": true - }, - "dependencies": { - "TestLibrary": { - "target": "project", - "version": "1.0.0-*" - }, - "Microsoft.NETCore.App": "1.0.1" - }, - "frameworks": { - "netcoreapp1.0": {} - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - }, - "scripts": { - "prepublish": [ - "echo prepublish_output ?%publish:ProjectPath%? ?%publish:Configuration%? ?%publish:OutputPath%? ?%publish:Framework%? ?%publish:Runtime%?" - ], - "postpublish": [ - "echo postpublish_output ?%publish:ProjectPath%? ?%publish:Configuration%? ?%publish:OutputPath%? ?%publish:Framework%? ?%publish:Runtime%?" - ] - } -} diff --git a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibrary/Helper.cs b/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibrary/Helper.cs deleted file mode 100644 index 8c643796b..000000000 --- a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibrary/Helper.cs +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; - -namespace TestLibrary -{ - public static class Helper - { - /// - /// Gets the message from the helper. This comment is here to help test XML documentation file generation, please do not remove it. - /// - /// A message - public static string GetMessage() - { - return "This string came from the test library!"; - } - - public static void SayHi() - { - Console.WriteLine("Hello there!"); - } - } -} diff --git a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibrary/TestLibrary.xproj b/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibrary/TestLibrary.xproj deleted file mode 100644 index eb9f8bc2d..000000000 --- a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibrary/TestLibrary.xproj +++ /dev/null @@ -1,19 +0,0 @@ - - - - 14.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - 947dd232-8d9b-4b78-9c6a-94f807d2dd58 - TestLibrary - ..\..\artifacts\obj\$(MSBuildProjectName) - ..\..\artifacts\bin\$(MSBuildProjectName)\ - - - - 2.0 - - - \ No newline at end of file diff --git a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibrary/project.json b/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibrary/project.json deleted file mode 100644 index 2a6005a2c..000000000 --- a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibrary/project.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "nowarn": [ - "CS1591" - ], - "xmlDoc": true, - "additionalArguments": [ - "-highentropyva+" - ] - }, - "dependencies": { - "NETStandard.Library": "1.6.0" - }, - "frameworks": { - "netcoreapp1.0": {} - } -} diff --git a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibrary2/Program.cs b/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibrary2/Program.cs deleted file mode 100644 index b1520563c..000000000 --- a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibrary2/Program.cs +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; -using System.Diagnostics; - -namespace TestApp -{ - public class Program - { - public static int Main(string[] args) - { - Console.WriteLine(TestLibrary.Helper.GetMessage()); - return 0; - } - } -} diff --git a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibrary2/project.json b/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibrary2/project.json deleted file mode 100644 index 4854b7706..000000000 --- a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibrary2/project.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "TestLibraryWithAppDependency": { - "target": "project", - "version": "1.0.0-*" - }, - "NETStandard.Library": "1.6.0" - }, - "frameworks": { - "netcoreapp1.0": {} - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibraryWithAppDependency/Helper.cs b/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibraryWithAppDependency/Helper.cs deleted file mode 100644 index b24d91ae4..000000000 --- a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibraryWithAppDependency/Helper.cs +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; - -namespace TestLibrary2 -{ - public static class Helper - { - /// - /// Gets the message from the helper. This comment is here to help test XML documentation file generation, please do not remove it. - /// - /// A message - public static string GetMessage() - { - return "This string came from the test library!"; - } - - public static void SayHi() - { - Console.WriteLine("Hello there!"); - } - } -} diff --git a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibraryWithAppDependency/project.json b/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibraryWithAppDependency/project.json deleted file mode 100644 index 4a3ab1eaf..000000000 --- a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/TestLibraryWithAppDependency/project.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": { - "TestApp": { - "target": "project", - "version": "1.0.0-*" - }, - "NETStandard.Library": "1.6.0" - }, - "frameworks": { - "netcoreapp1.0": {} - } -} diff --git a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/global.json b/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/global.json deleted file mode 100644 index 3a4684c26..000000000 --- a/TestAssets/TestProjects/TestAppWithTransitiveAppDependency/global.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "projects": [ "."] -} \ No newline at end of file diff --git a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestApp/Program.cs b/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestApp/Program.cs deleted file mode 100644 index ac3163a58..000000000 --- a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestApp/Program.cs +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; -using System.Diagnostics; - -namespace TestApp -{ - public class Program - { - public static int Main(string[] args) - { - Console.WriteLine(TestLibrary.Helper.GetMessage()); - return 100; - } - } -} diff --git a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestApp/TestApp.xproj b/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestApp/TestApp.xproj deleted file mode 100644 index 4cef17daa..000000000 --- a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestApp/TestApp.xproj +++ /dev/null @@ -1,20 +0,0 @@ - - - - 14.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - - 58808bbc-371e-47d6-a3d0-4902145eda4e - TestApp - ..\..\artifacts\obj\$(MSBuildProjectName) - ..\..\artifacts\bin\$(MSBuildProjectName)\ - - - - 2.0 - - - diff --git a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestApp/project.json b/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestApp/project.json deleted file mode 100644 index 666d644b9..000000000 --- a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestApp/project.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true, - "preserveCompilationContext": true - }, - "dependencies": { - "TestLibrary": { - "target": "project", - "version": "1.0.0-*" - }, - "Microsoft.NETCore.App": "1.0.1" - }, - "frameworks": { - "netcoreapp1.0": {} - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/.noautobuild b/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/.noautobuild deleted file mode 100644 index 8f7edc4ac..000000000 --- a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/.noautobuild +++ /dev/null @@ -1 +0,0 @@ -noautobuild \ No newline at end of file diff --git a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/README.md b/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/README.md deleted file mode 100644 index add0a6729..000000000 --- a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# What is this? -This is a test wrapped project where we've checked in the binaries. To protect it from the build scripts cleaning the `bin` folder, we've renamed that folder to `bin.keep`. Please don't rename it! \ No newline at end of file diff --git a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/bin.keep/Debug/dnxcore50/TestLibrary.dll b/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/bin.keep/Debug/dnxcore50/TestLibrary.dll deleted file mode 100644 index bfd7fd465..000000000 Binary files a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/bin.keep/Debug/dnxcore50/TestLibrary.dll and /dev/null differ diff --git a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/bin.keep/Debug/dnxcore50/TestLibrary.pdb b/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/bin.keep/Debug/dnxcore50/TestLibrary.pdb deleted file mode 100644 index 36cc512f7..000000000 Binary files a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/bin.keep/Debug/dnxcore50/TestLibrary.pdb and /dev/null differ diff --git a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/bin.keep/Debug/dnxcore50/TestLibrary.xml b/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/bin.keep/Debug/dnxcore50/TestLibrary.xml deleted file mode 100644 index 92371c77c..000000000 --- a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/bin.keep/Debug/dnxcore50/TestLibrary.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - TestLibraryWithConfiguration - - - - - Gets the message from the helper. This comment is here to help test XML documentation file generation, please do not remove it. - - A message - - - diff --git a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/project.json b/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/project.json deleted file mode 100644 index 6eea3e23f..000000000 --- a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/TestLibrary/project.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "frameworks": { - "netcoreapp1.0": { - "bin": { - "assembly": "bin.keep\\{configuration}\\dnxcore50\\TestLibrary.dll", - "pdb": "bin.keep\\{configuration}\\dnxcore50\\TestLibrary.pdb" - } - } - } -} \ No newline at end of file diff --git a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/global.json b/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/global.json deleted file mode 100644 index 3a4684c26..000000000 --- a/TestAssets/TestProjects/TestAppWithWrapperProjectDependency/global.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "projects": [ "."] -} \ No newline at end of file diff --git a/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryGreater/.noautobuild b/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryGreater/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryGreater/Program.cs b/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryGreater/Program.cs deleted file mode 100644 index e2e651793..000000000 --- a/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryGreater/Program.cs +++ /dev/null @@ -1,4 +0,0 @@ - -public class P{ - public static void Main() { var t = typeof(Newtonsoft.Json.JsonConvert); } -} \ No newline at end of file diff --git a/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryGreater/TestLibraryGreater.xproj b/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryGreater/TestLibraryGreater.xproj deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryGreater/project.json b/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryGreater/project.json deleted file mode 100644 index b24e0eca8..000000000 --- a/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryGreater/project.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": { - "Newtonsoft.Json": "7.0.1" - }, - "frameworks": { - "net451": {}, - "netstandard1.5": { - "dependencies": { - "NETStandard.Library": "1.6.0" - }, - "imports": "portable-net45+win8" - } - } -} diff --git a/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryLesser/.noautobuild b/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryLesser/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryLesser/Program.cs b/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryLesser/Program.cs deleted file mode 100644 index e2e651793..000000000 --- a/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryLesser/Program.cs +++ /dev/null @@ -1,4 +0,0 @@ - -public class P{ - public static void Main() { var t = typeof(Newtonsoft.Json.JsonConvert); } -} \ No newline at end of file diff --git a/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryLesser/TestLibraryLesser.xproj b/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryLesser/TestLibraryLesser.xproj deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryLesser/project.json b/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryLesser/project.json deleted file mode 100644 index 0ea66e342..000000000 --- a/TestAssets/TestProjects/TestBindingRedirectGeneration/TestLibraryLesser/project.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": "1.0.0-*", - "compilationOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "Newtonsoft.Json": "6.0.1", - "TestLibraryGreater": { - "target": "project" - } - }, - "frameworks": { - "net451": {}, - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - }, - "imports": "portable-net45+win8" - } - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {} - } -} diff --git a/TestAssets/TestProjects/TestBindingRedirectGeneration/global.json b/TestAssets/TestProjects/TestBindingRedirectGeneration/global.json deleted file mode 100644 index 3a4684c26..000000000 --- a/TestAssets/TestProjects/TestBindingRedirectGeneration/global.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "projects": [ "."] -} \ No newline at end of file diff --git a/TestAssets/TestProjects/TestLibraryWithRunner/Test.cs b/TestAssets/TestProjects/TestLibraryWithRunner/Test.cs deleted file mode 100644 index fd45f6853..000000000 --- a/TestAssets/TestProjects/TestLibraryWithRunner/Test.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace TestLibraryWithRunner -{ - // Need to have source code to actually publish a DLL, so please don't remove this, even though it does nothing :). - public class Test - { - } -} diff --git a/TestAssets/TestProjects/TestLibraryWithXmlDoc/.noautobuild b/TestAssets/TestProjects/TestLibraryWithXmlDoc/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/TestLibraryWithXmlDoc/Helper.cs b/TestAssets/TestProjects/TestLibraryWithXmlDoc/Helper.cs deleted file mode 100644 index 8c643796b..000000000 --- a/TestAssets/TestProjects/TestLibraryWithXmlDoc/Helper.cs +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; - -namespace TestLibrary -{ - public static class Helper - { - /// - /// Gets the message from the helper. This comment is here to help test XML documentation file generation, please do not remove it. - /// - /// A message - public static string GetMessage() - { - return "This string came from the test library!"; - } - - public static void SayHi() - { - Console.WriteLine("Hello there!"); - } - } -} diff --git a/TestAssets/TestProjects/TestLibraryWithXmlDoc/project.json b/TestAssets/TestProjects/TestLibraryWithXmlDoc/project.json deleted file mode 100644 index eea518a92..000000000 --- a/TestAssets/TestProjects/TestLibraryWithXmlDoc/project.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "xmlDoc": true - }, - "dependencies": { - "NETStandard.Library": "1.6.0" - }, - "frameworks": { - "netstandard1.5": {} - } -} diff --git a/TestAssets/TestProjects/TestMicrosoftCSharpReference/Program.cs b/TestAssets/TestProjects/TestMicrosoftCSharpReference/Program.cs deleted file mode 100644 index 9e98f0216..000000000 --- a/TestAssets/TestProjects/TestMicrosoftCSharpReference/Program.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace TestMicrosoftCSharpReference -{ - public class Program - { - public static int Main(string[] args) - { - return 0; - } - } -} \ No newline at end of file diff --git a/TestAssets/TestProjects/TestMicrosoftCSharpReference/project.json b/TestAssets/TestProjects/TestMicrosoftCSharpReference/project.json deleted file mode 100644 index 54aca5c7d..000000000 --- a/TestAssets/TestProjects/TestMicrosoftCSharpReference/project.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "version": "1.0.0", - "dependencies": {}, - "frameworks": { - "netcoreapp1.0": { - "imports": "dnxcore50", - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - } - }, - "net451": { - "dependencies": { - "Microsoft.CSharp": "4.0.1" - } - } - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/TestMicrosoftCSharpReferenceMissingFramework/Program.cs b/TestAssets/TestProjects/TestMicrosoftCSharpReferenceMissingFramework/Program.cs deleted file mode 100644 index 9e98f0216..000000000 --- a/TestAssets/TestProjects/TestMicrosoftCSharpReferenceMissingFramework/Program.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace TestMicrosoftCSharpReference -{ - public class Program - { - public static int Main(string[] args) - { - return 0; - } - } -} \ No newline at end of file diff --git a/TestAssets/TestProjects/TestMicrosoftCSharpReferenceMissingFramework/project.json b/TestAssets/TestProjects/TestMicrosoftCSharpReferenceMissingFramework/project.json deleted file mode 100644 index c2afe07eb..000000000 --- a/TestAssets/TestProjects/TestMicrosoftCSharpReferenceMissingFramework/project.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "version": "1.0.0", - "dependencies": {}, - "frameworks": { - "netcoreapp1.0": { - "imports": "dnxcore50", - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - } - }, - "netcore50": { - "dependencies": { - "System.Private.Uri": "4.0.1" - } - }, - "net99": { - "dependencies": { - "Microsoft.CSharp": "4.0.1" - } - } - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/TestMscorlibReference/project.json b/TestAssets/TestProjects/TestMscorlibReference/project.json deleted file mode 100644 index 7c7744afb..000000000 --- a/TestAssets/TestProjects/TestMscorlibReference/project.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": {}, - "frameworks": { - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - } - }, - "net451": { - "frameworkAssemblies": { - "mscorlib": "" - } - } - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/TestProjectContextBuildAllDedupe/project.json b/TestAssets/TestProjects/TestProjectContextBuildAllDedupe/project.json deleted file mode 100644 index eeb295613..000000000 --- a/TestAssets/TestProjects/TestProjectContextBuildAllDedupe/project.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": { - "Microsoft.NETCore.App": { - "version": "1.0.1", - "type": "platform" - } - }, - "frameworks": { - "netcoreapp1.0": { - "imports": [ - "portable-net451+win8" - ] - } - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {} - } -} diff --git a/TestAssets/TestProjects/TestProjectToProjectDependencies/global.json b/TestAssets/TestProjects/TestProjectToProjectDependencies/global.json deleted file mode 100644 index b0323e428..000000000 --- a/TestAssets/TestProjects/TestProjectToProjectDependencies/global.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "projects": [ "src" ] -} \ No newline at end of file diff --git a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L0/Program.cs b/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L0/Program.cs deleted file mode 100644 index 25a74aa9b..000000000 --- a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L0/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class L0 - { - public static void Main(string[] args) - { - Console.WriteLine("L0 " + L11.Value() + L12.Value()); - } - } -} diff --git a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L0/project.json b/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L0/project.json deleted file mode 100644 index 3591541a7..000000000 --- a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L0/project.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "L11": "1.0.0-*", - "L12": "1.0.0-*", - "Microsoft.NETCore.App": "1.0.1" - }, - "frameworks": { - "netcoreapp1.0": {} - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L11/.noautobuild b/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L11/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L11/Program.cs b/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L11/Program.cs deleted file mode 100644 index 7c7c4c926..000000000 --- a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L11/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class L11 - { - public static string Value() - { - return "L11 " + L12.Value() + L21.Value(); - } - } -} diff --git a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L11/project.json b/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L11/project.json deleted file mode 100644 index 0c4571970..000000000 --- a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L11/project.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": { - "L12": "1.0.0-*", - "L21": "1.0.0-*", - "NETStandard.Library": "1.6.0" - }, - "frameworks": { - "netstandard1.5": { - "imports": "dnxcore50" - } - } -} diff --git a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L12/.noautobuild b/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L12/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L12/Program.cs b/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L12/Program.cs deleted file mode 100644 index 55831c1eb..000000000 --- a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L12/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class L12 - { - public static string Value() - { - return "L12 " + L22.Value(); - } - } -} diff --git a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L12/project.json b/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L12/project.json deleted file mode 100644 index bb8f44070..000000000 --- a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L12/project.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": { - "L22": "1.0.0-*", - "NETStandard.Library": "1.6.0" - }, - "frameworks": { - "netstandard1.5": { - "imports": "dnxcore50" - } - } -} diff --git a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L21/.noautobuild b/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L21/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L21/Program.cs b/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L21/Program.cs deleted file mode 100644 index a7a6c0842..000000000 --- a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L21/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class L21 - { - public static string Value() - { - return "L21 "; - } - } -} diff --git a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L21/project.json b/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L21/project.json deleted file mode 100644 index 023156a9b..000000000 --- a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L21/project.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": { - "NETStandard.Library": "1.6.0" - }, - "frameworks": { - "netstandard1.5": { - "imports": "dnxcore50" - } - } -} diff --git a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L22/.noautobuild b/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L22/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L22/Program.cs b/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L22/Program.cs deleted file mode 100644 index cdc622e25..000000000 --- a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L22/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class L22 - { - public static string Value() - { - return "L22 "; - } - } -} diff --git a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L22/project.json b/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L22/project.json deleted file mode 100644 index 023156a9b..000000000 --- a/TestAssets/TestProjects/TestProjectToProjectDependencies/src/L22/project.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": { - "NETStandard.Library": "1.6.0" - }, - "frameworks": { - "netstandard1.5": { - "imports": "dnxcore50" - } - } -} diff --git a/TestAssets/TestProjects/TestProjectWithCultureSpecificResource/Program.cs b/TestAssets/TestProjects/TestProjectWithCultureSpecificResource/Program.cs deleted file mode 100644 index cd83437aa..000000000 --- a/TestAssets/TestProjects/TestProjectWithCultureSpecificResource/Program.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Resources; -using System.Reflection; -using System.Globalization; - -namespace TestProjectWithCultureSpecificResource -{ - public class Program - { - // This method is consumed by load context tests - public static string GetMessage() - { - var rm = new ResourceManager( - "TestProjectWithCultureSpecificResource.Strings", - typeof(Program).GetTypeInfo().Assembly); - - return rm.GetString("hello") + Environment.NewLine + rm.GetString("hello", new CultureInfo("fr")); - } - - public static void Main(string[] args) - { - Console.WriteLine(GetMessage()); - } - } -} diff --git a/TestAssets/TestProjects/TestProjectWithCultureSpecificResource/Strings.fr.resx b/TestAssets/TestProjects/TestProjectWithCultureSpecificResource/Strings.fr.resx deleted file mode 100644 index f569847fa..000000000 --- a/TestAssets/TestProjects/TestProjectWithCultureSpecificResource/Strings.fr.resx +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Bonjour! - - \ No newline at end of file diff --git a/TestAssets/TestProjects/TestProjectWithCultureSpecificResource/Strings.resx b/TestAssets/TestProjects/TestProjectWithCultureSpecificResource/Strings.resx deleted file mode 100644 index bd249e209..000000000 --- a/TestAssets/TestProjects/TestProjectWithCultureSpecificResource/Strings.resx +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Hello World! - - \ No newline at end of file diff --git a/TestAssets/TestProjects/TestProjectWithCultureSpecificResource/TestProjectWithCultureSpecificResource.xproj b/TestAssets/TestProjects/TestProjectWithCultureSpecificResource/TestProjectWithCultureSpecificResource.xproj deleted file mode 100644 index d8121765f..000000000 --- a/TestAssets/TestProjects/TestProjectWithCultureSpecificResource/TestProjectWithCultureSpecificResource.xproj +++ /dev/null @@ -1,19 +0,0 @@ - - - - 14.0.24720 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - fea4ab27-d004-4580-8abe-b171e30b68cc - TestProjectWithCultureSpecificResource - ..\..\..\artifacts\obj\$(MSBuildProjectName) - ..\..\..\artifacts\bin\$(MSBuildProjectName)\ - - - - 2.0 - - - \ No newline at end of file diff --git a/TestAssets/TestProjects/TestProjectWithCultureSpecificResource/project.json b/TestAssets/TestProjects/TestProjectWithCultureSpecificResource/project.json deleted file mode 100644 index bfc37d9c7..000000000 --- a/TestAssets/TestProjects/TestProjectWithCultureSpecificResource/project.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - }, - "frameworks": { - "netcoreapp1.0": {} - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/TestProjectWithResource/Program.cs b/TestAssets/TestProjects/TestProjectWithResource/Program.cs deleted file mode 100644 index 1e17eeef6..000000000 --- a/TestAssets/TestProjects/TestProjectWithResource/Program.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Resources; -using System.Reflection; - -namespace TestProjectWithResource -{ - public class Program - { - public static void Main(string[] args) - { - var rm = new ResourceManager( - "TestProjectWithResource.Strings", - typeof(Program).GetTypeInfo().Assembly); - - Console.WriteLine(rm.GetString("hello")); - } - } -} diff --git a/TestAssets/TestProjects/TestProjectWithResource/Strings.resx b/TestAssets/TestProjects/TestProjectWithResource/Strings.resx deleted file mode 100644 index bd249e209..000000000 --- a/TestAssets/TestProjects/TestProjectWithResource/Strings.resx +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Hello World! - - \ No newline at end of file diff --git a/TestAssets/TestProjects/TestProjectWithResource/TestProjectWithResource.xproj b/TestAssets/TestProjects/TestProjectWithResource/TestProjectWithResource.xproj deleted file mode 100644 index aee14e286..000000000 --- a/TestAssets/TestProjects/TestProjectWithResource/TestProjectWithResource.xproj +++ /dev/null @@ -1,20 +0,0 @@ - - - - 14.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - - 58808bbc-371e-47d6-a3d0-4909876ed864 - TestProjectWithResource - ..\..\artifacts\obj\$(MSBuildProjectName) - ..\..\artifacts\bin\$(MSBuildProjectName)\ - - - - 2.0 - - - diff --git a/TestAssets/TestProjects/TestProjectWithResource/project.json b/TestAssets/TestProjects/TestProjectWithResource/project.json deleted file mode 100644 index bfc37d9c7..000000000 --- a/TestAssets/TestProjects/TestProjectWithResource/project.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true - }, - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - }, - "frameworks": { - "netcoreapp1.0": {} - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/TestRuleSet/TestLibraryWithRuleSet/.noautobuild b/TestAssets/TestProjects/TestRuleSet/TestLibraryWithRuleSet/.noautobuild deleted file mode 100644 index e69de29bb..000000000 diff --git a/TestAssets/TestProjects/TestRuleSet/TestLibraryWithRuleSet/Violations.cs b/TestAssets/TestProjects/TestRuleSet/TestLibraryWithRuleSet/Violations.cs deleted file mode 100644 index d8e16e1c6..000000000 --- a/TestAssets/TestProjects/TestRuleSet/TestLibraryWithRuleSet/Violations.cs +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. - -using System; -using System.IO; - -namespace TestLibrary -{ - public class AttributeWithoutUsage : Attribute - { - } - - public class ClassWithUndisposedStream - { - private Stream _nonDisposedStream = new MemoryStream(); - - public ClassWithUndisposedStream() - { - } - - public Stream GetStream() - { - return _nonDisposedStream; - } - } -} diff --git a/TestAssets/TestProjects/TestRuleSet/TestLibraryWithRuleSet/project.json b/TestAssets/TestProjects/TestRuleSet/TestLibraryWithRuleSet/project.json deleted file mode 100644 index 8a95d52f2..000000000 --- a/TestAssets/TestProjects/TestRuleSet/TestLibraryWithRuleSet/project.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "additionalArguments": [ - "/ruleset:../global.ruleset" - ] - }, - "dependencies": { - "NETStandard.Library": "1.6.0", - "System.Runtime.Analyzers": { - "version": "1.1.0", - "type": "build" - } - }, - "frameworks": { - "netstandard1.5": {} - } -} diff --git a/TestAssets/TestProjects/TestRuleSet/global.ruleset b/TestAssets/TestProjects/TestRuleSet/global.ruleset deleted file mode 100644 index 19e8b09b9..000000000 --- a/TestAssets/TestProjects/TestRuleSet/global.ruleset +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/TestAssets/TestProjects/TestSimpleIncrementalApp/Program.cs b/TestAssets/TestProjects/TestSimpleIncrementalApp/Program.cs deleted file mode 100644 index 51233cffa..000000000 --- a/TestAssets/TestProjects/TestSimpleIncrementalApp/Program.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class Program - { - public static void Main(string[] args) - { - Console.WriteLine("Hello World!"); - } - } -} diff --git a/TestAssets/TestProjects/TestSimpleIncrementalApp/Program2.cs b/TestAssets/TestProjects/TestSimpleIncrementalApp/Program2.cs deleted file mode 100644 index 6c936abc9..000000000 --- a/TestAssets/TestProjects/TestSimpleIncrementalApp/Program2.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace ConsoleApplication -{ - public class Program2 - { - public static void Foo(string[] args) - { - Console.WriteLine("Hello World!"); - } - } -} diff --git a/TestAssets/TestProjects/TestSimpleIncrementalApp/TestApp.xproj b/TestAssets/TestProjects/TestSimpleIncrementalApp/TestApp.xproj deleted file mode 100644 index 088568e54..000000000 --- a/TestAssets/TestProjects/TestSimpleIncrementalApp/TestApp.xproj +++ /dev/null @@ -1,20 +0,0 @@ - - - - 14.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - - 58808bbc-371e-47d6-a3d0-4902145edaaa - TestSimpleIncrementalApp - ..\..\artifacts\obj\$(MSBuildProjectName) - ..\..\artifacts\bin\$(MSBuildProjectName)\ - - - - 2.0 - - - diff --git a/TestAssets/TestProjects/TestSimpleIncrementalApp/project.json b/TestAssets/TestProjects/TestSimpleIncrementalApp/project.json deleted file mode 100644 index 26a817258..000000000 --- a/TestAssets/TestProjects/TestSimpleIncrementalApp/project.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "version": "1.0.0-*", - "buildOptions": { - "emitEntryPoint": true, - "xmlDoc": true - }, - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - }, - "frameworks": { - "netcoreapp1.0": {} - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/TestSystemCoreReference/project.json b/TestAssets/TestProjects/TestSystemCoreReference/project.json deleted file mode 100644 index cd3e6696a..000000000 --- a/TestAssets/TestProjects/TestSystemCoreReference/project.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": {}, - "frameworks": { - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - } - }, - "net451": { - "frameworkAssemblies": { - "System": "" - } - } - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/TestAssets/TestProjects/TestSystemReference/project.json b/TestAssets/TestProjects/TestSystemReference/project.json deleted file mode 100644 index 3db447934..000000000 --- a/TestAssets/TestProjects/TestSystemReference/project.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "version": "1.0.0-*", - "dependencies": {}, - "frameworks": { - "netcoreapp1.0": { - "dependencies": { - "Microsoft.NETCore.App": "1.0.1" - } - }, - "net451": { - "frameworkAssemblies": { - "System.Core": "" - } - } - }, - "runtimes": { - "win7-x64": {}, - "win7-x86": {}, - "osx.10.10-x64": {}, - "osx.10.11-x64": {}, - "ubuntu.14.04-x64": {}, - "ubuntu.16.04-x64": {}, - "centos.7-x64": {}, - "rhel.7.2-x64": {}, - "debian.8-x64": {}, - "fedora.23-x64": {}, - "opensuse.13.2-x64": {} - } -} diff --git a/test/dotnet-build.Tests/GivenDotnetBuildBuildsCsproj.cs b/test/dotnet-build.Tests/GivenDotnetBuildBuildsCsproj.cs index dc0f906d6..5b31aa212 100644 --- a/test/dotnet-build.Tests/GivenDotnetBuildBuildsCsproj.cs +++ b/test/dotnet-build.Tests/GivenDotnetBuildBuildsCsproj.cs @@ -15,32 +15,26 @@ namespace Microsoft.DotNet.Cli.Build.Tests public void It_builds_a_runnable_output() { var testAppName = "MSBuildTestApp"; - var testInstance = TestAssetsManager - .CreateTestInstance(testAppName); - - var testProjectDirectory = testInstance.TestRoot; - - new RestoreCommand() - .WithWorkingDirectory(testProjectDirectory) - .Execute("/p:SkipInvalidConfigurations=true") - .Should() - .Pass(); + var testInstance = TestAssets.Get(testAppName) + .CreateInstance(testAppName) + .WithSourceFiles() + .WithRestoreFiles(); new BuildCommand() - .WithWorkingDirectory(testProjectDirectory) + .WithWorkingDirectory(testInstance.Root) .Execute() - .Should() - .Pass(); + .Should().Pass(); var configuration = Environment.GetEnvironmentVariable("CONFIGURATION") ?? "Debug"; - var outputDll = Path.Combine(testProjectDirectory, "bin", configuration, "netcoreapp1.0", $"{testAppName}.dll"); + + var outputDll = testInstance.Root.GetDirectory("bin", configuration, "netcoreapp1.0") + .GetFile($"{testAppName}.dll"); + var outputRunCommand = new TestCommand("dotnet"); - outputRunCommand.ExecuteWithCapturedOutput(outputDll) - .Should() - .Pass() - .And - .HaveStdOutContaining("Hello World"); + outputRunCommand.ExecuteWithCapturedOutput(outputDll.FullName) + .Should().Pass() + .And.HaveStdOutContaining("Hello World"); } } } diff --git a/test/dotnet.Tests/PackagedCommandTests.cs b/test/dotnet.Tests/PackagedCommandTests.cs index 2c06ca8c1..88712770a 100644 --- a/test/dotnet.Tests/PackagedCommandTests.cs +++ b/test/dotnet.Tests/PackagedCommandTests.cs @@ -60,7 +60,7 @@ namespace Microsoft.DotNet.Tests public void TestProjectToolIsAvailableThroughDriver(string appName) { var testInstance = TestAssets.Get(appName) - .CreateInstance(appName, identifier: appName) + .CreateInstance() .WithSourceFiles() .WithRestoreFiles();