Dear Developers --
Please help.
How can I avoid the DLL locking issue noted below?
(Note that I am using VS 2012 on Win 7, all patched.)
(Note that the error goes away if I restart VS.)
---------------------------
Microsoft Visual Studio---------------------------Multiple errors occurred during the operation, the first of which is displayed below. A full error list is available in the Output Window. C:\Mcp\MCP Plus\MadisonCableProgram\Presentation\MCPScreens\bin\Infragistics4.Shared.v13.1.dll:
Access to the path 'C:\MyProject\bin\Infragistics4.Shared.v13.1.dll' is denied.---------------------------OK ---------------------------
Thanks.
-- Mark Kamoski
This issue has not appeared for about a week now.
It seems to be fixed.
The problem seems to have been that the references were not set up properly in the project, where "Build Action" was set to "Content" instead of "None", so setting "Build Action" to "None" seems to have fixed it.
Thanks for all the great tips.
Hi,
I am just checking if you need my help.
Please don’t hesitate if you need any further assistance.
>>> Did this happened always or only some times?
It only happens some times, not always.
>>> Check that you have only one VS instance open at that time
Yes, I do have only 1 instance of VS open at a time.
A VS restart seems to work.
Hi Mark,
Did this happened always or only some times? Check that you have only one VS instance open at that time and if you have dependencies that use Infragistics are prebuild in the right order. Delete all VS generated files like bin/ obj and close all open files in VS, then try to rebuild.
Keep me updated if there is anything I can help you with.
Dear Dimi --
I appreciate the follow-up.
As it turns out, when this happens, simply closing and re-starting Visual Studio is a good workaround.
Visual Studio seems to need at least a re-start, as clean+build does not do the trick.
This is just a workaround, I am still not sure of the root cause, but I will keep looking.