msbuildtasks icon indicating copy to clipboard operation
msbuildtasks copied to clipboard

Nuget integration

Open sonofaforester opened this issue 12 years ago • 2 comments

Having a problem with nuget integration, basically the same problem as documented in Issue #1

Here is my import statement.

Here is the error message I get:

C:\Visual Studio 2010\Projects\VMS\master.proj(23,2): error MSB4062: The "MSBui ld.Community.Tasks.FileUpdate" task could not be loaded from the assembly C:\Pr ogram Files (x86)\MSBuild\MSBuildCommunityTasks\MSBuild.Community.Tasks.dll. Co uld not load file or assembly 'file:///C:\Program Files (x86)\MSBuild\MSBuildCo mmunityTasks\MSBuild.Community.Tasks.dll' or one of its dependencies. The syste m cannot find the file specified. Confirm that the <UsingTask> declaration is c orrect, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

Any pointers?

sonofaforester avatar Feb 21 '13 13:02 sonofaforester

This might be fixed by https://github.com/loresoft/msbuildtasks/pull/158.

MicahZoltu avatar Mar 16 '15 00:03 MicahZoltu

This is a really old issue, but I had the same issue and had to first run the following at the root of the project:

> .\bootstrap.cmd

That batch script downloads all needed dependencies to build the project. ...Which brings up another issue...why does the project depend on itself?! That just seems like not just bad practice but a really bad idea to me.

bsara avatar May 23 '15 00:05 bsara