Visual Studio 2013 Extension

Automated deployment for web applications and databases

Moderators: Mike Upton, justin.caldicott, Sean.newham, csmith, chirayu, DavidSimner, david.conlin

Visual Studio 2013 Extension

Postby mtrutledge » Mon Oct 14, 2013 4:50 pm

Is there a deployment manager extension available for Visual Studio 2013 RC?
Last edited by mtrutledge on Fri Oct 18, 2013 7:59 pm, edited 1 time in total.
mtrutledge
 
Posts: 5
Joined: Mon Oct 14, 2013 4:49 pm

Postby james.billings » Fri Oct 18, 2013 11:50 am

We've had a few requests for this - I don't have an eta for it just yet, but I'll update this post as soon as I know more.
james.billings
 
Posts: 1146
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Postby bobkaine » Wed Nov 06, 2013 5:24 pm

Any ETA yet?
bobkaine
 
Posts: 4
Joined: Mon Oct 28, 2013 6:35 pm

Postby justin.caldicott » Fri Nov 08, 2013 5:21 pm

This is being worked on as I type. We'll keep you updated.
Justin Caldicott
Product Manager - Deployment Manager
Red Gate
justin.caldicott
 
Posts: 55
Joined: Wed Apr 20, 2011 5:42 pm

Postby chirayu » Thu Nov 28, 2013 7:10 pm

We have just shipped v1.1.1.953 which has support for Visual Studio 2013! Upgrade, try it and give us feedback. Thanks!
Chirayu Shishodiya
Software Engineer - Deployment Manager
Red Gate
chirayu
 
Posts: 68
Joined: Mon Sep 17, 2012 5:48 pm

Postby Levi Burton » Wed Dec 04, 2013 3:46 pm

I have a question -- will this plugin eventually support non web apps? Or does it already? I'm trying to give it a shot, but the menu item "Publish for deployment..." only appears when right clicking on a web app.

It would be very handy if it supported non web apps!
Levi Burton
 
Posts: 5
Joined: Wed Dec 04, 2013 3:42 pm
Location: United States

Postby justin.caldicott » Wed Dec 04, 2013 6:23 pm

Hi Levi,

You're right that it can only publish web apps at the moment.

What kind of projects do you need support for?
Justin Caldicott
Product Manager - Deployment Manager
Red Gate
justin.caldicott
 
Posts: 55
Joined: Wed Apr 20, 2011 5:42 pm

Re:

Postby Levi Burton » Thu Dec 05, 2013 4:16 pm

justin.caldicott wrote:Hi Levi,

You're right that it can only publish web apps at the moment.

What kind of projects do you need support for?


Support for C# console apps would be great! I have many C# console apps I run on our network servers and Deployment Manager is absolutely perfect for this.

I got it to work with the RgPublish command easy enough, but it's sort of a pain (I obviously could automate this with a shell script or something).

It would be wonderful if I could just right click my C# console app project, and publish to my package feed similar to how it works for web apps.

It's not that big of a deal to have this, as I can just use RgPublish, but it's one more step I have to take, and I'm sure you know how lazy programmers are. =)
Levi Burton
 
Posts: 5
Joined: Wed Dec 04, 2013 3:42 pm
Location: United States

Postby justin.caldicott » Thu Dec 05, 2013 4:22 pm

I know all too well, I'm one too! How do you start the console apps?

Are they running as windows services?
Justin Caldicott
Product Manager - Deployment Manager
Red Gate
justin.caldicott
 
Posts: 55
Joined: Wed Apr 20, 2011 5:42 pm

Postby Levi Burton » Thu Dec 05, 2013 4:25 pm

I have them all running via the task scheduler.
Levi Burton
 
Posts: 5
Joined: Wed Dec 04, 2013 3:42 pm
Location: United States

Postby justin.caldicott » Thu Dec 05, 2013 4:32 pm

Ok, and how do you start and stop them?

Presumably you have some PowerShell for this? If we extended the Visual Studio add-in to console apps, we'd need to have support for deploying them too, which presumably means:
- Stopping the process
- Updating the scheduled task
- Starting the process?

If we didn't support the deployment, then PowerShell in the project could still be used.

Do you have any PowerShell that you use for this that you're able to share on our PowerShell forum?
Justin Caldicott
Product Manager - Deployment Manager
Red Gate
justin.caldicott
 
Posts: 55
Joined: Wed Apr 20, 2011 5:42 pm

Postby Levi Burton » Thu Dec 05, 2013 4:42 pm

How I update them is pretty ghetto -- I just disable them by hand, copy the new files over, and re-enable the tasks.

I had assumed I would just write some powershell that executes during my deployment that does this for me, which isn't a big deal at all.

Thanks for the quick responses by the way!
Levi Burton
 
Posts: 5
Joined: Wed Dec 04, 2013 3:42 pm
Location: United States

Postby justin.caldicott » Thu Dec 05, 2013 5:01 pm

You're welcome!

Ok, so I think the main thing then is just enabling console apps to be published. Any Deploy.ps1 files marked as Content will be included in the package and ran at deployment time.

The question for us is what to include in the package that we create. Web apps have a publish target in MSBuild, so it's easy to know what to package. For console apps, we could package the OutputDirectory, but this might not work for everyone. eg. Depending on files outside of the OutputDirectory.

Would that work for your case?
Justin Caldicott
Product Manager - Deployment Manager
Red Gate
justin.caldicott
 
Posts: 55
Joined: Wed Apr 20, 2011 5:42 pm

Postby Levi Burton » Thu Dec 05, 2013 5:09 pm

When I used RgPublish, I just pointed it to my OutputDirectory and that worked for me. But I have pretty simple requirements (no files are required outside of my OutputDirectory)

So, to answer your question -- Yep! That would definitely work for my case!
Levi Burton
 
Posts: 5
Joined: Wed Dec 04, 2013 3:42 pm
Location: United States

Postby justin.caldicott » Thu Dec 05, 2013 5:57 pm

Perfect, thanks Levi.
Justin Caldicott
Product Manager - Deployment Manager
Red Gate
justin.caldicott
 
Posts: 55
Joined: Wed Apr 20, 2011 5:42 pm


Return to Deployment Manager

Who is online

Users browsing this forum: No registered users and 0 guests