NuGet Packages for NetOffice

Developer
Sep 27, 2013 at 10:52 PM

NuGet Packages for NetOffice

https://github.com/CaioProiete/NetOffice-NuGet

Introduction

I've recently created a set of NuGet packages in order to make it easier for people to get started with NetOffice, and also facilitate deployment / distribution of NetOffice as a dependency for shops building professional applications using this great library.

These NuGet packages contain exactly the same assemblies that are available for download here at CodePlex, and are not modified in any way.

I created specific packages for each MS Office application, so that developers can use only the pieces that they care about (i.e. If you are developing an application to work with Excel, you only need the NetOffice.Excel NuGet package).

Each of these specific packages include assemblies compatible with all versions of the .NET Framework (well, all versions that NetOffice supports) and are probably the recommended ones for people who are getting started.
  • NetOffice.Excel
  • NetOffice.Word
  • NetOffice.Outlook
  • NetOffice.PowerPoint
  • NetOffice.Access
  • NetOffice.MSProject
  • NetOffice.Visio
I also created more granular NuGet packages that target a specific version of the .NET Framework, for developers that prefer to depend on more specific packages.
  • NetOffice.Excel.Net20, .Net30, .Net35, .Net40, .Net45
  • NetOffice.Word.Net20, .Net30, .Net35, .Net40, .Net45
  • NetOffice.Outlook.Net20, .Net30, .Net35, .Net40, .Net45
  • NetOffice.PowerPoint.Net20, .Net30, .Net35, .Net40, .Net45
  • NetOffice.Access.Net20, .Net30, .Net35, .Net40, .Net45
  • NetOffice.MSProject.Net20, .Net30, .Net35, .Net40, .Net45
  • NetOffice.Visio.Net20, .Net30, .Net35, .Net40, .Net45

Download

More details and the source code of the NuGet packages are available on GitHub:
https://github.com/CaioProiete/NetOffice-NuGet

All NuGet packages can be found on the official NuGet.org feed under the tag "netoffice"
http://www.nuget.org/packages?q=Tags%3A%22netoffice%22
Coordinator
Sep 29, 2013 at 10:21 PM
I dont want support Nuget because i dont support any "An MS/Google/Adobe/Apple/... product have permissions to establish an internet connection" scenario.
These guys are evil (what i mean) Of course, feel free to do whatever you want. NetOffice use the MIT-License(no hurdles) but i give no warranties for actuality and anyone else.

Sebastian
Developer
Sep 29, 2013 at 10:54 PM
Edited Sep 29, 2013 at 11:01 PM
SebastianDotNet wrote:
I dont want support Nuget because i dont support any "An MS/Google/Adobe/Apple/... product have permissions to establish an internet connection" scenario.
These guys are evil (what i mean) Of course, feel free to do whatever you want. NetOffice use the MIT-License(no hurdles) but i give no warranties for actuality and anyone else.

Sebastian
Hey Sebastian, glad to (finally) have a reply from you.

It seems to me that you are misinformed... NuGet packages and "products having permission to establish internet connection" are not related.

1-) Anyone can have their own private NuGet feed (you just have to put the packages in a folder in the file system), and there's no need for internet access and that's actually what lots of .NET shops do, so that their employees can use only the NuGet packages that have been "approved" by some IT Lead.

Image

2-) You don't need Visual Studio to download NuGet packages... You can use simple HTTP tools to download them, if you wish. For example, to download the NetOffice.Excel package:
wget -O NetOffice.Excel http://packages.nuget.org/api/v1/package/NetOffice.Excel/1.6.0.0
unzip NetOffice.Excel 'lib/*'
3-) No one is obligated to use the main NuGet.org feed. Anyone can download the package definition from my GitHub repository (https://github.com/CaioProiete/NetOffice-NuGet) and build the packages themselves.

4-) If that makes you (and possibly other people) happy, I could host the generated NuGet packages on the same GitHub repository, just so people can download from there rather than downloading from the NuGet.org feed (if that is the problem). I could also host the packages on a MyGet feed as well (again, if NuGet.org is a concern for anyone). Actually you could host the NuGet packages here in CodePlex if you want - happy to help if you need.

Does that clarify things a little for you?

NuGet is a package manager that helps manage dependencies of a .NET application... Any professional developer should be using it.

Not wanting your Visual Studio to connect to the Internet is your choice, but that has nothing to do with embracing NuGet as your package manager.

Cheers,
Caio Proiete
Coordinator
Sep 29, 2013 at 11:02 PM
gimme a day please to check this out.
*Sebastian
Sep 29, 2013 at 11:46 PM
Let me know if you have any questions. NuGet is a very popular way for people get OSS libraries into their projects, and I'm 99% sure I'm not evil.
Coordinator
Sep 30, 2013 at 10:44 PM
hello caio, hansel,

as i start with netoffice some people ask me for nuget package(some years ago). i try nuget and see its just a stupid addin and try to establish an internet connection directly(visual stuidio impersination). i'm affraid! i ask in the nuget board for solutions and a guy told me to use the nuget console and delete my issue have a nice day. i study the nuget code for a while and it looks safe, yes. what i say since 1998 a serious addin doesnt try to establish an internet connection directly. perform any kind of ipc communication to deal with an external process(.exe) to give the local firewall a chance. its okay for me to give nuget the permissions to establish a https connection to a specific remote point but not more! (see my google translation addin for office in the download section. it's demonstrate what i mean)

caio: i have no problems to manage my depencies on my own. sometimes i find the older version is better or i will waiting for while to see the new version is stable. is the dependency problem the biggest for a developer? i think no. its just a small problem and costs nothing to handle this at hand. you win control man!!

hansel: i want add a specific firewall rule to see what can nuget do for me. which protocoll use nuget currently for communication? the nuget gallery has a generic uri/ip and port?

*Sebastian
Sep 30, 2013 at 10:51 PM
Sure, NuGet just uses HTTP(s) to a REST endpoint. It's just like NPM or GEMs, except for .NET. There is a central gallery http://nuget.codeplex.com/wikipage?title=NuGet%201.6%20Gallery%20Service%20Endpoints but lots of other community galleries like MyGet.org.

It's the biggest thing to happen in .NET in years. http://www.nuget.org/stats



Coordinator
Sep 30, 2013 at 11:57 PM
Edited Sep 30, 2013 at 11:58 PM
hahahahaha, the microsoft trick. its possible, but in the very advanced options(nuget console). 99% of the people doesnt realize them.
okay: when steve ballmer is dead for 20 years then i will see what is the situation and may its okay to do this.
for now: i dont want support any ms/internet coop scenario.


btw: cloud doesnt exist. its just software-one-demand. (no worries for ms marketing)

EOD

*Sebastian
(WF Desktop Application Developer & JavaScript Hateboy)