File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ function Invoke-Cmd ($cmd)
2929 if ($LastExitCode -ne 0 ) { Write-Error " An error occured when executing '$cmd '." ; return }
3030}
3131
32+ function dotnet-info { Invoke-Cmd " dotnet --info" }
33+ function dotnet-version { Invoke-Cmd " dotnet --version" }
34+ function dotnet-run ($project , $argv ) { Invoke-Cmd " dotnet run --project $project $argv " }
35+ function dotnet-pack ($project , $argv ) { Invoke-Cmd " dotnet pack $project $argv " }
36+
3237function Get-DotNetRuntimeVersion
3338{
3439 $info = dotnet- info
@@ -54,11 +59,6 @@ function Get-NetCoreTargetFramework ($projFile)
5459 Get-TargetFrameworks $projFile | where { $_ -like " netstandard*" -or $_ -like " netcoreapp*" }
5560}
5661
57- function dotnet-info { Invoke-Cmd " dotnet --info" }
58- function dotnet-version { Invoke-Cmd " dotnet --version" }
59- function dotnet-run ($project , $argv ) { Invoke-Cmd " dotnet run --project $project $argv " }
60- function dotnet-pack ($project , $argv ) { Invoke-Cmd " dotnet pack $project $argv " }
61-
6262function dotnet-build ($project , $argv )
6363{
6464 if ($OnlyNetStandard.IsPresent ) {
You can’t perform that action at this time.
0 commit comments