Merge pull request #1025 from dotnet/pawelka/bug-1014

Fixing wrong output path passed to pre/post publish scripts
This commit is contained in:
Piotr Puszkiewicz 2016-01-25 11:20:29 -08:00
commit e40f860d12

View file

@ -89,7 +89,8 @@ namespace Microsoft.DotNet.Tools.Publish
{
{ "publish:ProjectPath", context.ProjectDirectory },
{ "publish:Configuration", configuration },
{ "publish:OutputPath", outputPathCalculator.BaseCompilationOutputPath },
{ "publish:OutputPath", outputPath },
{ "publish:PublishOutputPath", outputPathCalculator.BaseCompilationOutputPath },
{ "publish:Framework", context.TargetFramework.Framework },
{ "publish:Runtime", context.RuntimeIdentifier },
};