Any Update on Colin's ALM Checkin Policies for VS 2022 - visual-studio-2022

I am searching Colin's ALM Checkin Policies For VS 2022, but unable to do it, if you guys have a link please let me know.
Thanks in Advance...

So apparently this repository is no longer being updated by the author:
I'm no longer making changes for any version of this policy except VS 2017.
Source: github.com/colindembovsky/ColinsALMCornerCheckinPolicies
Another user has added support for the 2019 and 2022 versions and there is a pull request open to update the original one.
Here is the link to the repository:
https://github.com/vbtrek/ColinsALMCornerCheckinPolicies

https://github.com/nemanja228/ColinsALMCornerCheckinPolicies/releases/download/vs2022/ColinsALMCheckinPoliciesInstaller.vsix
Use this File Directly TO Install VS 2022 Colin's ALM Checkin Policy

Related

Visual Studio 2022 not showing up in the dropdown

We have on-prem Azure DevOps 2020 installed. We built a .net core 6 app in Visual Studio 2022.
However, when creating the build pipeline, VS 2022 is not showing up in the dropdown.
Has anyone faced this problem? Is MSFT supposed to release a patch that will start displaying VS 2022 in the dropdown?
Many people are running into this. No word from MS yet on when or if an update will be available. But these articles may help you find a workaround:
How do I update my Azure DevOps on-premise Pipeline tasks to include MSBuild v17 and Visual Studio 2022?
https://jessehouwing.net/adding-visual-studio-2022-to-azure-devops-server-2020/
https://github.com/microsoft/azure-pipelines-agent/issues/3662
FWIW, I'm working around it by using an explicit MSBuild path as mentioned in this answer. I added a PreferredMSBuildExePath variable to my pipeline and set it equal to %ProgramFiles%\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\MSBuild.exe. Then I made all my MSBuild steps use $(PreferredMSBuildExePath) as their MSBuild path under Specify Location. I also converted all my Visual Studio steps to MSBuild steps so I could use this explicit path variable.

Migrating SSDT from 2015 to 2019 Breaks Script Component

I just migrated from SSDT 2015 to SSDT 2019 and tried to open a project created in SSDT 2015. One of the packages has a data flow task with a script component in it. The script component fails to build with the error:
Could not find part of the path
'C:\Users\xxxxxx\AppData\Local\Temp\2\Vsta\c2e811fdc5974e2ca3f7cb5426c82033_out'
I tried to delete the .vs folder in my project but that didn't work. The script still fails to rebuild. The script has a lot of classes in it so I'd rather not start from scratch and copy everything into it. Any idea what could be wrong?
Appears this issue may be caused by an incompatibility between Visual Studio 16.9 and SQL Server Integration Services Projects. The issue is described here: https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects
Recommendation is to regress back to Visual Studio 16.8 or earlier.
The new version of data tools fixed it for me without rolling back to 16.8. This was a difficult issue to resolve. Nowhere in the MS documentation do they mention the tools update fixes that specific error. Thanks for the link!

TFS 2012 to TFS 2018 Migration/Upgrade Path

