-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmake_repro.cmd
51 lines (36 loc) · 854 Bytes
/
make_repro.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
@echo off
setlocal
echo.
echo Building test app (multithreadedapp.dll)
pushd multithreadedapp
dotnet build -c release
dotnet publish -r win10-x64 -c release
popd
echo.
echo Building profiler library
call build.cmd
if exist repro\ (
rmdir /s /q repro
)
mkdir repro
pushd repro
mkdir runtime
echo.
echo Copying repro.cmd to repro folder
copy ..\repro.cmd .
echo.
echo Copying CorProfier.dll to repro folder
copy ..\CorProfiler.dll .
echo.
echo Copying published files to runtime folder
xcopy /y /e /q ..\multithreadedapp\bin\release\net5.0\win10-x64\* runtime\
echo.
echo Copying app files to repro folder
xcopy /y /q ..\multithreadedapp\bin\release\net5.0\* .
if ["%~1"]==[""] (
echo Did not pass a path to a coreclr repo, skipping copying private bits
goto :EOF
)
echo Copying coreclr from %1*
xcopy /y /e /q %1* runtime\
popd