dotnet / dotnet/msbuild

TestGetPathToBuildToolsFile_XXBit tests fail on netcore

Open
#722 0 comments 0 reactions 0 assignees View on GitHub
.NET Core CoreCLR-test triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 6h
Merged PRs (30d)
139

Description

This is in xplat. Looks like the problem is that the magic property `MSBuildToolsPath32` isn't getting set, so it throws on getting its `EvaluatedValue`.

```
Microsoft.Build.UnitTests.ToolLocationHelper_Tests.TestGetPathToBuildToolsFile_64Bit [FAIL]
System.NullReferenceException : Object reference not set to an instance of an object.
Stack Trace:
at Microsoft.Build.UnitTests.ToolLocationHelper_Tests.TestGetPathToBuildToolsFile_64Bit()
Microsoft.Build.UnitTests.ToolLocationHelper_Tests.TestGetPathToBuildToolsFile_32Bit [FAIL]
System.NullReferenceException : Object reference not set to an instance of an object.
Stack Trace:
at Microsoft.Build.UnitTests.ToolLocationHelper_Tests.TestGetPathToBuildToolsFile_32Bit()
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.