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

Correct way to change code in CustomControlLibrary.WpfCore.DesignTools project to avoid blocking CustomControlLibrary.WpfCore.DesignTools.dll by IDE. #38

Closed
dmitrybv opened this issue Jan 23, 2021 · 2 comments

Comments

@dmitrybv
Copy link

dmitrybv commented Jan 23, 2021

What is the correct way to change code in CustomControlLibrary.WpfCore.DesignTools project?
Every time I change code in files of CustomControlLibrary.WpfCore.DesignTools project and try to recompile solution I get the error

Severity	Code	Description	Project	File	Line	Suppression State
Warning		Unable to delete file "C:\DelphiStuff\DotNet Samples\github-ms-xaml-dsgn-ext\Prj\samples\CustCntLib.WpfCore\CustomControlLibrary.WpfCore\bin\Debug\netcoreapp3.0\CustomControlLibrary.WpfCore.DesignTools.dll". Access to the path 'C:\DelphiStuff\DotNet Samples\github-ms-xaml-dsgn-ext\Prj\samples\CustCntLib.WpfCore\CustomControlLibrary.WpfCore\bin\Debug\netcoreapp3.0\CustomControlLibrary.WpfCore.DesignTools.dll' is denied.	CustomControlLibrary.WpfCore.DesignTools			

So I should to close and reopen Visual Studio to recompile changed code.

Looks like it is a duplicate of issue #13.

@dmitrybv
Copy link
Author

dmitrybv commented Jan 23, 2021

One solution I have found is to use an Extension to restart Visual Studio.
'Visual Studio Restart' - https://marketplace.visualstudio.com/items?itemName=PaulMelia.VsRestart001&ssr=false#overview

@lutzroeder
Copy link
Member

Duplicate of #13

@lutzroeder lutzroeder marked this as a duplicate of #13 Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants