You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update .net version to .net 6
* support both frameworks .net6 and old one .net core 3
* Update scripts, that runs test server to specify flags for target frameworks
* Change indent
* Use $framework value in the echo
echo"1DS test telemetry server will be run with %framework%"
20
+
dotnet run --framework %framework%
21
+
goto:eof
22
+
23
+
:help
24
+
echo"Run 1DS Test Telemetry Server with specified runtime versions (.net core 3 or .net6)."
25
+
echo"Syntax: run.sh [-f,--framework|-h, --help]"
26
+
echo"options:"
27
+
echo"-f | --framework Run server with specified version of runtime. Supported values: netcoreapp3.1 or net6.0. Default value is netcoreapp3.1, if option is not specified"
echo"Run 1DS Test Telemetry Server with specified runtime versions (.net core 3 or .net6)."
10
+
echo
11
+
echo"Syntax: run.sh [-f,--framework|-h, --help]"
12
+
echo"options:"
13
+
echo"-f | --framework Run server with specified version of runtime. Supported values: netcoreapp3.1 or net6.0. Default value is netcoreapp3.1, if option is not specified"
14
+
echo"-h | --help Help."
15
+
echo
16
+
17
+
exit 0
18
+
}
19
+
20
+
framework="netcoreapp3.1"
21
+
whiletest$# -gt 0;
22
+
do
23
+
case"$1"in
24
+
-h|--help) Help;;
25
+
-f|--framework)
26
+
shift
27
+
iftest$# -gt 0;then
28
+
framework=$1
29
+
else
30
+
echo"--framework option value is not specified. Server will be run with $framework"
31
+
fi
32
+
shift
33
+
;;
34
+
*) break;;
35
+
esac
36
+
done
37
+
echo"1DS test telemetry server will be run with $framework"
0 commit comments