I thought this was pretty cool and didn't it referenced in the group
or on the wiki, so I thought I'd share.
I have a VS.NET solution that has several projects, one of which is a
web project (WCF service, actually). I wanted to mimic the
"Publish..." option from inside VS.NET in my rake build, and it was
trivially easy to do so.
The rake task looks like:
desc "Publish the web site"
msbuildtask :publish do |msb|
msb.properties = {:configuration=>:Release}
msb.targets [:ResolveReferences,:_CopyWebApplication]
msb.properties = {
:webprojectoutputdir=>"c:/temp/outputdir/",
:outdir => "c:/temp/outputdir/bin/"
}
msb.solution = ".<path to project dir>/Project.Web.csproj"
end
I haven't tried to publish over http, yet. My guess is if someone
wants to go that way, they'd fire up the Web Deployment Tool
(something I may look at soon)
> I thought this was pretty cool and didn't it referenced in the group
> or on the wiki, so I thought I'd share.
> I have a VS.NET solution that has several projects, one of which is a
> web project (WCF service, actually). I wanted to mimic the
> "Publish..." option from inside VS.NET in my rake build, and it was
> trivially easy to do so.
> The rake task looks like:
> desc "Publish the web site"
> msbuildtask :publish do |msb|
> msb.properties = {:configuration=>:Release}
> msb.targets [:ResolveReferences,:_CopyWebApplication]
> msb.properties = {
> :webprojectoutputdir=>"c:/temp/outputdir/",
> :outdir => "c:/temp/outputdir/bin/"
> }
> msb.solution = ".<path to project dir>/Project.Web.csproj"
> end
> I haven't tried to publish over http, yet. My guess is if someone
> wants to go that way, they'd fire up the Web Deployment Tool
> (something I may look at soon)
> You received this message because you are subscribed to the Google
> Groups "albacoredev" group.
> To post to this group, send email to albacoredev@googlegroups.com.
> To unsubscribe from this group, send email to albacoredev+unsubscribe@googlegroups.com > .
> For more options, visit this group at http://groups.google.com/group/albacoredev?hl=en > .
On Mon, Dec 14, 2009 at 2:35 PM, Glenn Goodrich <gl...@goodrichs.net> wrote:
> I thought this was pretty cool and didn't it referenced in the group
> or on the wiki, so I thought I'd share.
> I have a VS.NET solution that has several projects, one of which is a
> web project (WCF service, actually). I wanted to mimic the
> "Publish..." option from inside VS.NET in my rake build, and it was
> trivially easy to do so.
> The rake task looks like:
> desc "Publish the web site"
> msbuildtask :publish do |msb|
> msb.properties = {:configuration=>:Release}
> msb.targets [:ResolveReferences,:_CopyWebApplication]
> msb.properties = {
> :webprojectoutputdir=>"c:/temp/outputdir/",
> :outdir => "c:/temp/outputdir/bin/"
> }
> msb.solution = ".<path to project dir>/Project.Web.csproj"
> end
> I haven't tried to publish over http, yet. My guess is if someone
> wants to go that way, they'd fire up the Web Deployment Tool
> (something I may look at soon)
> Thanks to the following post for helping me get there.
> You received this message because you are subscribed to the Google Groups
> "albacoredev" group.
> To post to this group, send email to albacoredev@googlegroups.com.
> To unsubscribe from this group, send email to
> albacoredev+unsubscribe@googlegroups.com<albacoredev%2Bunsubscribe@googlegr oups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/albacoredev?hl=en.
I've been meaning to dig into the Web Deployment Tool and see how I can use
that in my Rake build for archiving and synching web apps. If you get
anywhere with it, definitely keep us posted and I'll do the same.
On Mon, Dec 14, 2009 at 5:09 PM, Derick Bailey <derickbai...@gmail.com>wrote:
> that's pretty darn cool. would make a good blog post on albacorebuild.net:) ... or on your blog if you have one.
> -derick
> On Mon, Dec 14, 2009 at 2:35 PM, Glenn Goodrich <gl...@goodrichs.net>wrote:
>> I thought this was pretty cool and didn't it referenced in the group
>> or on the wiki, so I thought I'd share.
>> I have a VS.NET solution that has several projects, one of which is a
>> web project (WCF service, actually). I wanted to mimic the
>> "Publish..." option from inside VS.NET in my rake build, and it was
>> trivially easy to do so.
>> The rake task looks like:
>> desc "Publish the web site"
>> msbuildtask :publish do |msb|
>> msb.properties = {:configuration=>:Release}
>> msb.targets [:ResolveReferences,:_CopyWebApplication]
>> msb.properties = {
>> :webprojectoutputdir=>"c:/temp/outputdir/",
>> :outdir => "c:/temp/outputdir/bin/"
>> }
>> msb.solution = ".<path to project dir>/Project.Web.csproj"
>> end
>> I haven't tried to publish over http, yet. My guess is if someone
>> wants to go that way, they'd fire up the Web Deployment Tool
>> (something I may look at soon)
>> Thanks to the following post for helping me get there.
>> You received this message because you are subscribed to the Google Groups
>> "albacoredev" group.
>> To post to this group, send email to albacoredev@googlegroups.com.
>> To unsubscribe from this group, send email to
>> albacoredev+unsubscribe@googlegroups.com<albacoredev%2Bunsubscribe@googlegr oups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/albacoredev?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "albacoredev" group.
> To post to this group, send email to albacoredev@googlegroups.com.
> To unsubscribe from this group, send email to
> albacoredev+unsubscribe@googlegroups.com<albacoredev%2Bunsubscribe@googlegr oups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/albacoredev?hl=en.
I looked at the Web Deployment tool for a few days, just before changing jobs. i had planned on creating an albacore task for it... it was more complicated than I had hoped, but i'm still planning on doing that ( just added issue #39 to the list http://github.com/derickbailey/Albacore/issues/#issue/39 )
On Tue, Dec 15, 2009 at 8:25 AM, Brian Donahue <br...@pigeonmoon.com> wrote: > I've been meaning to dig into the Web Deployment Tool and see how I can use > that in my Rake build for archiving and synching web apps. If you get > anywhere with it, definitely keep us posted and I'll do the same.
> On Mon, Dec 14, 2009 at 5:09 PM, Derick Bailey <derickbai...@gmail.com>wrote:
>> that's pretty darn cool. would make a good blog post on albacorebuild.net:) ... or on your blog if you have one.
>> -derick
>> On Mon, Dec 14, 2009 at 2:35 PM, Glenn Goodrich <gl...@goodrichs.net>wrote:
>>> I thought this was pretty cool and didn't it referenced in the group >>> or on the wiki, so I thought I'd share.
>>> I have a VS.NET solution that has several projects, one of which is a >>> web project (WCF service, actually). I wanted to mimic the >>> "Publish..." option from inside VS.NET in my rake build, and it was >>> trivially easy to do so.
>>> The rake task looks like:
>>> desc "Publish the web site" >>> msbuildtask :publish do |msb| >>> msb.properties = {:configuration=>:Release} >>> msb.targets [:ResolveReferences,:_CopyWebApplication] >>> msb.properties = { >>> :webprojectoutputdir=>"c:/temp/outputdir/", >>> :outdir => "c:/temp/outputdir/bin/" >>> } >>> msb.solution = ".<path to project dir>/Project.Web.csproj" >>> end
>>> I haven't tried to publish over http, yet. My guess is if someone >>> wants to go that way, they'd fire up the Web Deployment Tool >>> (something I may look at soon)
>>> Thanks to the following post for helping me get there.
>>> You received this message because you are subscribed to the Google Groups >>> "albacoredev" group. >>> To post to this group, send email to albacoredev@googlegroups.com. >>> To unsubscribe from this group, send email to >>> albacoredev+unsubscribe@googlegroups.com<albacoredev%2Bunsubscribe@googlegr oups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/albacoredev?hl=en.
>> -- >> You received this message because you are subscribed to the Google Groups >> "albacoredev" group. >> To post to this group, send email to albacoredev@googlegroups.com. >> To unsubscribe from this group, send email to >> albacoredev+unsubscribe@googlegroups.com<albacoredev%2Bunsubscribe@googlegr oups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/albacoredev?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "albacoredev" group. > To post to this group, send email to albacoredev@googlegroups.com. > To unsubscribe from this group, send email to > albacoredev+unsubscribe@googlegroups.com<albacoredev%2Bunsubscribe@googlegr oups.com> > . > For more options, visit this group at > http://groups.google.com/group/albacoredev?hl=en.