Adding dotnet-test-console to the list of generated nupkgs and fixing some namespace for the new command resolvers.

This commit is contained in:
Livar Cunha 2016-08-25 23:08:25 -07:00
parent e8f2dabcdb
commit b09a6c6350
7 changed files with 7 additions and 7 deletions

View file

@ -43,6 +43,10 @@
<ProjectName>Microsoft.Extensions.Testing.Abstractions</ProjectName>
<Version>$(SdkNugetVersion)</Version>
</ProjectsToPack>
<ProjectsToPack Include="$(ProjectsSrcDirectory)/dotnet-test-console">
<ProjectName>dotnet-test-console</ProjectName>
<Version>$(SdkNugetVersion)</Version>
</ProjectsToPack>
</ItemGroup>
</Target>

View file

@ -1,4 +1,3 @@
using Microsoft.DotNet.Cli.Utils.CommandResolution;
using Microsoft.DotNet.PlatformAbstractions;
namespace Microsoft.DotNet.Cli.Utils

View file

@ -3,7 +3,7 @@
using System.Collections.Generic;
namespace Microsoft.DotNet.Cli.Utils.CommandResolution
namespace Microsoft.DotNet.Cli.Utils
{
public interface IPublishedPathCommandSpecFactory
{

View file

@ -52,8 +52,7 @@ namespace Microsoft.DotNet.Cli.Utils
}
var buildOutputPath =
projectContext.GetOutputPaths(configuration, buildBasePath, outputPath).CompilationOutputPath +
"publish";
projectContext.GetOutputPaths(configuration, buildBasePath, outputPath).RuntimeFiles.BasePath;
if (! Directory.Exists(buildOutputPath))
{

View file

@ -6,7 +6,7 @@ using System.Collections.Generic;
using System.IO;
using Microsoft.DotNet.ProjectModel;
namespace Microsoft.DotNet.Cli.Utils.CommandResolution
namespace Microsoft.DotNet.Cli.Utils
{
public class PublishPathCommandSpecFactory : IPublishedPathCommandSpecFactory
{

View file

@ -2,7 +2,6 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using Microsoft.DotNet.Cli.Utils.CommandResolution;
namespace Microsoft.DotNet.Cli.Utils
{

View file

@ -3,7 +3,6 @@
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
[assembly: AssemblyMetadata("Serviceable", "True")]
[assembly: NeutralResourcesLanguage("en-us")]