kpm build fails on mono as the sample uses 451
Also fixed the CopyAspNetLoad.dll to copy from %userprofile%.
This commit is contained in:
Родитель
d6e104fd19
Коммит
c1832c9ea7
|
@ -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": { }
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче