Skip to content

Commit ad7a566

Browse files
committed
generate proper extension for the behind file in VB.NET
1 parent 8a57583 commit ad7a566

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

VsIntegration/SpecFlowSingleFileGenerator.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ public class SpecFlowSingleFileGenerator : BaseCodeGeneratorWithSite
3838
{
3939
protected override string GetDefaultExtension()
4040
{
41-
return ".feature.cs";
41+
CodeDomProvider provider = GetCodeProvider();
42+
43+
return ".feature." + provider.FileExtension;
4244
}
4345

4446
protected override string GenerateCode(string inputFileContent)

0 commit comments

Comments
 (0)