Re: How to add an assembly reference to a package via a script

Jan 8, 2011 at 11:24 PM
guys, this kind of thing would be best in a FAQ or small wiki page in the project.

how does one become a doc contributor? (WLW editing of the wiki makes contributing a breeze :))

/kzu

--
Daniel Cazzulino | Developer Lead | MS MVP | Clarius Consulting | +1 425.329.3471


On Sat, Jan 8, 2011 at 21:21, Daniel Cazzulino <kzu@clariusconsulting.net> wrote:
param($installPath, $toolsPath, $package, $project)
$project.Object.References.Add("System.Web")


sometimes I forget just how bloddy easy it is to automate COM with powershell.... (yes, you have to know the precise call and so on, but no need to load assemblies, cast, etc.).

epic win :)

/kzu

--
Daniel Cazzulino | Developer Lead | MS MVP | Clarius Consulting | +1 425.329.3471

Coordinator
Jan 9, 2011 at 12:09 AM
Done. Please wiki responsibly. :)
Jan 9, 2011 at 1:37 AM
Thanks!

Added "Package authoring tips" landing page for a hopeully growing collection of "how tos" :)



Cheers!

/kzu

--
Daniel Cazzulino | Developer Lead | MS MVP | Clarius Consulting | +1 425.329.3471


On Sat, Jan 8, 2011 at 22:09, haacked <notifications@codeplex.com> wrote:

From: haacked

Done. Please wiki responsibly. :)

Read the full discussion online.

To add a post to this discussion, reply to this email (nuget@discussions.codeplex.com)

To start a new discussion for this project, email nuget@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com