How do I package a new TFS Service Hook? - tfs

I have created a new type of Service Hook for TFS. Does anyone know how to create a VSIX package for it so that it can be installed into Team Foundation Server? The current deployment model is just to drop it into the Application Tier bin/Plugins directory which is not ideal.
There's reasonable guidance on how to package a build task or extension on the web but nothing for Service Hooks or server-side plugins.

Install service hooks or server plugin through extension is not supported. I submit a user voice that you could vote it.

Related

Create WCF MSI Install Package with Advanced Installer Extension

I was asked to work on a WCF project that was created in Visual Studio 2013. I didn't have VS 2013 installed, so I used VS2019. I have to create an installer to allow QA to install the service. I found and read about VS2019 Advanced Installer Extension. I created the MSI file. During my testing, it went through the install process successfully and copied the files to the appropriate directory. However, the service did not appear under the service window after installing. I clicked on "Add Project Output" and added a primary output and selected all other dependencies that are related to the projects. That did not solve the issue. I've read online that a custom action can be created, but there was no clear instructions or steps on how to create a custom action. Has anyone able to create and install a WCF service with Advanced Installer Extension? Am I missing a something?
Advanced Installer offers predefined support to install services, there is no need to go with a custom action. For details, please check the How to install a service article.
By default, the VS Extension will create a project of Simple type. To have access to Services feature you need to upgrade the project to Professional from the project options.
Since you mention custom action approach, if you need to integrate C# custom actions in the installer, check the How to integrate and debug custom actions artticle. You can debug your C# custom actions by attaching on the installation process from Visual Studio. Or, if you prefer Powershell custom action approach.

How to automate the download and installation of Sitecore update packages generated from TFS build?

I am developing a Sitecore solution locally using TDS. Our source control and build server is Visual Studio Team Services (in the cloud). I would like to figure out a way to implement Continuous Integration and get builds to be automatically installed on an Integration server that is an Amazon VM (or it could be some other externally located server). I have the TDS build configuration set up to create a Sitecore Update Package. The build process works great. At the end of the build process I have the Sitecore Update Package sitting in a Drops folder in source control (TFS in the cloud). Now I can't figure out how to automate the process of getting that update package out of source control and downloading it to the Integration server and running the Sitecore command to install it.
In a perfect world you would use something along the lines of a fancy Microsoft Release Management to deploy it to the environment of choice. However, if you are like the majority of us mere mortals without the fancy tools - this should help: https://github.com/adoprog/Sitecore-Deployment-Helpers
With these pages you could just send a get request from TFS or use the logic to write a custom PowerShell post-build script. Hope this helps!
As you are using TFS you get to use Release Management for Visual Studio out of the box. This is a simple install but at this time is separate. I have an instance of RM running in a VM and attached to my VSO instance for running deployments.
I would expect this tool, which was bought by MS last year, would become more integrated in vNext.

Is it possible to install the Team Foundation Build Services on another machine or VM?

I'm working on automating our build process using Team Foundation Build 2010. When our TFS Server was installed, whomever installed it didn't install the Build Configuration Services so this node is missing from the TFS Admin Console. I'm pretty sure I know the answer to this but I wanted to check in case I'm missing something. I'm also asking because the TFS Server is a production server and my supervisors do not want to install anything on this server. Can the Build Services be installed on another machine or VM and still have the Build Configuration Node appear in the TFS Admin Console? I know the Build Controller as well as the Build Agent can be installed on another machine or VM. I just wanted to get clarification on the "Build Configuration Services" piece. Thank you
Absolutely! This is actually a very typical scenario. I don't normally recommend for people to install the build services on any of the application tier servers. When you install only the build features, the TFS Administration Console will show only the build features.
By installing it on separate machines, you can create a build farm of a build controller with multiple build agents. It scales very well.
Build servers would be considered "production" servers in my opinion as well. They don't have the same disaster recovery or monitoring requirements though. If a build machine dies, just image another one and add it to the pool. This is essentially how the elastic build service for the Team Foundation Service (aka TFS Preview) currently works. They get destroyed after each use.

TFS 2010 Build ClickOnce deployment files

My application consists of a Server and Client. Each of our customers has a PC that will host the server and a clickonce deployment of the client that they can then install on whatever PCs they want to have it. I am currently trying to find out the best way to handle this since the support for publishing clickonce installers from TFS Build seems to be nonexistent.
The publish URL for each customer will be different so I would like to have a separate build for each customer that just reuses the binaries built for the server and client.
My ideal solution would be having a team project for the code (Server and Client) and then a separate team project with folders for each customer. The Customers Team Project would also house the binaries from the builds of the Server and Client. Then I would create a build for each customer that would change the publish url of the client clickonce .application file and re-sign it.
The biggest place I am stuck right now is how to get the clickonce publish files from Team Build, but I am also curious if there is just a totally better way to do this that I have missed.
Thanks
See "Building ClickOnce Applications from the Command Line [MSDN]"
I think you could set up a MSBuild workflow activity in Team Foundation Build to publish each of your customer's projects, if you're using the default Workflow template.

How to install Jira Subversion plugin and upload source code

it's my first use of my Jira account, and i created a project, and i want to upload source code to a my hosted source control, so i go to plugins and i found only CVS modules why ?
can any one please tell me how to install SVN on my Jira account, and upload my project ?
I am using Hosted solution (source code will be hosted on Jira).
I assume you are talking about JIRA Studio (or OnDemand as they now call it).
Atlassian's hosted solutions are probably not going to make the SVN plugin available ot you because they have a commercial product (FishEye) for that.
The subversion plugin can only be installed manually by dropping the proper jars and class files onthe right places on the server. I doubt they are going to do that for you in a hosted environment. You will probably need to purchase/rent and use FishEye if you want integration with version control.

Resources