Deploying a Winform application
Wolrabs
Posts: 2
Hi,
I am a complete noob at this and need a bit of help. I want to use DM to move a winform application to a specific location on a UAT server.
When I run the deploy on DM, my app is created as a web app, which is not required. The app is deployed to C:\ProgramData\Red Gate\DeploymentAgent\Applications\Testing\zzzzz\BuildNo\.
I am trying to work through powershell programming but am having no luck. Can anyone provide with the powershell script to do this?
Thanks,
Sean
I am a complete noob at this and need a bit of help. I want to use DM to move a winform application to a specific location on a UAT server.
When I run the deploy on DM, my app is created as a web app, which is not required. The app is deployed to C:\ProgramData\Red Gate\DeploymentAgent\Applications\Testing\zzzzz\BuildNo\.
I am trying to work through powershell programming but am having no luck. Can anyone provide with the powershell script to do this?
Thanks,
Sean
Comments
If you're just trying to copy the files to a specific location, you can set the RedGatePackageDirectoryPath project variable to that location. You'll probably also want to set the RedGateNotAWebSite variable to true to stop Deployment Manager trying to configure the application as a website.
This documentation page gives you more information about the variables you can use to control deployments.
Hope that helps,
Mike
Redgate Software