Error when you install Visual Studio 2017 RC.3

Problem If you install Visual Studio 2017 RC.3 on a machine that already had an older Version of Visual Studio “15” installed you get different error. On one pc it was the package ‘Microsoft.VisualStudio.TeamFoundation.TeamExplorer,version=15.112.26110.0’ failed to install. But there might be other errors. Log The product failed to install the listed workloads and components due to one or more package failures. Incomplete workloads Visual Studio core editor (Microsoft.VisualStudio.Workload.CoreEditor,version=15.0.26004.1) Incomplete components Visual Studio core editor (Microsoft.VisualStudio.Component.CoreEditor,version=15.0.26004.1) You can search for solutions using the information below, modify your selections for the above workloads and components and retry the installation, or remove the … Continue reading Error when you install Visual Studio 2017 RC.3

How to write web performance tests for SharePoint Online and ADFS

Creating web performance tests in Visual Studio for SharePoint on premise is easy and well documented. But writing them for Office 365 / SharePoint online is another thing. The authentication can be different – depending on you configuration – and … Continue reading How to write web performance tests for SharePoint Online and ADFS

Where is my git ignore file in Visual Studio?

If you work a lot with github, then you are used to add a .gitignore file when you initialize your repository. If you create a project in TFS or Visual Studio Team Services this is not the case. You have to add your .gitignore file using the team project settings. Under settings navigate to repository settings. Look for the “Ignore File” and click “add”. Edit the file if you need to do any modifications. Now commit the .ignorefile and push your changes to the server. The git integration in Visual Studio and TFS is pretty good – but a lot … Continue reading Where is my git ignore file in Visual Studio?

Use SonarLint to work on your technical debt in Visual Studio

SonarQube is a really great solution to monitor and track your technical debt over time. But wouldn’t it be great if the developer could already see in Visual Studio the impact that his commit will have to the sonar dashboard? If you use Visual Studio 2015 and the C# Plugin for SonarQube you can do this with the extension SonarLint. The extension depends on the latest version of the C# Plugin – so make sure that you have the latest version (5.2) installed. In Visual Studio install the extension in the “Extensions and Updated” dialog. This adds a new Tile ‘SonarQube’ … Continue reading Use SonarLint to work on your technical debt in Visual Studio

How to move build definitions in TFS to other projects using the REST API

The new build system in TFS or VSTS supports saving build definitions as templates. The problem is, that this only works inside a single TFS project. If you want to share your definition with other projects you have to use the REST API. First you have to extract your current build definition. Get a list of all build definitions and check the ids. Then use this ID to get the full definition. Now save the json to a file and remove all the clutter like _links, revision etc. I’ve marked all the sections that you can remove in the following … Continue reading How to move build definitions in TFS to other projects using the REST API