msbuildtasks icon indicating copy to clipboard operation
msbuildtasks copied to clipboard

The .build folder does not create when install Nuget package

Open abakumov-v opened this issue 8 years ago • 6 comments

Hi!

When I'm tried install the latest version (1.5.0.196) of Nuget-package "MSBuildTasks" (through VS 2015 Update 1), the important folder ".build" does not create automatically.

Log of Package Manager Console is:

PM> install-Package MSBuildTasks Lifeit.TestApp
Attempting to gather dependencies information for package 'MSBuildTasks.1.5.0.196' with respect to project 'Lifeit.TestApp', targeting '.NETFramework,Version=v4.5'
Attempting to resolve dependencies for package 'MSBuildTasks.1.5.0.196' with DependencyBehavior 'Lowest'
Resolving actions to install package 'MSBuildTasks.1.5.0.196'
Resolved actions to install package 'MSBuildTasks.1.5.0.196'
Adding package 'MSBuildTasks.1.5.0.196' to folder 'D:\Projects\LifeIT\Git\dotNET\Lifeit.TestApp\packages'
Added package 'MSBuildTasks.1.5.0.196' to folder 'D:\Projects\LifeIT\Git\dotNET\Lifeit.TestApp\packages'
Added package 'MSBuildTasks.1.5.0.196' to 'packages.config'
Successfully installed 'MSBuildTasks 1.5.0.196' to Lifeit.TestApp
PM> 

But if I',m installing one of previous version - 1.4.0.128 - then Package Manager Console log is:

PM> install-Package MSBuildTasks Lifeit.TestApp -Version 1.4.0.128
Attempting to gather dependencies information for package 'MSBuildTasks.1.4.0.128' with respect to project 'Lifeit.TestApp', targeting '.NETFramework,Version=v4.5'
Attempting to resolve dependencies for package 'MSBuildTasks.1.4.0.128' with DependencyBehavior 'Lowest'
Resolving actions to install package 'MSBuildTasks.1.4.0.128'
Resolved actions to install package 'MSBuildTasks.1.4.0.128'
Adding package 'MSBuildTasks.1.4.0.128' to folder 'D:\Projects\LifeIT\Git\dotNET\Lifeit.TestApp\packages'
Added package 'MSBuildTasks.1.4.0.128' to folder 'D:\Projects\LifeIT\Git\dotNET\Lifeit.TestApp\packages'
Added package 'MSBuildTasks.1.4.0.128' to 'packages.config'
Executing script file 'D:\Projects\LifeIT\Git\dotNET\Lifeit.TestApp\packages\MSBuildTasks.1.4.0.128\tools\Install.ps1'
Delete temporary file
Copying MSBuild Community Tasks files to D:\Projects\LifeIT\Git\dotNET\Lifeit.TestApp\.build
Copying Sample Build.proj to D:\Projects\LifeIT\Git\dotNET\Lifeit.TestApp
Don't forget to commit the .build folder
Successfully installed 'MSBuildTasks 1.4.0.128' to Lifeit.TestApp
PM>

UPD: also after intalling version 1.5.0.196 does not creating "Build.proj" file

abakumov-v avatar Jun 10 '16 06:06 abakumov-v

Also not seeing it created when installing 1.5.0.196.

busbina avatar Jul 15 '16 18:07 busbina

Ditto for build 1.5.0.214

Attempting to gather dependency information for package 'MSBuildTasks.1.5.0.214' with respect to project 'xxxxxxxxxxxxxxxxxxx', targeting '.NETFramework,Version=v4.6' Attempting to resolve dependencies for package 'MSBuildTasks.1.5.0.214' with DependencyBehavior 'Lowest' Resolving actions to install package 'MSBuildTasks.1.5.0.214' Resolved actions to install package 'MSBuildTasks.1.5.0.214' Attempting to gather dependency information for package 'MSBuildTasks.1.5.0.214' with respect to project 'xxxxxxxxxxxxxxxx', targeting '.NETFramework,Version=v4.6' Attempting to resolve dependencies for package 'MSBuildTasks.1.5.0.214' with DependencyBehavior 'Lowest' Resolving actions to install package 'MSBuildTasks.1.5.0.214' Resolved actions to install package 'MSBuildTasks.1.5.0.214' GET https://api.nuget.org/packages/msbuildtasks.1.5.0.214.nupkg OK https://api.nuget.org/packages/msbuildtasks.1.5.0.214.nupkg 13ms Installing MSBuildTasks 1.5.0.214. Adding package 'MSBuildTasks.1.5.0.214' to folder 'C:_src\gold\xxxxxxxxx\packages' Added package 'MSBuildTasks.1.5.0.214' to folder 'C:_src\gold\xxxxxxxxxxx\packages' Added package 'MSBuildTasks.1.5.0.214' to 'packages.config' Successfully installed 'MSBuildTasks 1.5.0.214' to xxxxxxxxxxxxxxxx Package 'MSBuildTasks.1.5.0.214' already exists in folder 'C:_src\gold\xxxxxxxxxxx\packages' Added package 'MSBuildTasks.1.5.0.214' to 'packages.config' Successfully installed 'MSBuildTasks 1.5.0.214' to xxxxxxxxxxxxxxx ========== Finished ==========

ghost avatar Dec 01 '16 08:12 ghost

Hi there, I was trying to use the nuget package and i see the same issue, no .build folder to find after install. I have checked that the folder is correctly created if installing last 1.4 version (1.4.0.128). Any news of this?

macebalp avatar Mar 16 '17 11:03 macebalp

Have a same problem with VS 2017+.Net 4.7

ghost avatar Jun 24 '17 11:06 ghost

Come on...

RobotCaleb avatar Mar 21 '18 17:03 RobotCaleb

This is also a problem if you upgrade from <1.4.0.128 to current as it leaves the old .build folder in place with the .dll and .targets of the old version intact. So you will be using an old build thinking you're not.

RobotCaleb avatar Mar 22 '18 16:03 RobotCaleb