c# - Visual Studio package - EnvDTE Solution.SolutionBuild locks DLL when Build is called -



c# - Visual Studio package - EnvDTE Solution.SolutionBuild locks DLL when Build is called -

i using (dte) getservice(typeof (dte)) info opened solution in visual studio package.

when code builds solution (see code below) locks dll file, after menuitemcallback method has finished can't build solution either using usual menu option, or selecting bundle menu alternative again.

method called when select menu alternative in experimental instance of visual studio:

private void menuitemcallback(object sender, eventargs e) { var solutionbuild = ((dte) getservice(typeof (dte))).solution.solutionbuild; solutionbuild.build(true); if (solutionbuild.lastbuildinfo == 0) { showmessage("the solution built"); } }

how can create release dll can go on edit solution after running bundle option?

turned out wasn't happening after all, programme appeared work @ odd times confused me. turned out else in code using dll file , locking it!

c# visual-studio envdte vspackage

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -