From 941575d18826f2ed78022be302d039b5fab35c0e Mon Sep 17 00:00:00 2001 From: Krzysztof Wicher Date: Thu, 29 Dec 2016 14:34:24 -0800 Subject: [PATCH] Remove cross project compile include on DotnetFiles.cs --- src/{dotnet => Microsoft.DotNet.Cli.Utils}/DotnetFiles.cs | 4 ++-- src/Microsoft.DotNet.Cli.Utils/DotnetVersionFile.cs | 2 +- .../Microsoft.DotNet.Cli.Utils.Tests.csproj | 1 - .../Microsoft.DotNet.Tools.Tests.Utilities.csproj | 1 - 4 files changed, 3 insertions(+), 5 deletions(-) rename src/{dotnet => Microsoft.DotNet.Cli.Utils}/DotnetFiles.cs (93%) diff --git a/src/dotnet/DotnetFiles.cs b/src/Microsoft.DotNet.Cli.Utils/DotnetFiles.cs similarity index 93% rename from src/dotnet/DotnetFiles.cs rename to src/Microsoft.DotNet.Cli.Utils/DotnetFiles.cs index d4212fb6a..b27aec0a2 100644 --- a/src/dotnet/DotnetFiles.cs +++ b/src/Microsoft.DotNet.Cli.Utils/DotnetFiles.cs @@ -9,7 +9,7 @@ using Microsoft.DotNet.PlatformAbstractions; namespace Microsoft.DotNet.Cli { - internal static class DotnetFiles + public static class DotnetFiles { private static string SdkRootFolder => Path.Combine(typeof(DotnetFiles).GetTypeInfo().Assembly.Location, ".."); @@ -21,7 +21,7 @@ namespace Microsoft.DotNet.Cli /// public static string VersionFile => Path.GetFullPath(Path.Combine(SdkRootFolder, ".version")); - internal static DotnetVersionFile VersionFileObject + public static DotnetVersionFile VersionFileObject { get { return s_versionFileObject.Value; } } diff --git a/src/Microsoft.DotNet.Cli.Utils/DotnetVersionFile.cs b/src/Microsoft.DotNet.Cli.Utils/DotnetVersionFile.cs index 1f76067f2..ca8b981b3 100644 --- a/src/Microsoft.DotNet.Cli.Utils/DotnetVersionFile.cs +++ b/src/Microsoft.DotNet.Cli.Utils/DotnetVersionFile.cs @@ -6,7 +6,7 @@ using System.IO; namespace Microsoft.DotNet.Cli.Utils { - internal class DotnetVersionFile + public class DotnetVersionFile { public bool Exists { get; set; } diff --git a/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj b/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj index f6a081999..60b641ed6 100644 --- a/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj +++ b/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj @@ -13,7 +13,6 @@ - diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj b/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj index 84ed8512e..88dd86b90 100644 --- a/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj +++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj @@ -13,7 +13,6 @@ -