added option to automatically generate nuget dependency list from target...#49
added option to automatically generate nuget dependency list from target...#49keeger wants to merge 1 commit intobrentspell:masterfrom
Conversation
…geted packages. This is reflected in the NuBuildAutoGenerateDependencies property being set to true. If NuBuildAutoGenerateDependencies = true (default) but a dependency list is specified in the nuspec file, the nuspec file wins, and no auto-generation is done. Also updated Nuget.Core to 2.8, and pushed the version to 1.9.1
|
This solution has some issues (if I read the source correctly).
I'm started to implement #41 with these considerations, it uses your NuBuildAutoGenerateDependencies property to be compatible with existing project files. My NuBuild version uses project flavor (ie. csproj files not nuproj files, but this is only for VS/NuGet), the NuPackage.cs and other files are compatible with the 1.x versions. I will publish it this week, but I want to test it on real projects. |
I read the project file as xml to obtain the full path to the referenced
I did not know this was required?
I'm pulling the dependencies from the referenced projects, so the
I don't know how it does that. That'd be a nice feature. On Wed, Feb 19, 2014 at 8:53 AM, lmagyar notifications@github.com wrote:
|
|
To fill out frameworkAssemblies automatically, makes life much easier. :) Simply you don't need to edit frameworkAssemblies and dependencies in nuspec at all. Yes, different targetFramework-s require multiple csproj-s to include/refer in NuBuild project. And yes, handling targetFrameworks automatically in frameworkAssemblies and dependencies is tricky, at least for me. :/ |
...ed packages. This is reflected in the NuBuildAutoGenerateDependencies property being set to true.
If NuBuildAutoGenerateDependencies = true (default) but a dependency list is specified in the nuspec file, the nuspec file wins, and no auto-generation is done.
Also updated Nuget.Core to 2.8, and pushed the version to 1.9.1