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

Deploy loads all dll's in dacpac directory. Never unloads them. #512

Open
MrMikeJJ opened this issue Oct 19, 2024 · 0 comments
Open

Deploy loads all dll's in dacpac directory. Never unloads them. #512

MrMikeJJ opened this issue Oct 19, 2024 · 0 comments
Labels
bug Something isn't working dacfx.projects Related to dacfx.projects library for sqlproj

Comments

@MrMikeJJ
Copy link

  • SqlPackage or DacFx Version: DacFx 162.4.92
  • .NET Framework (Windows-only) or .NET Core: Net 8.0
  • Environment (local platform and source/target platforms): Windows 10, ran locally.

Steps to Reproduce:

  1. Build a SqlProj file, so it creates a dacpac (it also creates a dll).
  2. Put some random dll's in the directory where the dacpac resides.
  3. Deploy the dacpac
  4. When the deploying has finished try deleting any of the dll's in the directory

Note: You can see that all the dll's in that directory has been loaded into the process using Process Explorer.

Did this occur in prior versions? If not - which version(s) did it work in?
Unsure

Expected behaviour
After deployment is complete, all dll's loaded by the deployment should be unloaded and you should be able to delete any file in the dacpac directory without having to restart the program.

Potentially bad work around
Delete all dll's in the directory before calling Deploy.
(Is the dll produced by the DacPac build actually used ? Deploy still works without it)

thanks
Mike

@MrMikeJJ MrMikeJJ added the bug Something isn't working label Oct 19, 2024
@llali llali added the dacfx.projects Related to dacfx.projects library for sqlproj label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dacfx.projects Related to dacfx.projects library for sqlproj
Projects
None yet
Development

No branches or pull requests

2 participants