1
Vote

Please support NuGet v3 and v4

description

Please support NuGet v3 (traditional .NET Framework .csproj + project.json) and NuGet v4 (the new CPS .csproj with PackageReference).

The main difference is that all NuGet packages are put in %home%\.nuget\packages rather than a solution packages folder. Currently with nuGet v3 you get:
1>C:\Users\jmusser.nuget\packages\msbuild.ilmerge.task\1.0.5\build\MSBuild.ILMerge.Task.targets(87,5): error : Specified merge order file 'ILMergeOrder.txt' doesn't exist.
1>C:\Users\jmusser.nuget\packages\msbuild.ilmerge.task\1.0.5\build\MSBuild.ILMerge.Task.targets(87,5): error MSB4018: The "MSBuild.ILMerge.Task" task failed unexpectedly.
1>C:\Users\jmusser.nuget\packages\msbuild.ilmerge.task\1.0.5\build\MSBuild.ILMerge.Task.targets(87,5): error MSB4018: System.IO.FileNotFoundException: Cannot find ILMerge executable.
1>C:\Users\jmusser.nuget\packages\msbuild.ilmerge.task\1.0.5\build\MSBuild.ILMerge.Task.targets(87,5): error MSB4018: at MSBuild.ILMerge.Task.LoadILMerge()
1>C:\Users\jmusser.nuget\packages\msbuild.ilmerge.task\1.0.5\build\MSBuild.ILMerge.Task.targets(87,5): error MSB4018: at MSBuild.ILMerge.Task.Execute()
1>C:\Users\jmusser.nuget\packages\msbuild.ilmerge.task\1.0.5\build\MSBuild.ILMerge.Task.targets(87,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
1>C:\Users\jmusser.nuget\packages\msbuild.ilmerge.task\1.0.5\build\MSBuild.ILMerge.Task.targets(87,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

comments