I was getting this rather cryptic message on the build output in Visual Studio. There are no other errors but the build fails.
LC : error LC0000: 'The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)'
The problem was my licenses.licx file. I accidentally typed a few characters that causes the content to be invalid.
User contributions licensed under CC BY-SA 3.0