fbpx

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

More
9 months 4 weeks ago #1 by Dick
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

Please Log in or Create an account to join the conversation.

More
9 months 4 weeks ago #2 by Robert van der Hulst
Replied by Robert van der Hulst on topic Error XS7038 Failed to emit module '(Project name)'. XSC 1
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

XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

More
9 months 4 weeks ago #3 by Dick
Hello Robert,


Done, as a a ticket.

Thanks!

Dick

Please Log in or Create an account to join the conversation.

More
9 months 4 weeks ago #4 by Chris Pyrgas
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

XSharp Development Team
chris(at)xsharp.eu

Please Log in or Create an account to join the conversation.

More
9 months 4 weeks ago #5 by Dick
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

Please Log in or Create an account to join the conversation.

More
9 months 4 weeks ago #6 by Chris Pyrgas
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

XSharp Development Team
chris(at)xsharp.eu

Please Log in or Create an account to join the conversation.