Skip to content

Commit d9be830

Browse files
committed
fixing the fallback folderbuild
1 parent 8ee27d6 commit d9be830

3 files changed

Lines changed: 13 additions & 5 deletions

File tree

FallBackFolderBuild/extensions.csproj_bak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
<DefaultItemExcludes>**</DefaultItemExcludes>
66
</PropertyGroup>
77
<ItemGroup>
8-
<PackageReference Include="Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator" Version="1.0.2" />
8+
<PackageReference Include="Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator" Version="1.1.0" />
99
</ItemGroup>
1010
</Project>

FallBackFolderBuild/extensions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
"version": "3.0.0"
3737
},
3838
{
39-
"id": "Microsoft.Azure.WebJobs.Extensions.AuthTokens",
39+
"name": "Microsoft.Azure.WebJobs.Extensions.AuthTokens",
4040
"version": "1.0.0-beta6"
4141
},
4242
{
43-
"id": "Microsoft.Azure.WebJobs.Extensions.SignalRService",
43+
"name": "Microsoft.Azure.WebJobs.Extensions.SignalRService",
4444
"version": "1.0.0"
4545
}
4646
]

FallBackFolderBuild/generateFallBackFolder.ps1

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,20 @@ function LogAppVeyorMessage($message, [bool]$runningInAppveyorEnv) {
2222
if ($runningInAppveyorEnv) {
2323
Add-AppveyorMessage $message -Category Information
2424
}
25+
else
26+
{
27+
Write-Host $message -ForegroundColor blue
28+
}
2529
}
2630

2731
function LogAppVeyorErrorMessage($message, [bool]$runningInAppveyorEnv) {
2832
if ($runningInAppveyorEnv) {
2933
Add-AppveyorMessage $message -Category Error
3034
}
35+
else
36+
{
37+
Write-Host $message -ForegroundColor red
38+
}
3139
}
3240

3341
function Download([string]$url, [string]$outputFilePath) {
@@ -41,8 +49,8 @@ function Download([string]$url, [string]$outputFilePath) {
4149
}
4250

4351
function dotnetBuild($csprojPath, $fallBackFolderPath) {
44-
Write-Host "$csprojPath -o bin --force --no-incremental -r win-x86 --packages .\.nuget /p:RestoreFallbackFolders=$fallBackFolderPath --configfile NuGet.Config" -ForegroundColor yellow
45-
.\DotNet\cli\dotnet.exe build "$csprojPath" -o bin --force --no-incremental -r win-x86 --packages .\.nuget /p:RestoreFallbackFolders="$fallBackFolderPath" --configfile NuGet.Config
52+
Write-Host "$csprojPath -o bin --force --no-incremental --packages .\.nuget /p:RestoreFallbackFolders=$fallBackFolderPath --configfile NuGet.Config" -ForegroundColor yellow
53+
.\DotNet\cli\dotnet.exe build "$csprojPath" -o bin --force --no-incremental --packages .\.nuget /p:RestoreFallbackFolders="$fallBackFolderPath" --configfile NuGet.Config
4654
}
4755

4856
function restorePackage($extension, $fallBackFolderPath) {

0 commit comments

Comments
 (0)