Для этого сайта требуется поддержка JavaScript.
Обзор
Помощь
Регистрация
Вход
dotnet
/
razor-tooling
зеркало из
https://github.com/dotnet/razor.git
Следить
1
В избранное
0
Форкнуть
Вы уже форкнули razor-tooling
0
Код
Задачи
Пакеты
Проекты
Релизы
Вики
Активность
main
razor-tooling
/
startvs.cmd
4 строки
100 B
Batchfile
Исходник
Постоянная ссылка
Обычный вид
История
Убрать экранирование
Экранировать
Update StartVS script This change updates the StartVS script in the following ways: * Ported batch file to a PowerShell script. The batch file is still there. It just runs the PowerShell script. * Added a `-chooseVS` switch that displays a menu of Visual Studio instances that are installed and allows the user to pick one to launch. * Added an `-includeRoslynDeps` switch that sets an environment variable that controls whether Roslyn dependencies are included with the Razor extension or not.
2023-01-10 03:41:45 +03:00
@
echo
off
setlocal
Add a script for starting Visual Studio with the right environment variables (#15)
2018-12-06 04:47:59 +03:00
Update StartVS script This change updates the StartVS script in the following ways: * Ported batch file to a PowerShell script. The batch file is still there. It just runs the PowerShell script. * Added a `-chooseVS` switch that displays a menu of Visual Studio instances that are installed and allows the user to pick one to launch. * Added an `-includeRoslynDeps` switch that sets an environment variable that controls whether Roslyn dependencies are included with the Razor extension or not.
2023-01-10 03:41:45 +03:00
powershell -ExecutionPolicy ByPass -NoProfile -Command
"
& '
%~dp0
startvs.ps1'
"
%*