You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for deploying dacpacs from referenced NuGet packages (#334)
* WIP
Signed-off-by: Jonathan Mezach <[email protected]>
* Put metadata on PackageVersion element for CPM
Signed-off-by: Jonathan Mezach <[email protected]>
* Allow specifying a relative path within package
Signed-off-by: Jonathan Mezach <[email protected]>
* Generate package version into package metadata
Signed-off-by: Jonathan Mezach <[email protected]>
* Refactor to simplify
Move targets file into package
Signed-off-by: Jonathan Mezach <[email protected]>
* Fix resolving of IsAspirePackageResource
Signed-off-by: Jonathan Mezach <[email protected]>
* Fix broken test
Signed-off-by: Jonathan Mezach <[email protected]>
* Add initial tests for package based SQL Database Projects
Signed-off-by: Jonathan Mezach <[email protected]>
* Make sure we include MSBuild logic in packae
Signed-off-by: Jonathan Mezach <[email protected]>
* Attempt to make tests work on Windows
Signed-off-by: Jonathan Mezach <[email protected]>
* Replace MS package with a more acurate sample package
Add integration test
Signed-off-by: Jonathan Mezach <[email protected]>
* Make tests more robust cross-platform
Signed-off-by: Jonathan Mezach <[email protected]>
* Resolve PR comments
Signed-off-by: Jonathan Mezach <[email protected]>
* Separate out project and package based resource
Signed-off-by: Jonathan Mezach <[email protected]>
---------
Signed-off-by: Jonathan Mezach <[email protected]>
Copy file name to clipboardExpand all lines: examples/sql-database-projects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.AppHost.csproj
Copy file name to clipboardExpand all lines: src/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.csproj
@@ -95,7 +149,23 @@ public static IResourceBuilder<SqlProjectResource> WithConfigureDacDeployOptions
95
149
/// <param name="target">An <see cref="IResourceBuilder{T}"/> representing the target <see cref="SqlServerDatabaseResource"/> to publish the SQL Server Database project to.</param>
96
150
/// <returns>An <see cref="IResourceBuilder{T}"/> that can be used to further customize the resource.</returns>
/// Publishes the SQL Server Database project to the target <see cref="SqlServerDatabaseResource"/>.
156
+
/// </summary>
157
+
/// <param name="builder">An <see cref="IResourceBuilder{T}"/> representing the SQL Server Database project to publish.</param>
158
+
/// <param name="target">An <see cref="IResourceBuilder{T}"/> representing the target <see cref="SqlServerDatabaseResource"/> to publish the SQL Server Database project to.</param>
159
+
/// <returns>An <see cref="IResourceBuilder{T}"/> that can be used to further customize the resource.</returns>
0 commit comments