Skip to content

Move output (VersionConverters) to its own module #3398

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/GitVersion.App.Tests/ArgumentParserTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,8 @@ public void OverrideConfigWithSingleOptions(string options, GitVersionConfigurat
{
var arguments = this.argumentParser.ParseArguments($"/overrideconfig {options}");

ConfigurationHelper configruationHelper = new(arguments.OverrideConfig);
configruationHelper.Configuration.ShouldBeEquivalentTo(expected);
ConfigurationHelper configurationHelper = new(arguments.OverrideConfig);
configurationHelper.Configuration.ShouldBeEquivalentTo(expected);
}

private static IEnumerable<TestCaseData> OverrideConfigWithSingleOptionTestData()
Expand Down
7 changes: 6 additions & 1 deletion src/GitVersion.App.Tests/PullRequestInBuildAgentTest.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using GitVersion.BuildAgents;
using GitVersion.Core.Tests.Helpers;
using GitVersion.Extensions;
using GitVersion.Output;
using LibGit2Sharp;

namespace GitVersion.App.Tests;
Expand Down Expand Up @@ -167,7 +168,11 @@ private static async Task VerifyPullRequestVersionIsCalculatedProperly(string pu
}

var programFixture = new ProgramFixture(fixture.RepositoryPath);
programFixture.WithOverrides(services => services.AddModule(new GitVersionBuildAgentsModule()));
programFixture.WithOverrides(services =>
{
services.AddModule(new GitVersionBuildAgentsModule());
services.AddModule(new GitVersionOutputModule());
});
programFixture.WithEnv(env.ToArray());

var result = await programFixture.Run();
Expand Down
2 changes: 1 addition & 1 deletion src/GitVersion.App.Tests/UpdateWixVersionFileTests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using GitVersion.Helpers;
using GitVersion.Output.WixUpdater;
using GitVersion.OutputVariables;
using GitVersion.VersionConverters.WixUpdater;

namespace GitVersion.App.Tests;

Expand Down
1 change: 1 addition & 0 deletions src/GitVersion.App/GitVersion.App.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<ProjectReference Include="..\GitVersion.BuildAgents\GitVersion.BuildAgents.csproj" />
<ProjectReference Include="..\GitVersion.LibGit2Sharp\GitVersion.LibGit2Sharp.csproj" />
<ProjectReference Include="..\GitVersion.Core\GitVersion.Core.csproj" />
<ProjectReference Include="..\GitVersion.Output\GitVersion.Output.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions src/GitVersion.App/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using GitVersion.BuildAgents;
using GitVersion.Extensions;
using GitVersion.Output;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
Expand All @@ -25,6 +26,7 @@ private IHostBuilder CreateHostBuilder(string[] args) =>
services.AddModule(new GitVersionCoreModule());
services.AddModule(new GitVersionLibGit2SharpModule());
services.AddModule(new GitVersionBuildAgentsModule());
services.AddModule(new GitVersionOutputModule());
services.AddModule(new GitVersionAppModule());

services.AddSingleton(sp =>
Expand Down
1 change: 1 addition & 0 deletions src/GitVersion.Core.Tests/GitVersion.Core.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<ProjectReference Include="..\GitVersion.BuildAgents\GitVersion.BuildAgents.csproj" />
<ProjectReference Include="..\GitVersion.LibGit2Sharp\GitVersion.LibGit2Sharp.csproj" />
<ProjectReference Include="..\GitVersion.Core\GitVersion.Core.csproj" />
<ProjectReference Include="..\GitVersion.Output\GitVersion.Output.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="VersionCalculation\Approved\**\*.approved.txt" />
Expand Down
2 changes: 2 additions & 0 deletions src/GitVersion.Core.Tests/Helpers/GitVersionCoreTestModule.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using GitVersion.BuildAgents;
using GitVersion.Extensions;
using GitVersion.Logging;
using GitVersion.Output;
using Microsoft.Extensions.DependencyInjection;

namespace GitVersion.Core.Tests.Helpers;
Expand All @@ -11,6 +12,7 @@ public void RegisterTypes(IServiceCollection services)
{
services.AddModule(new GitVersionLibGit2SharpModule());
services.AddModule(new GitVersionBuildAgentsModule());
services.AddModule(new GitVersionOutputModule());
services.AddModule(new GitVersionCoreModule());

services.AddSingleton<IFileSystem, TestFileSystem>();
Expand Down
6 changes: 3 additions & 3 deletions src/GitVersion.Core/Extensions/CommonExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ namespace GitVersion.Extensions;

public static class CommonExtensions
{
public static T NotNull<T>([NotNull] this T? value, [CallerArgumentExpression("value")] string name = "")
public static T NotNull<T>([NotNull] this T? value, [CallerArgumentExpression(nameof(value))] string name = "")
where T : class => value ?? throw new ArgumentNullException(name);

public static string NotNullOrEmpty([NotNull] this string? value, [CallerArgumentExpression("value")] string name = "")
public static string NotNullOrEmpty([NotNull] this string? value, [CallerArgumentExpression(nameof(value))] string name = "")
{
if (string.IsNullOrEmpty(value))
{
Expand All @@ -18,7 +18,7 @@ public static string NotNullOrEmpty([NotNull] this string? value, [CallerArgumen
return value;
}

public static string NotNullOrWhitespace([NotNull] this string? value, [CallerArgumentExpression("value")] string name = "")
public static string NotNullOrWhitespace([NotNull] this string? value, [CallerArgumentExpression(nameof(value))] string name = "")
{
if (string.IsNullOrWhiteSpace(value))
{
Expand Down
7 changes: 0 additions & 7 deletions src/GitVersion.Core/GitVersion.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@
<PackageReference Include="YamlDotNet" />
</ItemGroup>

<ItemGroup>
<Compile Remove="VersionConverters\*\AddFormats\**\*.*" />
<Compile Remove="VersionConverters\*\Templates\**\*.*" />
<EmbeddedResource Include="VersionConverters\*\AddFormats\**\*.*" />
<EmbeddedResource Include="VersionConverters\*\Templates\**\*.*" />
</ItemGroup>

<ItemGroup>
<InternalsVisibleTo Include="GitVersion.Core.Tests" />
<InternalsVisibleTo Include="GitVersion.App.Tests" />
Expand Down
2 changes: 0 additions & 2 deletions src/GitVersion.Core/GitVersionCommonModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ public void RegisterTypes(IServiceCollection services)
services.AddSingleton<IEnvironment, Environment>();
services.AddSingleton<IConsole, ConsoleAdapter>();

services.AddSingleton<IGitVersionOutputTool, GitVersionOutputTool>();

services.AddSingleton<IBuildAgent, LocalBuild>();
services.AddSingleton<IBuildAgentResolver, BuildAgentResolver>();
services.AddSingleton(sp => sp.GetRequiredService<IBuildAgentResolver>().Resolve());
Expand Down
2 changes: 0 additions & 2 deletions src/GitVersion.Core/GitVersionCoreModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using GitVersion.Extensions;
using GitVersion.VersionCalculation;
using GitVersion.VersionCalculation.Caching;
using GitVersion.VersionConverters;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;

Expand Down Expand Up @@ -32,6 +31,5 @@ public void RegisterTypes(IServiceCollection services)
services.AddModule(new GitVersionCommonModule());
services.AddModule(new ConfigurationModule());
services.AddModule(new VersionCalculationModule());
services.AddModule(new VersionConvertersModule());
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace GitVersion.VersionConverters;
namespace GitVersion;

public interface IConverterContext
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using GitVersion.OutputVariables;

namespace GitVersion.VersionConverters;
namespace GitVersion;

public interface IVersionConverter<in T> : IDisposable where T : IConverterContext
{
Expand Down
67 changes: 4 additions & 63 deletions src/GitVersion.Core/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -389,12 +389,6 @@ GitVersion.GitVersionOptions.Verbosity -> GitVersion.Logging.Verbosity
GitVersion.GitVersionOptions.WixInfo.get -> GitVersion.WixInfo!
GitVersion.GitVersionOptions.WorkingDirectory.get -> string!
GitVersion.GitVersionOptions.WorkingDirectory.set -> void
GitVersion.GitVersionOutputTool
GitVersion.GitVersionOutputTool.GenerateGitVersionInformation(GitVersion.OutputVariables.VersionVariables! variables, GitVersion.FileWriteInfo! fileWriteInfo) -> void
GitVersion.GitVersionOutputTool.GitVersionOutputTool(Microsoft.Extensions.Options.IOptions<GitVersion.GitVersionOptions!>! options, GitVersion.VersionConverters.OutputGenerator.IOutputGenerator! outputGenerator, GitVersion.VersionConverters.WixUpdater.IWixVersionFileUpdater! wixVersionFileUpdater, GitVersion.VersionConverters.GitVersionInfo.IGitVersionInfoGenerator! gitVersionInfoGenerator, GitVersion.VersionConverters.AssemblyInfo.IAssemblyInfoFileUpdater! assemblyInfoFileUpdater, GitVersion.VersionConverters.AssemblyInfo.IProjectFileUpdater! projectFileUpdater) -> void
GitVersion.GitVersionOutputTool.OutputVariables(GitVersion.OutputVariables.VersionVariables! variables, bool updateBuildNumber) -> void
GitVersion.GitVersionOutputTool.UpdateAssemblyInfo(GitVersion.OutputVariables.VersionVariables! variables) -> void
GitVersion.GitVersionOutputTool.UpdateWixVersionFile(GitVersion.OutputVariables.VersionVariables! variables) -> void
GitVersion.Helpers.EncodingHelper
GitVersion.Helpers.LambdaEqualityHelper<T>
GitVersion.Helpers.LambdaEqualityHelper<T>.Equals(T? instance, T? other) -> bool
Expand Down Expand Up @@ -601,6 +595,10 @@ GitVersion.MergeMessage.MergedBranch.get -> string!
GitVersion.MergeMessage.PullRequestNumber.get -> int?
GitVersion.MergeMessage.TargetBranch.get -> string?
GitVersion.MergeMessage.Version.get -> GitVersion.SemanticVersion?
GitVersion.IConverterContext
GitVersion.IConverterContext.WorkingDirectory.get -> string!
GitVersion.IVersionConverter<T>
GitVersion.IVersionConverter<T>.Execute(GitVersion.OutputVariables.VersionVariables! variables, T context) -> void
GitVersion.OutputType
GitVersion.OutputType.BuildServer = 0 -> GitVersion.OutputType
GitVersion.OutputType.File = 2 -> GitVersion.OutputType
Expand Down Expand Up @@ -922,62 +920,6 @@ GitVersion.VersionCalculation.VersioningMode
GitVersion.VersionCalculation.VersioningMode.ContinuousDelivery = 0 -> GitVersion.VersionCalculation.VersioningMode
GitVersion.VersionCalculation.VersioningMode.ContinuousDeployment = 1 -> GitVersion.VersionCalculation.VersioningMode
GitVersion.VersionCalculation.VersioningMode.Mainline = 2 -> GitVersion.VersionCalculation.VersioningMode
GitVersion.VersionConverters.AssemblyInfo.AssemblyInfoContext
GitVersion.VersionConverters.AssemblyInfo.AssemblyInfoContext.AssemblyInfoContext() -> void
GitVersion.VersionConverters.AssemblyInfo.AssemblyInfoContext.AssemblyInfoContext(string! workingDirectory, bool ensureAssemblyInfo, params string![]! assemblyInfoFiles) -> void
GitVersion.VersionConverters.AssemblyInfo.AssemblyInfoContext.AssemblyInfoFiles.get -> string![]!
GitVersion.VersionConverters.AssemblyInfo.AssemblyInfoContext.EnsureAssemblyInfo.get -> bool
GitVersion.VersionConverters.AssemblyInfo.AssemblyInfoContext.WorkingDirectory.get -> string!
GitVersion.VersionConverters.AssemblyInfo.AssemblyInfoFileUpdater
GitVersion.VersionConverters.AssemblyInfo.AssemblyInfoFileUpdater.AssemblyInfoFileUpdater(GitVersion.Logging.ILog! log, GitVersion.IFileSystem! fileSystem) -> void
GitVersion.VersionConverters.AssemblyInfo.AssemblyInfoFileUpdater.Dispose() -> void
GitVersion.VersionConverters.AssemblyInfo.AssemblyInfoFileUpdater.Execute(GitVersion.OutputVariables.VersionVariables! variables, GitVersion.VersionConverters.AssemblyInfo.AssemblyInfoContext context) -> void
GitVersion.VersionConverters.AssemblyInfo.IAssemblyInfoFileUpdater
GitVersion.VersionConverters.AssemblyInfo.IProjectFileUpdater
GitVersion.VersionConverters.AssemblyInfo.IProjectFileUpdater.CanUpdateProjectFile(System.Xml.Linq.XElement! xmlRoot) -> bool
GitVersion.VersionConverters.AssemblyInfo.ProjectFileUpdater
GitVersion.VersionConverters.AssemblyInfo.ProjectFileUpdater.CanUpdateProjectFile(System.Xml.Linq.XElement! xmlRoot) -> bool
GitVersion.VersionConverters.AssemblyInfo.ProjectFileUpdater.Dispose() -> void
GitVersion.VersionConverters.AssemblyInfo.ProjectFileUpdater.Execute(GitVersion.OutputVariables.VersionVariables! variables, GitVersion.VersionConverters.AssemblyInfo.AssemblyInfoContext context) -> void
GitVersion.VersionConverters.AssemblyInfo.ProjectFileUpdater.ProjectFileUpdater(GitVersion.Logging.ILog! log, GitVersion.IFileSystem! fileSystem) -> void
GitVersion.VersionConverters.GitVersionInfo.GitVersionInfoContext
GitVersion.VersionConverters.GitVersionInfo.GitVersionInfoContext.FileExtension.get -> string!
GitVersion.VersionConverters.GitVersionInfo.GitVersionInfoContext.FileName.get -> string!
GitVersion.VersionConverters.GitVersionInfo.GitVersionInfoContext.GitVersionInfoContext() -> void
GitVersion.VersionConverters.GitVersionInfo.GitVersionInfoContext.GitVersionInfoContext(string! workingDirectory, string! fileName, string! fileExtension) -> void
GitVersion.VersionConverters.GitVersionInfo.GitVersionInfoContext.WorkingDirectory.get -> string!
GitVersion.VersionConverters.GitVersionInfo.GitVersionInfoGenerator
GitVersion.VersionConverters.GitVersionInfo.GitVersionInfoGenerator.Dispose() -> void
GitVersion.VersionConverters.GitVersionInfo.GitVersionInfoGenerator.Execute(GitVersion.OutputVariables.VersionVariables! variables, GitVersion.VersionConverters.GitVersionInfo.GitVersionInfoContext context) -> void
GitVersion.VersionConverters.GitVersionInfo.GitVersionInfoGenerator.GitVersionInfoGenerator(GitVersion.IFileSystem! fileSystem) -> void
GitVersion.VersionConverters.GitVersionInfo.IGitVersionInfoGenerator
GitVersion.VersionConverters.IConverterContext
GitVersion.VersionConverters.IConverterContext.WorkingDirectory.get -> string!
GitVersion.VersionConverters.IVersionConverter<T>
GitVersion.VersionConverters.IVersionConverter<T>.Execute(GitVersion.OutputVariables.VersionVariables! variables, T context) -> void
GitVersion.VersionConverters.OutputGenerator.IOutputGenerator
GitVersion.VersionConverters.OutputGenerator.OutputContext
GitVersion.VersionConverters.OutputGenerator.OutputContext.OutputContext() -> void
GitVersion.VersionConverters.OutputGenerator.OutputContext.OutputContext(string! workingDirectory, string? outputFile, bool? updateBuildNumber) -> void
GitVersion.VersionConverters.OutputGenerator.OutputContext.OutputFile.get -> string?
GitVersion.VersionConverters.OutputGenerator.OutputContext.UpdateBuildNumber.get -> bool?
GitVersion.VersionConverters.OutputGenerator.OutputContext.WorkingDirectory.get -> string!
GitVersion.VersionConverters.OutputGenerator.OutputGenerator
GitVersion.VersionConverters.OutputGenerator.OutputGenerator.Dispose() -> void
GitVersion.VersionConverters.OutputGenerator.OutputGenerator.Execute(GitVersion.OutputVariables.VersionVariables! variables, GitVersion.VersionConverters.OutputGenerator.OutputContext context) -> void
GitVersion.VersionConverters.OutputGenerator.OutputGenerator.OutputGenerator(GitVersion.BuildAgents.ICurrentBuildAgent! buildAgent, GitVersion.Logging.IConsole! console, GitVersion.IFileSystem! fileSystem, Microsoft.Extensions.Options.IOptions<GitVersion.GitVersionOptions!>! options) -> void
GitVersion.VersionConverters.VersionConvertersModule
GitVersion.VersionConverters.VersionConvertersModule.RegisterTypes(Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> void
GitVersion.VersionConverters.VersionConvertersModule.VersionConvertersModule() -> void
GitVersion.VersionConverters.WixUpdater.IWixVersionFileUpdater
GitVersion.VersionConverters.WixUpdater.WixVersionContext
GitVersion.VersionConverters.WixUpdater.WixVersionContext.WixVersionContext() -> void
GitVersion.VersionConverters.WixUpdater.WixVersionContext.WixVersionContext(string! workingDirectory) -> void
GitVersion.VersionConverters.WixUpdater.WixVersionContext.WorkingDirectory.get -> string!
GitVersion.VersionConverters.WixUpdater.WixVersionFileUpdater
GitVersion.VersionConverters.WixUpdater.WixVersionFileUpdater.Dispose() -> void
GitVersion.VersionConverters.WixUpdater.WixVersionFileUpdater.Execute(GitVersion.OutputVariables.VersionVariables! variables, GitVersion.VersionConverters.WixUpdater.WixVersionContext context) -> void
GitVersion.VersionConverters.WixUpdater.WixVersionFileUpdater.WixVersionFileUpdater(GitVersion.Logging.ILog! log, GitVersion.IFileSystem! fileSystem) -> void
GitVersion.VersionField
GitVersion.VersionField.Major = 3 -> GitVersion.VersionField
GitVersion.VersionField.Minor = 2 -> GitVersion.VersionField
Expand Down Expand Up @@ -1018,7 +960,6 @@ const GitVersion.VersionCalculation.IncrementStrategyFinder.DefaultMinorPattern
const GitVersion.VersionCalculation.IncrementStrategyFinder.DefaultNoBumpPattern = "\\+semver:\\s?(none|skip)" -> string!
const GitVersion.VersionCalculation.IncrementStrategyFinder.DefaultPatchPattern = "\\+semver:\\s?(fix|patch)" -> string!
const GitVersion.VersionCalculation.MergeMessageVersionStrategy.MergeMessageStrategyPrefix = "Merge message" -> string!
const GitVersion.VersionConverters.WixUpdater.WixVersionFileUpdater.WixVersionFileName = "GitVersion_WixVersion.wxi" -> string!
override GitVersion.BranchCommit.Equals(object? obj) -> bool
override GitVersion.BranchCommit.GetHashCode() -> int
override GitVersion.BuildAgents.LocalBuild.CanApplyToCurrentContext() -> bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<ProjectReference Include="..\GitVersion.LibGit2Sharp\GitVersion.LibGit2Sharp.csproj" />
<ProjectReference Include="..\GitVersion.MsBuild\GitVersion.MsBuild.csproj" />
<ProjectReference Include="..\GitVersion.Core\GitVersion.Core.csproj" />
<ProjectReference Include="..\GitVersion.Output\GitVersion.Output.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\GitVersion.Core.Tests\Helpers\DirectoryHelper.cs" Link="Helpers\DirectoryHelper.cs" />
Expand Down
13 changes: 10 additions & 3 deletions src/GitVersion.MsBuild.Tests/Tasks/TestTaskBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using GitVersion.Extensions;
using GitVersion.Helpers;
using GitVersion.MsBuild.Tests.Helpers;
using GitVersion.Output;
using LibGit2Sharp;
using Microsoft.Build.Utilities.ProjectCreation;

Expand All @@ -21,7 +22,7 @@ protected static MsBuildTaskFixtureResult<T> ExecuteMsBuildTask<T>(T task) where
{
var fixture = CreateLocalRepositoryFixture();
task.SolutionDirectory = fixture.RepositoryPath;
task.WithOverrides(services => services.AddModule(new GitVersionBuildAgentsModule()));
AddOverrides(task);
var msbuildFixture = new MsBuildTaskFixture(fixture);
var result = msbuildFixture.Execute(task);
if (result.Success == false) Console.WriteLine(result.Log);
Expand All @@ -45,7 +46,7 @@ protected static MsBuildTaskFixtureResult<T> ExecuteMsBuildTaskInAzurePipeline<T
{
var fixture = CreateRemoteRepositoryFixture();
task.SolutionDirectory = fixture.LocalRepositoryFixture.RepositoryPath;
task.WithOverrides(services => services.AddModule(new GitVersionBuildAgentsModule()));
AddOverrides(task);
var msbuildFixture = new MsBuildTaskFixture(fixture);
var environmentVariables = new List<KeyValuePair<string, string?>>(env.ToArray());
if (buildNumber != null)
Expand All @@ -68,7 +69,7 @@ protected static MsBuildTaskFixtureResult<T> ExecuteMsBuildTaskInGitHubActions<T
{
var fixture = CreateRemoteRepositoryFixture();
task.SolutionDirectory = fixture.LocalRepositoryFixture.RepositoryPath;
task.WithOverrides(services => services.AddModule(new GitVersionBuildAgentsModule()));
AddOverrides(task);
var msbuildFixture = new MsBuildTaskFixture(fixture);
msbuildFixture.WithEnv(
new KeyValuePair<string, string?>("GITHUB_ACTIONS", "true"),
Expand All @@ -93,6 +94,12 @@ protected static MsBuildExeFixtureResult ExecuteMsBuildExeInAzurePipeline(Action
if (result.MsBuild.OverallSuccess == false) Console.WriteLine(result.Output);
return result;
}
private static void AddOverrides(GitVersionTaskBase task) =>
task.WithOverrides(services =>
{
services.AddModule(new GitVersionBuildAgentsModule());
services.AddModule(new GitVersionOutputModule());
});

private static EmptyRepositoryFixture CreateLocalRepositoryFixture()
{
Expand Down
1 change: 1 addition & 0 deletions src/GitVersion.MsBuild/GitVersion.MsBuild.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<ItemGroup>
<ProjectReference Include="..\GitVersion.BuildAgents\GitVersion.BuildAgents.csproj" PrivateAssets="All" />
<ProjectReference Include="..\GitVersion.Core\GitVersion.Core.csproj" PrivateAssets="All" />
<ProjectReference Include="..\GitVersion.Output\GitVersion.Output.csproj" PrivateAssets="All" />
</ItemGroup>

<Import Project="nuget-files.props" />
Expand Down
Loading