Kim Santiago
3932332694
update sql projects strings to install .net 6 SDK instead of .net core 3.1 ( #21235 )
...
* update sql projects strings to install .net 6 SDK instead of .net core 3.1
* update to us aka.ms link
2022-11-21 11:53:12 -08:00
Kim Santiago
46aec180e2
hide generate sql project from OpenApi under preview configuration in vscode ( #21263 )
2022-11-21 11:06:24 -08:00
Kim Santiago
ff56398fa9
add missing .dll in list of dlls used for project build ( #21277 )
2022-11-21 10:14:25 -08:00
Kim Santiago
ac494955ac
Hide publish sql project to new azure server behind preview setting ( #21248 )
...
* hide publish to new Azure server under preview setting
* try adding additional properties instead of replacing everything in configuration
* cleanup and change to adding configuration properties instead of replacing the whole thing
* add more info in comment
* remove extra line
2022-11-17 16:05:46 -08:00
Kim Santiago
17d3489778
Update Microsoft.Build.Sql version to 0.1.7-preview ( #21242 )
...
* update the default Microsoft.Build.Sql version used by sql projects
* update Microsoft.Build.Sql SDK version
* update baselines and template to also use 0.1.7-preview
2022-11-17 14:09:03 -08:00
Kim Santiago
f977fe6cf6
vbump dacpac, schema compare, and sql projects after Nov release ( #21241 )
2022-11-16 13:32:05 -08:00
Kim Santiago
b4aed82d44
update working for dotnet install location setting ( #21232 )
2022-11-16 11:05:30 -08:00
Kim Santiago
2a933d43c4
add preview for publish to Azure development container ( #21199 )
2022-11-10 13:25:54 -08:00
Kim Santiago
e928ed660f
projectController.ts code cleanup ( #21112 )
...
* adding regions and doc comments in projectController.ts
* cleanup
* add param info to doc comment
2022-11-10 11:59:04 -08:00
Kim Santiago
00f17bc050
put Generate project from OpenApi/Swagger spec behind preview flag ( #21108 )
2022-11-09 16:37:41 -08:00
Kim Santiago
64f5d9dde3
remove edge template from sql projects new project dialog ( #21144 )
2022-11-08 11:13:21 -08:00
Kim Santiago
d268b9948b
Add a few tests for projectController ( #21083 )
2022-11-03 13:02:53 -07:00
Kim Santiago
bd7d44ad31
Add image tag dropdown for publish to docker in ADS ( #21029 )
...
* add image tag dropdown to publish dialog
* cleanup
* add filtering and move default tag to the first in the dropdown
* fix test
2022-10-31 18:02:03 -07:00
Kim Santiago
15b7c814f6
Remove preview from 2022 in sql projects ( #20940 )
...
* remove preview from 2022 in sql projects
* update new project baselines
* update system dacpac tests
* fix other 150 system dacpac test checks
2022-10-26 09:11:28 -07:00
Kim Santiago
5d896cd8cd
update schema compare azdata dependency to 1.40.0 ( #20944 )
2022-10-24 13:31:29 -07:00
Kim Santiago
8acda681b4
move publish to docker quickpick code to its own file ( #20871 )
2022-10-21 11:09:51 -07:00
Kim Santiago
0f46b3ef9b
update vscode-mssql.d.ts to match the one in vscode-mssql ( #20861 )
...
* update vscode-mssql.d.ts to match the one in vscode-mssql
* format file
2022-10-17 13:54:49 -07:00
Kim Santiago
5106a08ea3
Add include permissions option for create project from db in vscode ( #20845 )
...
* add quickpick for include permissions option
* update vscode-mssql.d.ts
* add const
* undo whitespace change
2022-10-17 11:18:42 -07:00
Kim Santiago
00800db506
Add include permissions option to create project from db dialog ( #20823 )
...
* add import permissions option to create project from db dialog
* change 'import' to 'include'
* update azdata dependency version
* update STS to 4.3.0.37
* fix test
2022-10-13 11:01:37 -07:00
Kim Santiago
1f1ea1ab59
fix sql projects vscode extension not activating because of not finding azdata ( #20814 )
2022-10-11 16:22:38 -07:00
Kim Santiago
1e89df8955
add 160 system dacpacs and update Azure master dacpac ( #20732 )
2022-10-05 14:57:03 -07:00
Kim Santiago
edc11d519d
add logging for data workspace extension ( #20601 )
...
* add logging for data workspace extension
* Addressing comments
* adding back getProjectsInWorkspace() in constructor
* Add more logging in activate()
2022-09-14 11:06:41 -07:00
Kim Santiago
7c34c4bdc0
add config option for Microsoft.Build.Sql version used to build legacy sql projects ( #20532 )
...
* add config option for Microsoft.Build.Sql version used to build legacy sql projects
* addressing comments
2022-09-01 17:05:26 -07:00
Kim Santiago
fda2c37531
the fix open in designer menu item is not available after script is updated with newly added create table statements ( #20522 )
...
* make open in designer available after a script is updated with a new create table statement
* uppercase
2022-08-31 15:39:53 -07:00
Kim Santiago
8926c4f605
Remove sql project build dependency on STS ( #20447 )
...
* download Microsoft.Build.Sql sdk and extract
* cleanup extracted folder and nuget
* add constants
* cleanup
* remove package-lock.json
* making outputChannel required and some cleanup
* only download if the files aren't already there
* Add todo
* add try catches
* addressing comments
2022-08-31 14:04:06 -07:00
Kim Santiago
83043dadcc
move checking if a file contains a create table statement to utils ( #20512 )
2022-08-31 10:21:30 -07:00
Kim Santiago
06a3bf6718
Handle output path and configuration in .sqlproj ( #20426 )
...
* Revert "Revert "Fix sql projects not using OutputPath in sqlproj for publishing (#19987 )" (#20127 )"
This reverts commit dc7522c661 .
* read configuration from sqlproj
* Add more tests
* use last OutputPath in sqlproj
2022-08-25 10:25:12 -07:00
Kim Santiago
2e2fa7bf10
vbump schema compare and sql database projects ( #20464 )
2022-08-24 15:02:16 -07:00
Kim Santiago
cb29eccef3
add current open folder to new project quickpick ( #20414 )
...
* add open folder to new project quickpick
* swap so default save location is first
2022-08-19 14:46:24 -07:00
Kim Santiago
c7ce98c4de
use default folder or open folder as initial location in new project dialog ( #20416 )
...
* use default folder or open folder in new project dialog
* simplify
2022-08-19 12:07:14 -07:00
Kim Santiago and Alan Ren
691a53ac34
update STS to get fix for broken sql project build ( #20384 )
...
* update STS to get fix for broken sql project build
* Update config.json
Co-authored-by: Alan Ren <alanren@microsoft.com >
2022-08-17 12:02:34 -07:00
Kim Santiago
4971f1bd1a
update STS to 4.2.0.15 ( #20329 )
2022-08-12 14:35:56 -07:00
Kim Santiago
f6d2af58af
Add image tag matching target platform for publish to docker ( #20296 )
...
* add the image tag for the sql server version
* add preview text and test
* cleanup
2022-08-11 14:58:09 -07:00
Kim Santiago
c27c5334ba
update container eula link ( #20279 )
2022-08-10 11:59:42 -07:00
Kim Santiago
57ef5721a3
vbump schema compare and sql database projects ( #20268 )
2022-08-08 16:07:21 -07:00
Kim Santiago
dc7522c661
Revert "Fix sql projects not using OutputPath in sqlproj for publishing ( #19987 )" ( #20127 )
...
This reverts commit 70f0e7264b .
2022-07-21 08:11:23 -07:00
Kim Santiago
3196e99bd6
fix diff editor colors not getting reversed after vscode merge ( #20118 )
2022-07-20 14:00:01 -07:00
Kim Santiago
d418d7c01b
Add collapse project tree setting ( #20064 )
...
* Add sql projects setting to start with all project trees collapsed
* cleanup
* update string
* update string again
2022-07-18 17:04:39 -07:00
Kim Santiago
5d07bece03
update azdata dependency for schema-compare and sql-database-projects ( #20035 )
2022-07-14 12:58:01 -07:00
Kim Santiago
70f0e7264b
Fix sql projects not using OutputPath in sqlproj for publishing ( #19987 )
...
* fix sql projects not using output path in sqlproj for publish
* add tests
* Addressing comments
2022-07-13 16:58:37 -07:00
Kim Santiago
5d30c5eb88
Add SQL Server 2022 as a target platform option for sql projects ( #19990 )
...
* add 160 option for sql db projects
* add comment
2022-07-11 15:25:18 -07:00
Kim Santiago
be006466ca
cleanup dacpac and schema compare to use createConnectionProfile() from ads-test ( #19942 )
...
* cleanup dacpac and schema compare to use createConnectionProfile() from ads-test
* typo
* reuse mockConnectionInfo
2022-07-07 16:25:00 -07:00
Kim Santiago
029ea06790
Add aria-label option for flexContainer for add db reference dialog to use ( #19911 )
2022-07-05 10:59:30 -07:00
Kim Santiago
ec57115383
Add telemetry for what users have in publish profile ( #19805 )
...
* add telemetry for what users have in publish profile
* simplify check
* add falsy checks
2022-06-23 13:43:08 -07:00
Kim Santiago
a3cad2378c
Add telemetry for schema compare and sql database projects options dialogs ( #19799 )
...
* add more telemetry for schema compare and sql projects options dialogs
* cleanup
* change to sendActionEvent
2022-06-22 13:31:28 -07:00
Kim Santiago
fb56908165
disable publish profile input box ( #19784 )
2022-06-21 10:38:56 -07:00
Kim Santiago
0aadd317fa
Fix data workspace vscode telemetry ( #19768 )
...
* fix data workspace vscode extension telemetry extension name
* remove unused fullName
2022-06-20 14:11:15 -07:00
Kim Santiago
1bf99b0802
vbump data developer extensions after release ( #19736 )
2022-06-15 14:46:41 -07:00
Kim Santiago
487b3450bb
fix table designer error when sql project has folders ( #19667 )
...
* fix table designer error when sql project has folders
* filter on .sql file extension
* compare lowercase
* add back EntryType.File filter
2022-06-07 15:59:36 -07:00
Kim Santiago
d95fe113e4
Fix sql database projects vscode telemetry ( #19645 )
...
* fix the wrong extension name getting sent for sql database projects vscode extension
* bump version
* remove print statements
* clean up comment
2022-06-07 10:30:55 -07:00
Kim Santiago
535799fe23
update STS version to get DacFx fixes for update project and table designer ( #19627 )
2022-06-03 21:33:00 -07:00
Kim Santiago
7804f2cf3f
update sql database projects azdata dependency to 1.37.0 ( #19618 )
2022-06-03 14:27:14 -07:00
Kim Santiago and Alan Ren
1bbf5a78c1
enable table designer for table script in sql database project ( #19237 )
...
* add 'open in designer' to context menu of tables in sql projects
* fix tests
* Address comments
* enable table designer for sql database proj
* update label and issues on init
* vbump sts
* use promisified fs
* pr comments
Co-authored-by: Alan Ren <alanren@microsoft.com >
2022-06-02 13:27:47 -07:00
Kim Santiago
7b4181dd13
add docker image with telemetry for publish to container ( #19360 )
...
* add docker info image to telemetry for publish to container
* change name
2022-05-12 14:03:17 -07:00
Kim Santiago
b3d92aaad3
change import back to import type * as azdataType ( #19292 )
2022-05-04 17:28:06 -07:00
Kim Santiago
d122e7636c
remove default VS properties when converting legacy to SDK-style sql project ( #19255 )
2022-05-04 12:00:38 -07:00
Kim Santiago
34f6083bfc
fix alignment in update project from db dialog ( #19207 )
2022-04-27 17:06:42 -07:00
Kim Santiago
6e2bf7521f
update versions of data developer extensions ( #19220 )
2022-04-26 14:53:12 -07:00
Kim Santiago
a7ba78b186
add telemetry on how many projects are open ( #19146 )
2022-04-25 10:20:37 -07:00
Kim Santiago
d34b65ebb7
send telemetry for generate project from OpenApi spec ( #19188 )
2022-04-25 10:20:26 -07:00
Kim Santiago
23f9e37986
Fix create project from db not loading dbs when disconnected ( #19129 )
...
* fix create project from database when launched from disconnected node
* don't open dashboard
* fix tests
* update order so connection dialog opens first if can't connect
2022-04-22 15:28:04 -07:00
Kim Santiago
bf82204453
add sdk-style option to exposed sql project apis ( #19143 )
2022-04-19 17:28:27 -07:00
Kim Santiago
794daa3440
add SDK option to create project from db quickpick ( #19100 )
...
* Add SDK option to create project from db quickpick
* cleanup
2022-04-15 09:57:48 -07:00
Kim Santiago
5c823e436a
update schema compare version to 1.13.1 ( #19026 )
2022-04-12 16:43:14 -07:00
Kim Santiago
2d68b2bbce
hide convert to sdk-style from project context menu ( #19002 )
...
* hide convert to sdk-style from project context menu
* bump version since 0.16.0 was released in insiders
2022-04-12 09:45:02 -07:00
Kim Santiago
379b24d78c
Add confirmation before converting to SDK-style project ( #18893 )
...
* Add confirmation before updating to SDK-style project
* update string
* update string
* update other learn more url
2022-04-07 15:48:05 -07:00
Kim Santiago
d6dab3dd18
Remove build and folder includes when converting to SDK-style project ( #18889 )
...
* remove Build and Folder Includes
* add tests
* cleanup
* rollback if there was an error during the conversion
2022-04-01 21:04:18 -04:00
Kim Santiago
80db3a492f
don't show error notification if no error message in dacpac extension ( #18871 )
2022-03-31 15:31:48 -07:00
Kim Santiago
b65a6bd741
update DW target platform name in sql projects ( #18843 )
...
* update DW target platform name
* remove Microsoft from target platform names
* fix merge conflict
2022-03-31 15:30:30 -07:00
Kim Santiago
fe0cff07d6
Expose refresh projects tree ( #18890 )
...
* refresh project tree after apply schema compare to project
* clarify comment
2022-03-31 11:08:08 -07:00
Kim Santiago
8537a30996
fix project not getting updated after schema cmopare ( #18850 )
2022-03-29 11:55:12 -07:00
Kim Santiago
f002a26fe4
Add convert to SDK style project to context menu ( #18847 )
...
* differentiate between sdk and legacy style projects in tree
* switch to legacy
* add to context menu
* add function call
2022-03-29 10:15:36 -07:00
Kim Santiago
2f825f8a97
add initial SDK-style project migration ( #18827 )
...
* add initial SDK-style project migration
* addressing comments
2022-03-28 16:29:14 -07:00
Kim Santiago
893015010d
remove unused SchemaComparePublishChanges ( #18830 )
2022-03-28 10:54:53 -07:00
Kim Santiago
c39b13a93e
cleanup sql database projects package.json ( #18794 )
2022-03-23 10:45:48 -07:00
Kim Santiago
5a87e552bc
move system dbs to bottom of the list in update project from db dialog ( #18791 )
2022-03-22 18:12:19 -07:00
Kim Santiago
8a670a8baa
Add a few more properties for dacpac telemetry ( #18782 )
...
* add wizard page and selected operation for dacfx wizard cancel telemetry
* update name
* send version for extract
* pass version directly into function call
2022-03-21 14:27:09 -07:00
Kim Santiago
6263cc2f87
cleanup dacpac extension telemetry ( #18778 )
...
* cleanup dacpac extension telemetry
* Add helper function and missing action
2022-03-18 15:53:05 -07:00
Kim Santiago
3071a7b710
Add more telemetry for sql database projects ( #18751 )
...
* add more telemetry for sql database projects
* add publishToContainer events
* send target platform when publishing
* add duration for createProjectFromDb and updateProjectFromDb
2022-03-17 16:44:10 -07:00
Kim Santiago
023e10b496
Add preview and bump versions ( #18749 )
2022-03-17 10:47:50 -07:00
Kim Santiago
90d6defa05
Add select target platform to new project quickpick ( #18731 )
...
* add step to choose target platform in new project quickpick
* add comment
* only splice if the default target platform index isn't -1
* change 3 to 5 in comment
2022-03-15 18:07:41 -07:00
Kim Santiago
de9a4e02b1
add SDK style option to new project quickpick ( #18724 )
...
* add SDK style option to new project quickpick
* addressing comments
2022-03-14 16:10:51 -07:00
Kim Santiago
7181d4c79e
Make SDK-style project a checkbox option instead of separate template ( #18698 )
...
* switch to using a checkbox instead of separate template for new SDK style project
* let project provider provide sdk learn more url
* Reorder
2022-03-11 16:54:53 -08:00
Kim Santiago
5f2d8b2bd5
remove sql server 2005 and 2008 as options for sql database projects ( #18664 )
...
* remove sql server 2005 and 2008 from target platforms
* also remove 2005 and 2008 from SqlTargetPlatform enum
* fix a windows test
2022-03-10 18:11:49 -08:00
Kim Santiago
5bb35d4eed
update Microsoft.Build.Sql version to 0.1.3-preview in templates ( #18659 )
2022-03-07 17:34:30 -08:00
Kim Santiago
9e3d678536
add learn more link for sdk style in create project from db dialog ( #18637 )
2022-03-04 13:00:21 -08:00
Kim Santiago
7b92c9eb65
only show confirmation message for apply all changes, not for view changes in schema compare ( #18520 )
2022-02-22 13:33:24 -08:00
Kim Santiago
b33afe3efb
add back SDK style project template ( #18448 )
2022-02-18 09:54:10 -08:00
Kim Santiago
d24a289af5
fix SDK style projects not being able to find system dacpacs ( #18218 )
...
* fix SDK style projects not being able to find system dacpacs
* fix tests
2022-02-16 09:36:01 -08:00
Kim Santiago
7078b9ea33
hide sdk style project template ( #18308 )
2022-02-10 15:50:37 -08:00
Kim Santiago
fa4161d9a1
Add SDK style project option to create project from db dialog ( #18243 )
...
* add sdk style project template
* update description and order
* add SDK style project option to create project from db dialog
* fix test
* switch to checkbox
* remove not used string
* fix test
2022-02-10 10:49:46 -08:00
Kim Santiago
243afc9f54
add confirmation message to update project from db dialog ( #18199 )
2022-02-02 17:04:12 -08:00
Kim Santiago
f0dd31c457
fix excluding pre/post/none deploy scripts in sdk style projects ( #18117 )
2022-01-25 11:49:52 -08:00
Kim Santiago
3540a1b986
remove update project from database in vscode ( #18124 )
2022-01-19 13:53:47 -08:00
Kim Santiago
967cd2b102
Add SDK sql project template ( #18058 )
...
* add sdk style project template
* update description and order
* update template
* update template and add link
* remove ToolsVersion and xmlns from project node
* update template name to SQL Database (SDK)
2022-01-19 10:08:47 -08:00
Kim Santiago
8b9020e7b6
update azdata dependency for schema compare and sql database projects ( #18095 )
2022-01-14 16:50:47 -08:00
Kim Santiago
6a288dcaa5
add types instead of using any in project.ts ( #18091 )
2022-01-14 12:53:57 -08:00
Kim Santiago
4fa2b50077
load name and options from publish profile for vscode publish quickpick ( #18044 )
...
* load name and options from publihs profile for vscode publish quickpick
* fix when a publish profile doesn't have the target db name
* update condition
* simplify
2022-01-11 15:05:58 -08:00
Kim Santiago
cd6b39ffee
add a project guid if a sql project doesn't have one ( #18009 )
2022-01-07 16:01:39 -08:00
Kim Santiago
e11b1ed2a3
update sql projects test ( #17987 )
2022-01-05 10:03:24 -08:00