Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing SQL Database options in dacpac for Microsoft Azure SQL Database target option in VS2022 17.5.5 #285

Closed
namangupta211 opened this issue Jun 7, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@namangupta211
Copy link

namangupta211 commented Jun 7, 2023

We have a Visual Studio database project for which we also supply Query Store settings and MaxDop settings in the database settings Operational tab. The target platform we use in the project is “Microsoft Azure SQL Database”.

When we build the project with Visual Studio 17.4.4 the model.xml in the dacpac contains the supplied query store and max dop settings:

However when we build the project with Visual Studio 17.5.5 those settings are missing from the model.xml:

When we deploy the dacpac to our Azure Database it is reverting those settings to the default settings (MaxDop 8, QUeryStore Size 100 instead of the 512 we need).

As a temporary workaround we changed the targetplatform to “SQL Server 2022 or Azure SQL Database Managed Instance” since this does include those settings again.

@namangupta211 namangupta211 added the bug Something isn't working label Jun 7, 2023
@namangupta211 namangupta211 self-assigned this Jun 7, 2023
@namangupta211
Copy link
Author

Resolved.

@dzsquared dzsquared added this to the May 2023 - 162.0.52 milestone Aug 2, 2023
@dzsquared
Copy link
Contributor

This was shipped with DacFx 162.0.52 in May and is included in the Visual Studio 17.6 GA release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants