Monday, August 24, 2009

lc.exe exited with code -1 and how to fix it

LC.EXE is the Visual Studio license compiler. It compiles licenses and includes them in the assembly resources. The license compiler returns -1 when a licensed component is removed.

Under the Properties Folder in the Project folder you find the file licenses.licx. You must open this file and remove the reference to the component. And you must remove the Reference in the assembly references as well. After that the project will compile without an error.


Alcibiade said...

thnks a lot;)
it helped me

jowdjbrown said...

Website of Harvard based Physician Psychiatrist, Autism Advocate and Researcher. Leadership in Healthcare, quality, and neuroscience.

Manchester United said...

Dies ist meine erste Mal, dass ich hier zu besuchen. Ich fand so viele interessante Sachen in Ihrem Blog vor allem seine Diskussion. Von den Tonnen Kommentare zu Ihrem Artikel, ich denke, ich bin nicht der einzige hier die ganze Freude haben! Mach weiter so.. lese mehr

Jake Welson said...

Well thanks for the post
TechnoSizzle - Best Games, Softwares, PC & Mac Cracks!