Skip to content

Commit dd258ee

Browse files
committed
Fixes
1 parent 6141106 commit dd258ee

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

src/BuiltInTools/Watch.Aspire/DotNetWatchLauncher.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public static async Task<bool> RunAsync(string workingDirectory, DotNetWatchOpti
5959
EnvironmentOptions = environmentOptions,
6060
RootProjectOptions = rootProjectOptions,
6161
BrowserRefreshServerFactory = new BrowserRefreshServerFactory(),
62-
BrowserLauncher = new BrowserLauncher(logger, environmentOptions),
62+
BrowserLauncher = new BrowserLauncher(logger, reporter, environmentOptions),
6363
};
6464

6565
using var shutdownHandler = new ShutdownHandler(console, logger);

src/BuiltInTools/Watch/Build/EvaluationResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static ImmutableDictionary<string, string> GetGlobalBuildOptions(IEnumera
3636
{
3737
// See https://github.com/dotnet/project-system/blob/main/docs/well-known-project-properties.md
3838

39-
return CommandLineOptions.ParseBuildProperties(buildArguments)
39+
return BuildUtilities.ParseBuildProperties(buildArguments)
4040
.ToImmutableDictionary(keySelector: arg => arg.key, elementSelector: arg => arg.value)
4141
.SetItem(PropertyNames.DotNetWatchBuild, "true")
4242
.SetItem(PropertyNames.DesignTimeBuild, "true")

src/BuiltInTools/Watch/Build/ProjectGraphUtilities.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4+
using System.Runtime.Versioning;
45
using Microsoft.Build.Execution;
56
using Microsoft.Build.Graph;
67

src/BuiltInTools/dotnet-watch/Watch/MsBuildFileSetFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ internal class MSBuildFileSetFactory(
3131
private ILogger Logger => buildReporter.Logger;
3232

3333
private readonly ProjectGraphFactory _buildGraphFactory = new(
34-
globalOptions: CommandLineOptions.ParseBuildProperties(buildArguments).ToImmutableDictionary(keySelector: arg => arg.key, elementSelector: arg => arg.value));
34+
globalOptions: BuildUtilities.ParseBuildProperties(buildArguments).ToImmutableDictionary(keySelector: arg => arg.key, elementSelector: arg => arg.value));
3535

3636
internal sealed class EvaluationResult(IReadOnlyDictionary<string, FileItem> files, ProjectGraph? projectGraph)
3737
{

test/Microsoft.Extensions.DotNetDeltaApplier.Tests/Microsoft.Extensions.DotNetDeltaApplier.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<Compile Include="..\dotnet-watch.Tests\TestUtilities\AssertEx.cs" Link="Utilities\AssertEx.cs" />
12-
<Compile Include="..\dotnet-watch.Tests\TestUtilities\TestLogger.cs" Link="Mocks\TestLogger.cs" />
11+
<Compile Include="..\Microsoft.DotNet.HotReload.Test.Utilities\AssertEx.cs" Link="Utilities\AssertEx.cs" />
12+
<Compile Include="..\Microsoft.DotNet.HotReload.Test.Utilities\TestLogger.cs" Link="Mocks\TestLogger.cs" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

test/Microsoft.WebTools.AspireService.Tests/Microsoft.WebTools.AspireService.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</ItemGroup>
1414

1515
<ItemGroup>
16-
<Compile Include="..\dotnet-watch.Tests\TestUtilities\AssertEx.cs" Link="Utilities\AssertEx.cs" />
16+
<Compile Include="..\Microsoft.DotNet.HotReload.Test.Utilities\AssertEx.cs" Link="Utilities\AssertEx.cs" />
1717
</ItemGroup>
1818

1919
<Import Project="..\..\src\BuiltInTools\AspireService\Microsoft.WebTools.AspireService.projitems" Label="Shared" />

0 commit comments

Comments
 (0)