[xharness] Make sure a project reference's Name matches the file name of the reference. Fixes #43181. (#709)
Apparently XS can't find referenced project (to build them) otherwise. It works fine when building using xbuild though. https://bugzilla.xamarin.com/show_bug.cgi?id=43181
This commit is contained in:
Родитель
1d5bbedc61
Коммит
cbfd83be92
|
@ -333,6 +333,8 @@ namespace xharness
|
|||
var include = n.Attributes ["Include"];
|
||||
include.Value = include.Value.Replace (".csproj", suffix + ".csproj");
|
||||
include.Value = include.Value.Replace (".fsproj", suffix + ".fsproj");
|
||||
var nameElement = n ["Name"];
|
||||
nameElement.InnerText = System.IO.Path.GetFileNameWithoutExtension (include.Value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче