Visual Studio 2013 Extension
mtrutledge
Posts: 8
Is there a deployment manager extension available for Visual Studio 2013 RC?
Comments
Redgate Software
Developer
Redgate Software Ltd
Software Engineer - Deployment Manager
Red Gate
It would be very handy if it supported non web apps!
You're right that it can only publish web apps at the moment.
What kind of projects do you need support for?
Developer
Redgate Software Ltd
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.
Are they running as windows services?
Developer
Redgate Software Ltd
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?
Developer
Redgate Software Ltd
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!
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?
Developer
Redgate Software Ltd
So, to answer your question -- Yep! That would definitely work for my case!
Developer
Redgate Software Ltd