Adding dotnet-test-console to the list of generated nupkgs and fixing some namespace for the new command resolvers.
This commit is contained in:
parent
e8f2dabcdb
commit
b09a6c6350
7 changed files with 7 additions and 7 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
using Microsoft.DotNet.Cli.Utils.CommandResolution;
|
||||
using Microsoft.DotNet.PlatformAbstractions;
|
||||
|
||||
namespace Microsoft.DotNet.Cli.Utils
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.DotNet.Cli.Utils.CommandResolution
|
||||
namespace Microsoft.DotNet.Cli.Utils
|
||||
{
|
||||
public interface IPublishedPathCommandSpecFactory
|
||||
{
|
||||
|
|
|
@ -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))
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
using System.Reflection;
|
||||
using System.Resources;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
[assembly: AssemblyMetadata("Serviceable", "True")]
|
||||
[assembly: NeutralResourcesLanguage("en-us")]
|
||||
|
|
Loading…
Add table
Reference in a new issue