Unable to delete file "D:\....\Test2_About.dll

Add-in Express™ Support Service
That's what is more important than anything else

Unable to delete file "D:\....\Test2_About.dll
 
Subscribe
Leon Lai Kan




Posts: 200
Joined: 2018-12-20
Hello, Andrei

I have reformatted my computer and downloaded Visual Studio 2019 Community Edition.

I have created a very simple add-in: Only 1 Tab, 1 Group, and 1 Button.

I did: Add New Item > About Box.

I wrote a few lines in the click event of the button to display the About Box.

Note: I used the template About Box as it is, without any modification yet.

I built the add-in, registered it and ran debug.

It works fine.

When I rebuild, I get an error message (Warning) saying:
Unable to delete file "D:\ADD-IN 816\Test2_About\Test2_About\bin\Debug\Test2_About.dll".
Access to the path 'D:\ADD-IN 816\Test2_About\Test2_About\bin\Debug\Test2_About.dll' is denied.



Why am I getting this message?
My Webpage

Thanks
Leon
Posted 03 Jul, 2019 05:37:15 Top
Andrei Smolin


Add-in Express team


Posts: 16466
Joined: 2006-05-11
Hello Leon,

Is this an exception or warning? I get this quite often. Note that if the next line says that the project was built, you can ignore that warning.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 03 Jul, 2019 05:43:07 Top
Leon Lai Kan




Posts: 200
Joined: 2018-12-20
It is a warning.

I never got that message before, when I was working with VS 2010.

Yes, the project is built.

So, I can ignore it? It won't crash my add-in, I hope!


Thanks
Posted 03 Jul, 2019 05:46:33 Top
Andrei Smolin


Add-in Express team


Posts: 16466
Joined: 2006-05-11
Leon Lai Kan writes:
So, I can ignore it? It won't crash my add-in, I hope!


I assume the issue relates to how VS orchestrates building your project (actually, any project).

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 03 Jul, 2019 07:08:54 Top