I have been studying a set of. Net Windows Components in the last two days.
During compilation, "XXX \ licenses. licx failed to convert the license file" licenses. licx "to a binary resource. An error occurred while setting the object reference to the instance of the object.
First, it was found on Google that it would be okay to kill licenses. licx.
However, an error such as the failure to file licenses. licx is reported after I do so.
Later I thought there would be traces of it in the project file.
After opening. csprog, I found a Section
< File Relpath = "Licenses. licx"
Buildaction = "Embeddedresource"
/>
Hey, try again after killing it...
After F7, well, the compilation was successful...
Note: Here is a turning point: After the widget is moved
If you try again for F7, then when, the error cannot be converted to a binary format ....
The reason is that the XML reappeared in. csprog.
Hey, you have to drink your saliva and then take a look at the first .........
During the process, I suddenly realized: Didn't you want to compile it? Even if you don't want to compile it, it will become ???
Back to screen
First, the licenses. licx attribute generation operation is quickly changed from the embedded resource to the none
Then quickly F7, well, pass...
More quickly move the control position and then F7. Well, it still passes smoothly ....
Don't worry, close the project, open the project, and modify the properties of the control, F7 is still normal ....
This should solve the problem that licenses. licx cannot be compiled into a binary resource .......