Visual Studio Online: Get built code to own server - web-deployment

What kind of software is needed to get the results from builds on Visual Studio Online to your own server, running IIS? This server would not be on Azure.
After setting up a Build Definition one can, either through the Visual Studio IDE itself or on Visual Studio Online, queue builds that have the field "Drop folder for this build" automatically set and locked to "Copy drop to server". How do I get access to this "Drop folder" or duplicate its content on our own server?

Related

How to install Biztalk 2020 Project Templates in Visual Studio 2019?

I did full install of BizTalk including developer tools (after installing Visual Studio 2019). I have also done a repair and reboot since then.
I see this .vsdir file on the disk: "c:\Program Files (x86)\Microsoft BizTalk Server\Developer Tools\BizTalkProjects\BTSProjects.vsdir", but not sure how to make it work with VS2019.
File contains this:
Schema Files|{7a51b143-7eea-450d-baef-827253c52e43}|#221|140
BTSFlatFileSchema.vsz|{7a51b143-7eea-450d-baef-827253c52e43}|#134|7|#135|0|229|0|#136
JSONSchemaWizard.vsz|{7a51b143-7eea-450d-baef-827253c52e43}|#144|8|#145|0|229|0|#146
##Documentation about Adding Wizards to the Add Item could be found here http://msdn.microsoft.com/en-us/library/2sc7ft4a.aspx
The link in the file refers to a Visual Studio 2014 web page.
Expected result, click "Create New Project" in BizTalk, type BizTalk and be able to pick the template.
I have tried these two commands that might have fixed in older releases, not sure if they are applicable with VS2019:
devenv /setup templates
devenv /InstallVSTemplates
Copied from Biztalk 2020 - Project not showing in Visual Studio 2019
From the installer:
".To use this feature, you must also install the following: BizTalk Project Extension, Enterprise Single Sign-On (SSO) Administration.For more information on this component, click Help. "
And the Install BizTalk Server 2020 documentation:
To complete Developer Tools component installation, install BizTalk Server extension in Visual Studio.
To achieve this you need to:
Start Visual Studio and load into an empty IDE
Click Extensions, Manage Extensions
Search the online tab for BizTalk Server:
Install the BizTalk Server extension
Close all instances of Visual Studio
Let VSIX installer complete
Start Visual Studio and select BizTalk from the project types

Unable to see biztalk project template in Visual Studio 2013 Ultimate

I have installed BizTalk 2013 R2 on Windows Server 2012 R2 and Visual Studio 2013 Ultimate is also installed on the same machine.
I cannot see BizTalk Project template while creating a new project in Visual Studio.
When I ran the BizTalk setup again, Developer Tools box was not selected. When I select the box it gives following message
Features you selected requires the following components to be installed:
WCF HTTP ACTIVATION 4.5, IIS ASP NET 4.5
When I check in the Server Manager, both of the above are already installed.
Kindly help me resolve this issue.
Have you registered ASP.NET 4.5 on the machine?
Try running this command:
aspnet_regiis -i
You can read more about the ASP.NET IIS Registration Tool (Aspnet_regiis.exe) here:
http://msdn.microsoft.com/en-us/library/k6h9cz8h%28v=vs.100%29.aspx
The easiest way to do this would be to run the Visual Studio Command Prompt.
Also make sure to run as an administrator.
To restore the default project templates
In the command prompt, navigate to the location of devenv.exe. This file is located in \Common7\IDE.
Type "devenv /installvstemplates" and press Enter.
NoteNote:
If you are using an Express Edition of Visual Studio, type "Express /installvstemplates" where is either VB, VJS, or VCS for Visual Basic, Visual J#, and Visual C#, respectively.
If this procedure does not restore the default templates, reinstall Visual Studio.
U can follow this link also:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/f1cd2e14-1d7e-4b84-8bc2-871d67e2a942/devenvexe-installvstemplates-not-install-propertly

Sync ASP.NET website with web server?

I have an IIS 8 web server with FTP access configured. On my development PC, I created a new ASP.NET project with Visual Studio 2013. How can I "publish" / upload my project to the web server on build? I noticed that while creating a project, I can choose "FTP" to create the files on the webserver, but then Visual Studio doesn't create the folder structure, include jquery, sample code, etc.
In Visual Studio you can create a publish profile and configure your FTP server on it. Then, after the publish profile is created, you can use the "One-Click Publish" feature to send the files to your server. It even has some preview options, that allow you to see the changes that are being made.
Here is a link from Microsoft describing the entire process: http://msdn.microsoft.com/en-us/library/dd465337(v=vs.110).aspx
And here is another useful link from Microsoft containing an overview of the web deployment process for Visual Studio and ASP.Net applications
http://msdn.microsoft.com/en-us/library/dd394698(v=vs.110).aspx
Both links are targeted to Visual Studio 2012, but i think they also apply for VS 2013

How to make asp.net app run with visual studio server instead of IIS?

I have downloaded this blog engine
https://github.com/lelandrichardson/MiniBlog
I cannot run it within Visual Studio because it wants IIS : how to change this ?
If your project doesn't load in Visual Studio (it is greyed out), you need to manually edit the project file (MiniBlog.csproj) in a text editor. You just need to look for the UseIIS tag, and change its value to False:
<UseIIS>False</UseIIS>
When you do the above, Visual Studio should be able to load the project. It should now default to the Visual Studio web server.
Once you are able to load the project in Visual Studio, you can choose another web server, if you wish. You just need to right-click on the project in the tree view and then select Properties. From there, if you open the Web tab, you can choose the legacy Visual Studio Web Development Server, IIS Express (you may need to install this), or the Server version of IIS.
Just a note - I was unable to actually build the project that you linked to. There appear to be missing dlls, but that is out of the scope of this question.
try to add IIS Express 7.5 for visual studio http://www.microsoft.com/en-us/download/details.aspx?id=1038

MSDEPLOY: How can I access the command generated by Visual Studio

How can I access the MSDEPLOY command line generated by Visual Studio 2010.
I am asking because when I manually run MSDEPLOY I can easly deploy on a remote server and when I run it throught Visual Studio, I get this error
Web deployment task failed.(Remote Agent (url https://x.x.x.x:8172/msdeply.axd?site=Default Web Site) could not be contacted
Make sure the remote agent service is installed and started on the target computer.
An unsupported response was received. The response header 'MSDeploy.Response' was '' but 'v1' was expected
The remote server returned an error:(404) not found
If you follow this guys instructions you can see more verbose output:
http://sedodream.com/2010/11/04/WebDeployHowToSeeTheCommandExecutedInVisualStudioDuringPublish.aspx
FYI, I tested this myself because MSDeploy.exe from the command line was working but the Publish form Visual Studio 2010 wasn't working (using Web Deploy). MSBuild gave me the error messages I needed to fix my issues.
My issues were specifically that the web server I was deploying to did not have .NET 4 installed, and therefore the App Pools were set to 2.0. Visual Studio in all it's greatness says nothing about this, but MSBuild did. After that, I had an ACL issue and had to add another delegation rule in addition to the ones they tell you to add in the intro guides.

Resources