Fix build error.
This commit is contained in:
parent
89758ef046
commit
ccd4c9b0e2
1 changed files with 2 additions and 2 deletions
|
@ -10,10 +10,10 @@ namespace EndToEnd.Tests
|
||||||
[Fact]
|
[Fact]
|
||||||
public void TelemetryOptOutDefaultAttribute()
|
public void TelemetryOptOutDefaultAttribute()
|
||||||
{
|
{
|
||||||
var result = new DotnetCommand()
|
var versionCommand = new DotnetCommand()
|
||||||
.ExecuteWithCapturedOutput("--version");
|
.ExecuteWithCapturedOutput("--version");
|
||||||
|
|
||||||
var sdkVersion = result.StdOut.Trim();
|
var sdkVersion = versionCommand.StdOut.Trim();
|
||||||
|
|
||||||
var dotnetdir = Path.Combine(Path.GetDirectoryName(RepoDirectoriesProvider.DotnetUnderTest), "sdk", sdkVersion);
|
var dotnetdir = Path.Combine(Path.GetDirectoryName(RepoDirectoriesProvider.DotnetUnderTest), "sdk", sdkVersion);
|
||||||
var result = AssemblyInfo.Get(Path.Combine(dotnetdir, "dotnet.dll"), "AssemblyMetadataAttribute");
|
var result = AssemblyInfo.Get(Path.Combine(dotnetdir, "dotnet.dll"), "AssemblyMetadataAttribute");
|
||||||
|
|
Loading…
Reference in a new issue