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

This forum is meant for questions and discussions about the X# language and tools
Post Reply
ic2
Posts: 1858
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

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

Post 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
User avatar
robert
Posts: 4518
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

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

Post 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
XSharp Development Team
The Netherlands
robert@xsharp.eu
ic2
Posts: 1858
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

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

Post by ic2 »

Hello Robert,


Done, as a a ticket.

Thanks!

Dick
User avatar
Chris
Posts: 4904
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

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

Post 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
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
ic2
Posts: 1858
Joined: Sun Feb 28, 2016 11:30 pm
Location: Holland

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

Post 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
User avatar
Chris
Posts: 4904
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

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

Post 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
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
Post Reply