xsharp.eu • Error XS7038 Failed to emit module '(Project name)'. XSC 1
Page 1 of 1

Error XS7038 Failed to emit module '(Project name)'. XSC 1

Posted: Tue Mar 20, 2018 4:36 pm
by ic2
On converting a VO program we're stuck with the following error:

Error XS7038 Failed to emit module '(Project name)'. XSC 1

What is "File XSC"? What is this error?

Dick

Error XS7038 Failed to emit module '(Project name)'. XSC 1

Posted: Tue Mar 20, 2018 5:30 pm
by robert
Dick,

This is probably an error in code generated by the compiler. This code has no physical file name and therefore you see no filename.

We would have to see your code to understand the problem.
Can you ZIP your solution and send it to us ?
Or create a ticket on the website and attach the ZIP to the ticket ?

Robert

Error XS7038 Failed to emit module '(Project name)'. XSC 1

Posted: Tue Mar 20, 2018 6:03 pm
by ic2
Hello Robert,


Done, as a a ticket.

Thanks!

Dick

Error XS7038 Failed to emit module '(Project name)'. XSC 1

Posted: Tue Mar 20, 2018 8:14 pm
by Chris
Hi Dick,

Thanks for sending the file, problem is due to the code:

odoc:Images:Item[dw-1]

just remove the "Item" part and it should be fine:

odoc:Images[dw-1]

We already had a similar open logged bug (one of the very few still open), but only now I realized it's specifically the identifier "Item" that's causing this bogus error to be emitted, instead of a normal error message.

Of course we'll fix this, thanks for your report!

Chris

Error XS7038 Failed to emit module '(Project name)'. XSC 1

Posted: Tue Mar 20, 2018 9:45 pm
by ic2
Hello Chris,

This is absolutely amazing - just about 2 hours -in the evening! - after the upload of the whole project you solved the issue.

Great thing is that -after temporary removing the whole code where the error came from, it's probably redundant code...- the VO converted X# program compiled without further errors. We will have to do insert some new code; OCR results from Syncfusion's OCR program were about the same as from Microsoft Document Imaging which we prefer to replace as it's old code (based on Office 2003) which may stop working one day. And a few steps more to do on modernizing code (mail, FTP and more) and then he client can hopefully quickly go ahead with the first working X# program for them replacing VO.

And...Jelle can directly proceed tomorrow. Thank you very much!

Dick

Error XS7038 Failed to emit module '(Project name)'. XSC 1

Posted: Tue Mar 20, 2018 10:44 pm
by Chris
Hi Dick,

You're welcome! I both wake up and go to sleep much later than most people do, so that time does not really qualify as evening for me :)

Glad to hear your app is compiling fine now.

Chris