Skip to content

Commit 76ad359

Browse files
committed
Treat SQL projects as "regular" projects and enable publishing
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com>
1 parent 66d15e7 commit 76ad359

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects/SqlProjectBuilderExtensions.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ private static IResourceBuilder<T> AddDacPacResource<T>(this IDistributedApplica
9494
Properties = properties,
9595
ResourceType = "SqlProject",
9696
State = KnownResourceStates.Waiting
97-
})
98-
.ExcludeFromManifest();
97+
});
9998
}
10099

101100
/// <summary>

src/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects/SqlProjectResource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Aspire.Hosting.ApplicationModel;
88
/// Represents a SQL Server Database project resource.
99
/// </summary>
1010
/// <param name="name">Name of the resource.</param>
11-
public sealed class SqlProjectResource(string name) : Resource(name), IResourceWithWaitSupport, IResourceWithDacpac
11+
public sealed class SqlProjectResource(string name) : ProjectResource(name), IResourceWithWaitSupport, IResourceWithDacpac
1212
{
1313
string IResourceWithDacpac.GetDacpacPath()
1414
{

0 commit comments

Comments
 (0)