Skip to content

Commit

Permalink
Use assembly version as generator version (#2345)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzongithub committed Mar 8, 2021
1 parent c6d7510 commit 50cc97d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions TechTalk.SpecFlow.Generator/TestGeneratorFactory.cs
Expand Up @@ -6,9 +6,7 @@ namespace TechTalk.SpecFlow.Generator
{
public class TestGeneratorFactory : RemotableGeneratorClass, ITestGeneratorFactory
{
// update this version to the latest version number, if there are changes in the test generation
public static readonly Version GeneratorVersion = new Version("3.7.0.0");

public static readonly Version GeneratorVersion = typeof(TestGeneratorFactory).Assembly.GetName().Version;
public Version GetGeneratorVersion()
{
return GeneratorVersion;
Expand Down

0 comments on commit 50cc97d

Please sign in to comment.