Fixing wrong output path passed to pre/post publish scripts

Fixes #1014
This commit is contained in:
moozzyk 2016-01-24 20:28:52 -08:00
parent ea43482551
commit 813979de0e

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 },
};