Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ On macOS if you installed via `brew`

Copy the result of the `publish` directory into a `powershell` folder under `workers`:
```powershell
Copy-Item -Recurse -Force ./src/bin/Debug/netcoreapp2.2/publish/ "/usr/local/Cellar/azure-functions-core-tools/$(func --version)/workers/powershell"
Copy-Item -Recurse -Force ./src/bin/Debug/netcoreapp2.1/publish/ "/usr/local/Cellar/azure-functions-core-tools/$(func --version)/workers/powershell"
```

> NOTE: if the powershell folder already exists, you should delete it or debugging won't work.
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ steps:

- pwsh: |
$null = New-Item -Path ./E2ETestArtifacts -ItemType Directory -Force
Compress-Archive -Path ./src/bin/Release/netcoreapp2.2/publish/* -DestinationPath ./E2ETestArtifacts/powershellworker.zip -Verbose
Compress-Archive -Path ./src/bin/Release/netcoreapp2.1/publish/* -DestinationPath ./E2ETestArtifacts/powershellworker.zip -Verbose
Compress-Archive -Path ./test/E2E/TestFunctionApp/* -DestinationPath ./E2ETestArtifacts/e2etestspowershell.zip -Verbose
displayName: 'Create test app zip file'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Licensed under the MIT license. See LICENSE file in the project root for full li
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\PowerShellWorker.Common.props" />
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp2.1</TargetFramework>
<NoBuild>true</NoBuild>
<IncludeBuildOutput>false</IncludeBuildOutput>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Azure.Functions.PowerShellWorker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Licensed under the MIT license. See LICENSE file in the project root for full li
<Import Project="..\PowerShellWorker.Common.props" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TieredCompilation>true</TieredCompilation>
<Product>Azure Function PowerShell Language Worker</Product>
<AssemblyName>Microsoft.Azure.Functions.PowerShellWorker</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion test/E2E/Start-E2ETest.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Write-Host "Copying azure-functions-powershell-worker to Functions Host workers

$configuration = if ($env:CONFIGURATION) { $env:CONFIGURATION } else { 'Debug' }
Remove-Item -Recurse -Force -Path "$FUNC_CLI_DIRECTORY/workers/powershell"
Copy-Item -Recurse -Force "$PSScriptRoot/../../src/bin/$configuration/netcoreapp2.2/publish/" "$FUNC_CLI_DIRECTORY/workers/powershell"
Copy-Item -Recurse -Force "$PSScriptRoot/../../src/bin/$configuration/netcoreapp2.1/publish/" "$FUNC_CLI_DIRECTORY/workers/powershell"

Write-Host "Staring Functions Host..."

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\PowerShellWorker.Common.props" />
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp2.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion tools/helper.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function Install-Dotnet {
[CmdletBinding()]
param(
[string]$Channel = 'release',
[string]$Version = '2.2.102'
[string]$Version = '2.1.401'
)

try {
Expand Down