NuGetPowerTools and Output Dir Problem

Jan 2, 2012 at 11:02 AM

Hello,

I am building a Package of a Library using MSBuild in NuGetPowerTools.

The package is created and placed inside the Bin\Release folder.

However I need to change the Output Path to C:\Dev\Packages.

So I changed the following in NuGet.targets file:

<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <PropertyGroup>
        <PackageOutputDir>C:\Dev\Packages</PackageOutputDir>

But the packages are still placed inside the Bin\Release folder.

Then I tried to change the following:

<BuildCommand>"$(NuGetExePath)" pack "$(ProjectPath)" -p Configuration=$(Configuration) -o "C:\Dev\Packages" -symbols</BuildCommand>

But the packages are still going to Bin\Release folder.

I don't get any error when I build the packages.

Any idea what I am doing wrong?

Thank You,
Miguel