I have a project in visual studio 2010 with 2 deployment type and 2 corresponding project configuration. Right now, when I deploy, I manually set the configuration type, then click deploy. But if possible, I would like this to be done automatically when I deploy. Is it possible in Visual Studio 2010?
If you have the latest Azure SDK installed then you should be able to edit your publishing settings and under the "Settings" left tab set the Configuration option. This is the configuration that will be used when you deploy with that profile.
The Azure SDK installs a much better publishing add-on, will publish to anywhere not just Azure.
Related
I have just updated my Visual Studio to the version 16.8.5.
I create some add-in for Office and distribute them via ClickOnce to my organization. When I opened my solutions, the setup projects are not supported anymore because incompatible.
I tried to add a new setup project but I can't find any.
How can I create setup now?
For same reason, I must reinstall the plugin Microsoft Visual Studio Installer Projects although the plugin is installed and activated.
I'm trying to set up continuous deployment in Visual Studio 2017 and got stuck on step one. I installed the Continuous Delivery Tools for Visual Studio. It appears under the Installed list in Extensions and Updates, and it has a Disable button next to it, so I assume it is enabled. From everything I've read, there's supposed to be an option labeled "Configure Continuous Delivery" when I right-click the project. Nothing new appears for me. I've tried restarting Visual Studio and rebooting my computer.
I thought that maybe it wasn't supported because it wasn't a .NET Core application, or because I'm using TFS and not VSTS. So I created a new .NET Core web application and pushed it to VSTS, and still do not have any new menu options on the project. For both projects, the repo is Git.
Which version of Visual Studio do you use? The extension Continuous Delivery Tools for Visual Studio only supports Visual Studio 2017 for now.
I tested the extension with VS 2017 (Microsoft Visual Studio Enterprise 2017 Version 15.4.4). Then option "Configure Continuous Delivery to Azure" displayed there as expected.
Please note that, you need to right click on the Solution but not the project.
Reference this article : TFVC support and other enhancements hit Continuous Delivery Tools for Visual Studio
I have a UWP app project that was created using Visual Studio 2105. I have started using the same solution in Visual Studio 2017. However, I have noticed that the app is removed and reinstalled on each deploy. So, all my pinned tiles, registered background tasks, app states are reset on each deploy making it difficult to debug.
I ensured that "Uninstall and then re-install my package." is unchecked in the project properties. I cannot find any other configuration controlling this behaviour. How do I solve this?
Edit: Here is the build output from Visual Studio while deploying the app in Debug configuration.
On the StartUp project - right click and select properties. Select Debug tab.
Untick "Uninstall and then re-install my package. All information about the application state is deleted."
So I'm attempting to check in from visual studios to deploy my code to an azure web app, however I cannot for the life of me find the check in option. I'm connected to the Visual Studios Online repo and can view the web app in the server explorer. Googling this has found me nothing so either this is a clearly labeled feature I'm blind to or support for the feature has been dropped from visual studios and everyone simply knows this.
You can use the build-in build step in Visual Studio Online: Azure Web App Deployement.
In your build definition click on Add Build Step
In Deploy Category you will found the step: Azure Web App Deployement
Click Add
In Visual Studio 2015, you must do a power Shell script to deploy it.
You can find more information at this address:
Web Deploy command line
Deploy with PowerShell
I am now using the Visual Studio 2013, where I want to create a web deployment installer for project like I am doing in Visual Studio 2008.
But I am not getting any option inside Setup and Deployment. Can anybody please guide me how to create the installer package for web application? I have publish folder ready with me. Can I create any installer from VS2008 using this Publish folder?
Visual Studio no longer includes a setup installer out of the box. This was removed in VS2012; the guidance instead is to use a 3rd party option like WiX or InstallShield.
Another option, if you don't need to use an MSI based installer, is to use Web Deploy. A web project in VS can create a deployment package, which can then be published to any number of websites at any time. It can also be customized by configuring parameters and setting their values at deploy time (link). Web Deploy packages can support deploying your web content, IIS settings, and database.
VS2013 will support it again. It will be released in the next update patch of the VS2013.
http://visualstudiomagazine.com/articles/2014/04/18/microsoft-reinstalls-visual-studio-installer.aspx