diff --git a/src/GitVersionTask.MsBuild/GitVersionTaskBase.cs b/src/GitVersionTask.MsBuild/GitVersionTaskBase.cs index dbc89cd723..d4e318be4f 100644 --- a/src/GitVersionTask.MsBuild/GitVersionTaskBase.cs +++ b/src/GitVersionTask.MsBuild/GitVersionTaskBase.cs @@ -11,5 +11,7 @@ public abstract class GitVersionTaskBase : Task public string ConfigFilePath { get; set; } public bool NoFetch { get; set; } + + public bool NoNormalize { get; set; } } } diff --git a/src/GitVersionTask/GitVersionTasks.cs b/src/GitVersionTask/GitVersionTasks.cs index f6ec5a3bb4..bad81b4db9 100644 --- a/src/GitVersionTask/GitVersionTasks.cs +++ b/src/GitVersionTask/GitVersionTasks.cs @@ -63,7 +63,8 @@ private static IServiceProvider BuildServiceProvider(GitVersionTaskBase task) { TargetPath = task.SolutionDirectory, ConfigFile = task.ConfigFilePath, - NoFetch = task.NoFetch + NoFetch = task.NoFetch, + NoNormalize = task.NoNormalize }; services.AddSingleton(_ => Options.Create(arguments)); diff --git a/src/GitVersionTask/build/GitVersionTask.props b/src/GitVersionTask/build/GitVersionTask.props index 1f05cd57b6..a27bbcad0d 100644 --- a/src/GitVersionTask/build/GitVersionTask.props +++ b/src/GitVersionTask/build/GitVersionTask.props @@ -9,6 +9,7 @@ $(MSBuildProjectDirectory) false + false false diff --git a/src/GitVersionTask/build/GitVersionTask.targets b/src/GitVersionTask/build/GitVersionTask.targets index 32552e7d22..a648f106b6 100644 --- a/src/GitVersionTask/build/GitVersionTask.targets +++ b/src/GitVersionTask/build/GitVersionTask.targets @@ -7,20 +7,23 @@ - + - + @@ -36,13 +39,13 @@ - + @@ -59,7 +62,10 @@ - + diff --git a/src/GitVersionTask/buildMultiTargeting/GitVersionTask.targets b/src/GitVersionTask/buildMultiTargeting/GitVersionTask.targets index de0051ec0a..1de7b81388 100644 --- a/src/GitVersionTask/buildMultiTargeting/GitVersionTask.targets +++ b/src/GitVersionTask/buildMultiTargeting/GitVersionTask.targets @@ -4,7 +4,10 @@ - + @@ -22,7 +25,10 @@ - +