Ensure the latest AspNet.Loader.dll is retrieved
This commit is contained in:
parent
7da407a17a
commit
42da0144b9
|
|
@ -3,6 +3,6 @@ md wwwroot\bin
|
||||||
|
|
||||||
SET ASPNETLOADER_PACKAGE_BASEPATH=%USERPROFILE%\.k\packages\Microsoft.AspNet.Loader.IIS.Interop
|
SET ASPNETLOADER_PACKAGE_BASEPATH=%USERPROFILE%\.k\packages\Microsoft.AspNet.Loader.IIS.Interop
|
||||||
REM figure out the path of AspNet.Loader.dll
|
REM figure out the path of 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)
|
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\
|
echo Found AspNetLoader.dll at %AspNetLoaderPath%. Copying to bin\
|
||||||
copy %AspNetLoaderPath% wwwroot\bin\
|
copy %AspNetLoaderPath% wwwroot\bin\
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue