File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
GitVersion.Testing/Internal Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 99 <PackageVersion Include =" LibGit2Sharp.NativeBinaries" Version =" 2.0.315-alpha.0.9" />
1010 <PackageVersion Include =" JetBrains.Annotations" Version =" 2022.3.1" />
1111 <PackageVersion Include =" Microsoft.Build.Utilities.Core" Version =" 17.5.0" />
12- <PackageVersion Include =" Microsoft.Build" Version =" 17.3.2 " />
12+ <PackageVersion Include =" Microsoft.Build" Version =" 17.5.0 " />
1313 <PackageVersion Include =" Microsoft.CodeAnalysis.PublicApiAnalyzers" Version =" 3.3.4" />
1414 <PackageVersion Include =" Microsoft.Extensions.Configuration.CommandLine" Version =" 7.0.0" />
1515 <PackageVersion Include =" Microsoft.Extensions.DependencyInjection" Version =" 7.0.0" />
2222 <PackageVersion Include =" Mono.Cecil" Version =" 0.11.4" />
2323 <PackageVersion Include =" Buildalyzer" Version =" 5.0.0" />
2424 <PackageVersion Include =" coverlet.msbuild" Version =" 3.2.0" />
25- <PackageVersion Include =" MSBuild.ProjectCreation" Version =" 8.3.0 " />
25+ <PackageVersion Include =" MSBuild.ProjectCreation" Version =" 9.0.1 " />
2626 <PackageVersion Include =" NSubstitute" Version =" 5.0.0" />
2727 <PackageVersion Include =" NUnit" Version =" 3.13.3" />
2828 <PackageVersion Include =" NUnit.Analyzers" Version =" 3.6.0" />
3737 <PackageVersion Include =" System.Text.Encodings.Web" Version =" 7.0.0" />
3838 <PackageVersion Include =" YamlDotNet" Version =" 13.0.1" />
3939 </ItemGroup >
40- </Project >
40+ </Project >
Original file line number Diff line number Diff line change @@ -2,5 +2,6 @@ namespace GitVersion.Testing.Internal;
22
33internal static class PathHelper
44{
5- public static string GetTempPath ( ) => Path . Combine ( Path . GetTempPath ( ) , "TestRepositories" , Guid . NewGuid ( ) . ToString ( ) ) ;
5+ public static string GetCurrentDirectory ( ) => Path . GetDirectoryName ( Assembly . GetExecutingAssembly ( ) . Location ) ?? throw new InvalidOperationException ( ) ;
6+ public static string GetTempPath ( ) => Path . Combine ( GetCurrentDirectory ( ) , "TestRepositories" , Guid . NewGuid ( ) . ToString ( ) ) ;
67}
You can’t perform that action at this time.
0 commit comments