Skip to content

Commit

Permalink
Fix build break. Don't pass RID for net46 publish. (microsoft#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
codito authored Dec 8, 2016
1 parent b24b1e3 commit 46280c4
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions scripts/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -243,16 +243,8 @@ function Publish-Package

function Publish-Package-Internal($packagename, $framework, $output)
{
if( $framework -eq $TPB_TargetFramework){

Write-Verbose "$dotnetExe publish $packagename --configuration $TPB_Configuration --framework $framework --output $output --runtime $TPB_TargetRuntime -v:minimal"
& $dotnetExe publish $packagename --configuration $TPB_Configuration --framework $framework --output $output --runtime $TPB_TargetRuntime -v:minimal
}else{

# TargetRuntime is not required for netcoreapp
Write-Verbose "$dotnetExe publish $packagename --configuration $TPB_Configuration --framework $framework --output $output -v:minimal"
& $dotnetExe publish $packagename --configuration $TPB_Configuration --framework $framework --output $output -v:minimal
}
Write-Verbose "$dotnetExe publish $packagename --configuration $TPB_Configuration --framework $framework --output $output -v:minimal"
& $dotnetExe publish $packagename --configuration $TPB_Configuration --framework $framework --output $output -v:minimal
}

function Create-VsixPackage
Expand Down

0 comments on commit 46280c4

Please sign in to comment.