Specflow custom tool error when adding “Examples:”

Examples can only be used with Scenario Outlines. Scenario Outlines are ways to run a scenario with different data sets. If you change Scenario to Scenario Outline your example will work: Feature: Homepage As a webiste user I want to see a pretty homepage Scenario Outline: Homepage Display Given I am on an ecommerce <website> … Read more

VS2015 – Change TypeScript Version

Here’s the solution to upgrading TypeScript in Visual Studios 2015: Download the TypeScript EXE release from the following website: http://www.microsoft.com/en-us/download/details.aspx?id=48593 Click the details to view other releases: In this case I want to download 1.6.0 Beta Download the exe and install onto computer. Create a new TypeScript Cordova project in VS2015. VS2015 may ask if … Read more

String Interpolation in Visual Studio 2015 and IFormatProvider (CA1305)

You’d use the System.FormattableString or System.IFormattable class: IFormattable ifs = (IFormattable)$”Hello, {name}”; System.FormattableString fss = $”Hello, {name}”; // pass null to use the format as it was used upon initialization above. string ifresult = ifs.ToString(null, CultureInfo.InvariantCulture); string fsresult = fss.ToString(CultureInfo.InvariantCulture); You need to be compiling against Framework 4.6, as the IFormattable and FormattableString are classes … Read more

Strange Build error after upgrading to Visual studio 2015 wants to copy pagefile.sys

I encountered the same issue. The problem starts when you upgrade the DotNetCompilerPlatform to version 1.0.1. To work around this issue you can downgrade to version 1.0.0 using the NuGet package manager. EDIT: If you uninstall Microsoft.CodeDom.Providers.DotNetCompilerPlatform AND Microsoft.Net.Compilers, and then install the DotNetCompilerPlatform (has a dependency on the Microsoft.Net.Compilers package so it will automatically … Read more

How can I fix missing nuget references after moving project in Visual Studio 2015

There was XML similar to this at the end of my project file: <Target Name=”EnsureNuGetPackageBuildImports” BeforeTargets=”PrepareForBuild”> <PropertyGroup> <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> </PropertyGroup> <Error Condition=”!Exists(‘..\WebApp\packages\SPECIFICPACKAGE’)” Text=”$([System.String]::Format(‘$(ErrorText)’, ‘..\WebApp\packages\SPECIFICPACKAGE’))” /> </Target> By changing the … Read more

Setup has detected that Visual Studio 2015 Update 3 may not be completely installed….

Ok after some digging I got to the bottom of this. It seems that I need to have .Net Core Installed. However when I go to install that I get the same error. The workaround is to run the downloaded .exe from the command line with the added parameter: DotNetCore.1.0.0-VS2015Tools.Preview2.exe SKIP_VSU_CHECK=1 This will install the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)