React to changes in BuildTools

This commit is contained in:
jacalvar 2016-11-03 20:02:17 -07:00
Родитель 179f3d3a78
Коммит e17f3b2fe8
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -5,6 +5,6 @@
"dependencies": {
"Sake": "0.2.2",
"NuGetPackageVerifier": "1.0.1-*",
"ApiCheck": "1.0.1-*"
"Microsoft.AspNetCore.BuildTools.ApiCheck": "1.0.1-*"
}
}

Просмотреть файл

@ -29,7 +29,7 @@ functions @{
string GenerateApiCheckInvoker(string framework)
{
var BASE_DIR = Directory.GetCurrentDirectory();
var apiCheckFullFramework = new FileInfo(Path.Combine(BASE_DIR, ".build", "ApiCheck", "tools", "net452", "ApiCheck.exe"));
var apiCheckFullFramework = new FileInfo(Path.Combine(BASE_DIR, ".build", "Microsoft.AspNetCore.BuildTools.ApiCheck", "tools", "net452", "Microsoft.AspNetCore.BuildTools.ApiCheck.exe"));
if (framework == "net45")
{
@ -44,7 +44,7 @@ functions @{
IList<string> GenerateApiCheckArguments(string framework, params string [] other)
{
var BASE_DIR = Directory.GetCurrentDirectory();
var apiCheckCore = new FileInfo(Path.Combine(BASE_DIR, ".build", "ApiCheck", "tools", "netcoreapp1.0", "ApiCheck.dll"));
var apiCheckCore = new FileInfo(Path.Combine(BASE_DIR, ".build", "Microsoft.AspNetCore.BuildTools.ApiCheck", "tools", "netcoreapp1.0", "Microsoft.AspNetCore.BuildTools.ApiCheck.dll"));
if (framework == "net45")
{