This project is read-only.

NuGet Packages

Feb 23, 2011 at 7:52 PM

Nuget is tool like maven, which lets java developers download libraries from an archive at build time (aka not have a third party dll directory).

http://nuget.org/

This would make it easier for developers to use DotSpatial.

Scott Hanselman has a couple of blog entries:

 

Issues:

  • What about the third party libraries used by dot spatial are they already packaged
  • What is in the DotSpatial Package
  • Who manages the packages
  • Examples of developing an application using NuGet Packages
  • This is going to force some API stability and require versioning in DotSpatial...
    • aka minimize changing the namespaces, and API's.
    • Define Interfaces. Stick to them.
    • Extend Interfaces with versionng.
    • Depreciate namespaces... don't just delete them.
Mar 9, 2011 at 11:06 PM

Ok, I did some practical research. Nuget is not maven.... we will still have binaries in source control... 

But it is a way to distribute the "package" so that those binaries are external to the product.

basically, you install a package,and it's downloaded. If it has dependencies, they are downloaded....

 

  • Directory
    • Proj.sln
    • csproj1 dir
    • package.config
    • package
      • repository.config
      • packageA
      • packageB
    • CsProj2 dir

Unfortunately, you can't just not check in the package directory (obviously too java like), if you don't then you need to re-add the packages. 

Mar 9, 2011 at 11:12 PM

The one thing this would be useful for is versioning, and starting a project.

If a developer wants a specific version, then that version can be downloaded.