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
Related
I have upgraded our build server into Azure DevOps 2019 and since we are more used to viewing our build process within Visual Studio I wanted to check if this is possible.
When the user right clicks the build definition in Visual Studio that the build process web view would appear as a tab inside Visual Studio instead of opening in the browser?
This is not possible.
From VS 2015 you can't open the new build system (vNext) in the VS, but only to open it in the browser.
The old XAML build still can be viewed in the VS (but is not recommended to use them...).
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
I have Visual Studio Ultimate edition and need to add a project in TFS.
I want to make my local desktop as the TFS server.
My desktop specs:
Windows 7
Visual Studio 2010 Utlimate
I have no idea how to go about it and add a new project in TFS. I read a lot of blogs but didn't find any that lists something from scratch.
As in when I try to create a Team project in TFS, i get the server section as empty. How to configure my local desktop to act as a TFS server??
First things first, read this: http://msdn.microsoft.com/en-us/library/dd997788.aspx (Compatibility between Team Foundation clients and Team Foundation Server)
Second, you need to decide which version of TFS you are planning to run. Is your company paying for a version of it or are you planning on using the express edition available (2013)?
If your answer to that is TFS Express 2013, then I suggest you navigate to this link and download the installer. Run it and follow the instructions.
If you are planning a full licensed installation, you should familiarize yourself with the various components that come with it (Report server, Sharepoint, etc).
Here is a link to install and administration: http://www.microsoft.com/en-us/download/details.aspx?id=29035
Follow the following steps:
1.
If you haven't already, connect to your Visual Studio Online account and create your workspace folder.
2.Move the code you want to upload to the workspace folder.
3.Open your solution in Visual Studio.
We have a SOAP server written in C++. In Visual Studio 2005 we used the "Web Deployment" build tool to deploy the DLL to the local IIS server (XP in my case).
After upgrading to Visual Studio 2010 I see that the VCWebDeploymentTool is no longer supported. What are my options now? Is there is command line tool I can use in a post build step to deploy a DLL locally?
I'm not looking for a web deployment "project". I'm looking for a web deployment build step. Purely for deploying to the local IIS on my build machine.
In case anyone else is looking for the answer, I figured out you can still use the VC 2005 web deployment tool with VC 2010. The tool is called vcdeploy.exe, and can be found in C:\Program Files\Microsoft Visual Studio 8\VC\bin. Just copy this file to a directory that's in your PATH.
In VC 2005, the Web Deployment build tool is basically just a UI for vcdeploy. In VC 2010 I set up a custom build step to run vcdeploy.exe and now my .dll is deployed to the local IIS as it always was.
EDIT: Also note the vcdeploy source code is part of the ATL Server Library available here: http://atlserver.codeplex.com.
After several deployments, I receive the following error when trying to re-deploy a solution:
Error occurred in deployment step
‘Recycle IIS Application Pool’: The
communication object,
System.ServiceModel.InstanceContext,
cannot be used for communication
because it has been Aborted.
The only solution I have found (not ideal) is to restart Visual Studio.
Anyone know a better way?
I have seen this a couple of times as well and the only resolution I found was to restart Visual Studio as well.
How come restarting Visual Studio will fix anything :)
You need to run Visual Studio as Administrator (by right clicking on its icon)
If still persists, restart the server.
If still persists, add the administrator account under which you are running Visual Studio to Sharepoint Central Administration for that sharepoint web portal.