File: starthost.ps1

package info (click to toggle)
golang-github-microsoft-dev-tunnels 0.0.25-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,988 kB
  • sloc: cs: 9,969; java: 2,767; javascript: 328; xml: 186; makefile: 5
file content (18 lines) | stat: -rw-r--r-- 461 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
echo 'Start host'

$Env:ASPNETCORE_ENVIRONMENT = "Development"
echo 'Settings run location'
Set-Location -Path '../../../../../../../bin/debug/TunnelService.ControlPlane/'

echo 'Copy Settings'
copy -Recurse -Force '../../../src/Settings/' './../../Settings/'

try {
    echo 'Run control plane service'
    dotnet Microsoft.VsSaaS.Services.TunnelService.ControlPlane.dll
}
catch [Exception] {
    echo $_.Exception.GetType().FullName, $_.Exception.Message
}