Currently I have lots of projects that are in TFS 2012 and would like to migrate them to TFS 2018, maintaining source code history as well as WIT status if possible. I realize that lots of things under the sheets has changed with versions prior to 2018. I would like to know what the proper upgrade path is. Various web sites have mentioned articles and upgrade paths, but none has answered the true question.
Do I have to do TFS 2012 -> 2013 -> 2015 -> 2018 and use the upgrade option at install time. Or can I skip any path all together. Also does the upgrade do the DB modifications in place, or can I copy the DB's somewhere and point to them at TFS version install time? If I am forced to upgrade in place will I loose current TFS functionality. This cannot happen.
Any rules guidance, steps or past experience in this matter would greatly be appreciated.
NOTE: We have made some changes to the standard WIT templates for the 2012 Agile process (TASKS, USER STORIES).
Sorry, afraid you will not find one complete guide in doing this for now. But suggest you could first go through the Requirements and compatibility page. This will help you know the server operating systems, support SQL Server version for each TFS version.
There are different considerations depending on your configuration,
e.g. do you use SharePoint, Reporting Services etc.
One thing that you
need to deal with, is that TFS 2012 and TFS 2018 does not support the
same versions of SQL server, so you will need to upgrade SQL during
the upgrade or move your collection(s) to a new server with the
appropriate version of SQL (see here).
Back to your question, not sure if you could upgrade directly from TFS 2012 to TFS 2018. Just find a related chart which showing the recommended upgrade paths from various TFS versions (For 2017). However, you definitely not have to do TFS 2012 -> 2013 -> 2015 -> 2018. The worst situation you need two paths.
I would recommend setting up a new server with SQL Server 2016 sp1, where you can migrate your databases using SQL backup. Then first install TFS 2017.1 followed by TFS 2018 and finally updating SQL Server to 2017 (if you need).
Highly recommend doing a trial migration first to validate that things work of and sort out the process before attempting it on your production server.
If I am forced to upgrade in place will I loose current TFS functionality.
Actually some old features will not support any more in TFS2018, such sharepoint, XAML build(the most important missing feature), old work item form. More details please take a look at changes to requirements for TFS 2018
For work item part, we recommend that you review handling a TFS 2018 upgrade from old form to new form for further guidance.
Besides if your TFS2012 installed on a not support system, you may have to first set up a new operating system.
Even though there is not a complete tutorial for TFS 2012 to TFS 2018 upgrade procedure by now. You could refer this article aims to expand on the Upgrade overview and give a step by step walk-through of the upgrade to TFS 2017. You just need to take care of some notes mentioned above.
The general process for upgrading an existing deployment of Team Foundation Server is to:
Prepare your environment. Such as upgrade your SQL sever
(required), operating system...
Expect the best, prepare for the worst. The single most important step you can take here is to ensure you have a complete and consistent set of database backups.
Do the upgrade!
Configure new features.
One can now upgrade from 2012 to TFS 2018 since the release Update 2 earlier this year. See the documentation for the updated upgrade paths.
https://learn.microsoft.com/en-us/vsts/tfs-server/upgrade/get-started
A key challenge was migrating from older XAML builds to the new builds, but with the release of Update 2 and later you can utilize the XAML build controllers as they are now supported. See the compatibility guide for details.
Plan for downtime - this upgrade is certain to take longer than one from a more recent version!

Download TFS 2015 Build Agent without TFS 2015 install

We currently use TFS 2013 with a suite of XAML builds, there are a few hundred projects here, each with an average of six build definitions each.
We're wanting to upgrade to TFS 2017 (2018 doesn't support XAML) but need to be able to support the XAML builds until they're all migrated.
According to MS, we can setup a TFS 2017 box, a build server with a 2017 build agent on it and a separate build server with a 2015 build agent on it which TFS can use to run the XAML builds.
My problem is... where to get the 2015 build agent installer from. Normally you ask TFS for the build agent installer, but we don't have a TFS 2015 installation.
Am I going to have to setup a TFS 2015 VM just so I can click one lousy link and download one installer. I've searched around but can't find any other place to get the damned thing from.
Anyone got a link to an MS page?
You could download the latest build agent from the link below:
Download Latest Agent , which will download the "vsts-agent-win7-x64-2.xxx.x.zip" file for you. Currently I believe that both TFS 2015 and TFS 2017 are downloading the same latest agent as mentioned above.
If you need a specific version of the agent you could take a look at the git hub for the specific Releases of the VSTS agents

Can I remove diagnostics.wadcfg safely now we have diagnostics.wadcfgx?

I have an WCF service on Azure with diagnostics/logging enabled. The project is already existing for some time and transitted through Visual Studio 2012, 2013 and now 2015. I discovered there is two diagnostics.wadcfg(X) files.
Can I remove diagnostics.wadcfg?
Where I can find some information on .wadcfg and .wadcfgx? Meaning what Microsoft Tooling was upgraded at some point in time that we now need .wadcfgx?
Thanks. BR, Rene
wadcfg can be safely removed and so is the reference to Azure Diagnostics -- assuming you've upgraded to Azure SDK 2.5+