From 60040d5c0c4fa39832cca819cb37cc19f121b423 Mon Sep 17 00:00:00 2001 From: Erik Ejlskov Jensen Date: Sat, 25 Nov 2023 08:38:30 +0100 Subject: [PATCH] fixes #2018 --- src/GUI/Shared/Handlers/ServerDgmlHandler.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/GUI/Shared/Handlers/ServerDgmlHandler.cs b/src/GUI/Shared/Handlers/ServerDgmlHandler.cs index a655ff777..c68411e31 100644 --- a/src/GUI/Shared/Handlers/ServerDgmlHandler.cs +++ b/src/GUI/Shared/Handlers/ServerDgmlHandler.cs @@ -61,7 +61,6 @@ public async Task GenerateAsync() { var vsDataHelper = new VsDataHelper(); var databaseList = await vsDataHelper.GetDataConnectionsAsync(package); - var dacpacList = await SqlProjHelper.GetDacpacFilesInActiveSolutionAsync(); var psd = package.GetView(); @@ -76,15 +75,6 @@ public async Task GenerateAsync() })); } - if (dacpacList != null && dacpacList.Any()) - { - psd.PublishDefinitions(dacpacList.Select(m => new DatabaseConnectionModel - { - FilePath = m, - DatabaseType = DatabaseType.SQLServerDacpac, - })); - } - psd.PublishCodeGenerationMode(CodeGenerationMode.EFCore6, new List()); var pickDataSourceResult = psd.ShowAndAwaitUserResponse(true);