kpm build fails on mono as the sample uses 451

Also fixed the CopyAspNetLoad.dll to copy from %userprofile%.
This commit is contained in:
Praburaj 2014-08-07 17:43:30 -07:00
Родитель d6e104fd19
Коммит c1832c9ea7
2 изменённых файлов: 3 добавлений и 2 удалений

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

@ -1,7 +1,8 @@
REM copy the AspNet.Loader.dll to bin folder
md bin
SET ASPNETLOADER_PACKAGE_BASEPATH=%USERPROFILE%\.kpm\packages\Microsoft.AspNet.Loader.IIS.Interop
REM figure out the path of AspNet.Loader.dll
FOR /F %%j IN ('dir /b /o:-d ..\..\packages\Microsoft.AspNet.Loader.IIS.Interop*') do (SET AspNetLoaderPath=..\..\packages\%%j\tools\AspNet.Loader.dll)
FOR /F %%j IN ('dir /b /o:-d %ASPNETLOADER_PACKAGE_BASEPATH%\*') do (SET AspNetLoaderPath=%ASPNETLOADER_PACKAGE_BASEPATH%\%%j\tools\AspNet.Loader.dll)
echo Found AspNetLoader.dll at %AspNetLoaderPath%. Copying to bin\
copy %AspNetLoaderPath% bin\

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

@ -19,7 +19,7 @@
"run": "run server.urls=http://localhost:5003"
},
"frameworks": {
"net451": { },
"net45": { },
"k10": { }
}
}