Skip to content

Commit a33106d

Browse files
authored
Merge pull request #16985 from dotnet-maestro-bot/merge/release/3.1-to-blazor-wasm
[automated] Merge branch 'release/3.1' => 'blazor-wasm'
2 parents 80fec4e + ec5ccac commit a33106d

File tree

7 files changed

+23
-11
lines changed

7 files changed

+23
-11
lines changed

.azure/pipelines/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ stages:
639639
publishInstallersAndChecksums: true
640640
# This is to enable SDL runs part of Post-Build Validation Stage
641641
SDLValidationParameters:
642-
enable: true
642+
enable: false
643643
continueOnError: false
644644
params: ' -SourceToolsList @("policheck","credscan")
645645
-TsaInstanceURL $(_TsaInstanceURL)

.azure/pipelines/jobs/default-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ parameters:
5858
installTar: true
5959
installNodeJs: true
6060
installJdk: true
61-
timeoutInMinutes: 180
61+
timeoutInMinutes: 270
6262

6363
# We need longer than the default amount of 5 minutes to upload our logs/artifacts. (We currently take around 5 mins in the best case).
6464
# This makes sure we have time to upload everything in the case of a build timeout - really important for investigating a build

src/Components/test/testassets/BasicTestApp/ErrorComponent.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
void IncrementCount()
1212
{
1313
currentCount++;
14-
throw new NotImplementedException("Doing crazy things!");
14+
throw new NotImplementedException("Doing something that won't work!");
1515
}
1616
}

src/Features/JsonPatch/test/Internal/ObjectVisitorTest.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ private class Class1
1414
{
1515
public string Name { get; set; }
1616
public IList<string> States { get; set; } = new List<string>();
17-
public IDictionary<string, string> Countries = new Dictionary<string, string>();
17+
public IDictionary<string, string> CountriesAndRegions = new Dictionary<string, string>();
1818
public dynamic Items { get; set; } = new ExpandoObject();
1919
}
2020

@@ -62,14 +62,14 @@ public static IEnumerable<object[]> ReturnsDictionaryAdapterData
6262
get
6363
{
6464
var model = new Class1();
65-
yield return new object[] { model, "/Countries/USA", model.Countries };
66-
yield return new object[] { model.Countries, "/USA", model.Countries };
65+
yield return new object[] { model, "/CountriesAndRegions/USA", model.CountriesAndRegions };
66+
yield return new object[] { model.CountriesAndRegions, "/USA", model.CountriesAndRegions };
6767

6868
var nestedModel = new Class1Nested();
6969
nestedModel.Customers.Add(new Class1());
70-
yield return new object[] { nestedModel, "/Customers/0/Countries/USA", nestedModel.Customers[0].Countries };
71-
yield return new object[] { nestedModel.Customers, "/0/Countries/USA", nestedModel.Customers[0].Countries };
72-
yield return new object[] { nestedModel.Customers[0], "/Countries/USA", nestedModel.Customers[0].Countries };
70+
yield return new object[] { nestedModel, "/Customers/0/CountriesAndRegions/USA", nestedModel.Customers[0].CountriesAndRegions };
71+
yield return new object[] { nestedModel.Customers, "/0/CountriesAndRegions/USA", nestedModel.Customers[0].CountriesAndRegions };
72+
yield return new object[] { nestedModel.Customers[0], "/CountriesAndRegions/USA", nestedModel.Customers[0].CountriesAndRegions };
7373
}
7474
}
7575

src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/ClientApp/angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"build": {
1414
"builder": "@angular-devkit/build-angular:browser",
1515
"options": {
16-
"progress": true,
16+
"progress": false,
1717
"extractCss": true,
1818
"outputPath": "dist",
1919
"index": "src/index.html",

src/Tools/dotnet-watch/test/Scenario/WatchableApp.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using System.Collections.Generic;
66
using System.IO;
77
using System.Linq;
8+
using System.Reflection;
89
using System.Runtime.CompilerServices;
910
using System.Threading.Tasks;
1011
using Microsoft.Extensions.CommandLineUtils;
@@ -88,15 +89,19 @@ public void Start(IEnumerable<string> arguments, [CallerMemberName] string name
8889
};
8990
args.AddRange(arguments);
9091

92+
var dotnetPath = typeof(WatchableApp).Assembly.GetCustomAttributes<AssemblyMetadataAttribute>()
93+
.Single(s => s.Key == "DotnetPath").Value;
94+
9195
var spec = new ProcessSpec
9296
{
93-
Executable = DotNetMuxer.MuxerPathOrDefault(),
97+
Executable = dotnetPath,
9498
Arguments = args,
9599
WorkingDirectory = SourceDirectory,
96100
EnvironmentVariables =
97101
{
98102
["DOTNET_CLI_CONTEXT_VERBOSE"] = bool.TrueString,
99103
["DOTNET_USE_POLLING_FILE_WATCHER"] = UsePollingWatcher.ToString(),
104+
["DOTNET_ROOT"] = Directory.GetParent(dotnetPath).FullName,
100105
},
101106
};
102107

src/Tools/dotnet-watch/test/dotnet-watch.Tests.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@
1717
<ProjectReference Include="..\src\dotnet-watch.csproj" />
1818
</ItemGroup>
1919

20+
<ItemGroup>
21+
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
22+
<_Parameter1>DotnetPath</_Parameter1>
23+
<_Parameter2>$(DotNetTool)</_Parameter2>
24+
</AssemblyAttribute>
25+
</ItemGroup>
26+
2027
<Target Name="CleanTestProjects" BeforeTargets="CoreCompile">
2128
<RemoveDir Directories="$(TargetDir)TestProjects" Condition="Exists('$(TargetDir)TestProjects')" />
2229
</Target>

0 commit comments

Comments
 (0)