We are currently updating from TFS 2010 to TFS 2017. In 2010 we had the power tools to allow us to clone build definitions. In 2017 it is possible to clone the new build definitions via context menu. https://social.msdn.microsoft.com/Forums/en-US/62e45991-842b-48bc-923c-9eafb2dff021/clone-build-definition?forum=TFService
Is there still a way to clone the "old" xaml build definitions?
We strongly suggest you migrate from XAML builds to new builds as XAML build is deprecated in TFS 2017. Please refer to the following link to migrate XAML builds:
https://learn.microsoft.com/en-us/vsts/pipelines/build/migrate-from-xaml-builds
If you still want to use XAML builds, we suggest you to configure the XAML build server on a separate machine, then point the build controller to the collection in TFS2017. According to document Requirements and compatibility, TFS 2017 works with:
TFS 2015 Xaml Controller
TFS 2013 Xaml Controller
TFS 2010 Xaml Controller
You still can use the feature in PowerTools to clone XAML build definitions, as PowerTools is a addin of VS. You need to match the version of the TFS Power Tools with your Visual Studio client:
https://marketplace.visualstudio.com/items?itemName=TFSPowerToolsTeam.MicrosoftVisualStudioTeamFoundationServer2015Power
Related
I am not able to find PXGraph template for customization in visual studio even after I Deploy Acumatica Framework Tools.
I am running:
Acumatica Framework Version 18.201.0050.
MS VS 2017 Version 15.8.7
Can anyone Help me how to add the template?
Thanks
I had this same problem. I was forced to manually copy the items in the Acumatica template into the default directory for Visual Studio. To learn how to view the default directory, see this link: https://learn.microsoft.com/en-us/visualstudio/ide/how-to-locate-and-organize-project-and-item-templates?view=vs-2017
I need to migrate an old VSS 2005 source control database and I have downloaded & installed Microsoft Visual Studio Team Foundation Server Express 2015.
But I still have to use Visual Studio 2012 Professional (Reinstalled Team Explorer 2012 and then update 5). Trying to create a new project on TFS server throws error:
TF30172: You are trying to create a team project either without
required permission or with an older version of Team Explorer.
As I have added my account as TFS administrator I suppose the problem is with older version? Note that I have almost no experience with TFS, because I never needed it before. I cannot find any other means how to create a new project. (I planned to use this wizard).
Can I use TFS 2015 Express with Visual Studio 2012 Professional and if yes, how do I create a first empty project?
Yes, you are correct, only the latest version has "full" compatibility with the latest Team Foundation Server. You have to use the same Visual Studio of visual studio as the version of TFS that you're connecting to to create a team project.
If you're using TFS 2015 Update 2 or later then you can create a team project from the web as well.
Useful links:
https://www.visualstudio.com/zh-TW/docs/setup-admin/create-team-project
https://www.visualstudio.com/en-us/docs/setup-admin/requirements#client-compatibility
I'm automatically publishing a web project after build from TFS 2012 by using a publishing profile (I have a build definition on TFS that has /p:DeployOnBuild,PublishProfile... etc. as additional MSBuild arguments). Everything works fine. However, since my web site creates some temporary local folders I'd like to clean up before the next automatic deployment. Is there a way to easily clean up? Maybe some additional MSBuild argument?
You should switch to using Release Management for Visual Studio 2013. I have had it Woking fore more than one customer with 2012. You can then create orchestration that is specifically designed for deployment rather than compilation.
Release Management with Visual Studio 2013
I have installed the CRM 2011 SDK addin for visual studio 2012 (ultimate) and am trying to create a XAML Workflow Activity
I have added the CRM Workflow items to the toolbox using these instructions Add Microsoft Dynamics CRM Workflow Activities to the Toolbox
When I try and drop a Workflow on the design surface it say in red text "Could not generate view for Workflow"
Hovering over the text reveals a System.IOException that says "Cannot locate resource workflowdesigner.xaml"
How do I fix this?
You probably need to refer to the assemblies from VS. It's a bit of pain but a healthy conduct. In VS12 it's made a bit easier (finally, after a decade) to copy references from another project and (really, really finally) to refer to several DLLs at the same time.
It's the best practice and prefer conduct. :)
I fixed this by dumping the contents of my CRM SDK bin directory (about 24 assemblies) into C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PublicAssemblies
Not elegant but obviously there was a dependency in there somewhere.
Ondra is correct, this is a problem with the latest version of the SDK. Version 5.0.9690.3448 of the microsoft.xrm.sdk.workflow.dll does not work, whereas version 5.0.9688.1533 does not present the issue.
I had this issue occur on a XAML workflow that I previously had no problems with, and the issue turned out to be the upgrade of the SDK file.
Visual Studio 2012 Update 2 does not have any effect on this issue.
This example (and whole CRM workflow) under VS works properly only with CRM SDK version 1.0 - latest version 1.1 and version for VS 2012 causes described problem.
OK, I also hit this problem and made it work with your hints, I reached this result:
Changing VisualStudio version had no effect.
Changing the SDK version actually worked!
I am using SDK for CRM 2015 with version of 7.0.0.43 with visual studio 2015 and 2017. You can download it directly or use Nuget For "Microsoft.CrmSdk.Workflow" and "Microsoft.CrmSdk.CoreAssemblies"
SDK for 2018 (8.0.0) and Dynamics 365 (8.2.0.49) did not work.
Also Visual Studio 2012 Update 2 fix this problem
I am setting up a VM with a brand new install of TFS 2012 using the RC just released. This is the first time we have tried to use TFS in my company and I need to upgrade some SourceSafe databases. I've also installed the RC for Visual Studio 2012 Ultimate Edition (everything but the MFC foundation classes) but I still can't find the VSSConverter.exe tool.
According to Google it's supposed to be in the Common7\Ide folder, but is nowhere to be seen. Admittedly the only internet links I can find at the moment are for VS2010 so they may be out of date, but I have scanned the entire C drive and still can't find VSSConverter.exe
ps. I know there is a "download and install VSS converter" link in the TFS Admin Console but that just takes me to the Microsoft home page! : http://www.microsoft.com/en-us/default.aspx
VSSConverter is moving away from being a standalone tool and - as you noted - moving to be a part of the TFS Admin Console.
Unfortunately, the VSS -> TFS conversion experience did not ship as part of the TFS 2012 RC. It will instead be included in the released TFS 2012.
In the meantime, the VSSConverter that was included as part of TFS 2010 will properly migrate to a TFS 2012 instance. You will, however, need to install a 2010 instance just to run the tool.
If you do not require the full history, you could simply check-out your VSS databases and then check them into TFS. Another alternative is to install TFS 2010 and use VSSConverter to that database, then perform an in-place upgrade to TFS 2012.