Merge pull request #243 from livarcocc/native_fixes

Fixes for dotnet compile --native.
This commit is contained in:
Livar 2015-11-19 12:26:54 -08:00
commit b3b2ee737f
7 changed files with 234 additions and 206 deletions

View file

@ -12,10 +12,20 @@ pushd %1
set __OutputPath=%CD%\bin
popd
rmdir /S /Q %AppDepsProjectDir%\packages
pushd %__AppDepsProjectDir%
dotnet restore --packages %AppDepsProjectDir%\packages
set __AppDepSDK=%AppDepsProjectDir%\packages\toolchain*\*\
set __AppDepSDK=%AppDepsProjectDir%\packages\toolchain*\
popd
mkdir %__OutputPath%\appdepsdk
xcopy /S/E/H/Y %__AppDepSDK% %__OutputPath%\appdepsdk
cd %__AppDepSDK%
FOR /D %%a IN (*) DO (
CD %%a
GOTO :Copy
)
:Copy
xcopy /S/E/H/Y * %__OutputPath%\appdepsdk