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 @@ -