Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
1 change: 1 addition & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,6 @@

<ItemGroup Label=".NET 9 Overrides" Condition="'$(TargetFramework)' == 'net9.0'">
<PackageVersion Update="Microsoft.Extensions.Logging.Abstractions" Version="9.0.3" />
<PackageVersion Include="Microsoft.Extensions.Options" Version="9.0.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ public static IResourceBuilder<MongoDBServerResource> WithDbGate(this IResourceB
var dbGateBuilder = DbGateBuilderExtensions.AddDbGate(builder.ApplicationBuilder, containerName);

dbGateBuilder
.WithEnvironment(context => ConfigureDbGateContainer(context, builder.ApplicationBuilder))
.WaitFor(builder);
.WithEnvironment(context => ConfigureDbGateContainer(context, builder.ApplicationBuilder));

configureContainer?.Invoke(dbGateBuilder);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ public static IResourceBuilder<PostgresServerResource> WithDbGate(this IResource
var dbGateBuilder = DbGateBuilderExtensions.AddDbGate(builder.ApplicationBuilder, containerName);

dbGateBuilder
.WithEnvironment(context => ConfigureDbGateContainer(context, builder.ApplicationBuilder))
.WaitFor(builder);
.WithEnvironment(context => ConfigureDbGateContainer(context, builder.ApplicationBuilder));

configureContainer?.Invoke(dbGateBuilder);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ public static IResourceBuilder<RedisResource> WithDbGate(this IResourceBuilder<R
var dbGateBuilder = DbGateBuilderExtensions.AddDbGate(builder.ApplicationBuilder, containerName);

dbGateBuilder
.WithEnvironment(context => ConfigureDbGateContainer(context, builder.ApplicationBuilder))
.WaitFor(builder);
.WithEnvironment(context => ConfigureDbGateContainer(context, builder.ApplicationBuilder));

configureContainer?.Invoke(dbGateBuilder);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<!-- Workaround for https://github.com/dotnet/aspire/issues/7779 -->
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
<PackageReference Include="Microsoft.Extensions.Options"></PackageReference>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build fails locally without this change.
build error

I wonder why CI does not fail.

CC @aaronpowell

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a weird one. Would have to run the nuget why command to trace the package refs probably and find the conflict.

Or maybe it's a VS quirk. I only dev on the repo in VS Code, which should behave the same as VS, but I know there are quirks between them.

</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ public static IResourceBuilder<SqlServerServerResource> WithDbGate(this IResourc
var dbGateBuilder = DbGateBuilderExtensions.AddDbGate(builder.ApplicationBuilder, containerName);

dbGateBuilder
.WithEnvironment(context => ConfigureDbGateContainer(context, builder.ApplicationBuilder))
.WaitFor(builder);
.WithEnvironment(context => ConfigureDbGateContainer(context, builder.ApplicationBuilder));

configureContainer?.Invoke(dbGateBuilder);

Expand Down
Loading