This documentation is archived and is not being maintained.

Could not generate the binary licenses file. The output file 'file' could not be opened. <reason> 

An outdated copy of the licenses file could not be deleted by the project system. As part of preparing licenses, the project system will transform text .licx files into binary licenses files that are understood by the .NET licensing system.

To correct this error

  • Restart Visual Studio.

    The build process will fail if this error occurs.

See Also