Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exported name mismatched

See original GitHub issue

Using v1.7-beta2, checked Use our IL Assembler, TargetFramework=netcoreapp3.1, the following method will be exported as “Test”, not “test123”.

[DllExport("test123", CallingConvention.StdCall)]
public static int Test()
    => 0;

But if I use CallingConvention.Cdecl, the exported name will be “test123”.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

Executor-Chengcommented, Dec 14, 2019

Great! The problem has been solved! Thank you for your quick fix 😃

3Fcommented, Dec 14, 2019

@Executor-Cheng, Please confirm fixes using the following CI build:

I’ll try to prepare new release ASAP.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inverse of import/no-anonymous-default-export · Issue #1623
This creates confusion when people read the class name and it doesn't correlate to the filename or how it's imported elsewhere:.
Read more >
Why and when to use default export over named exports in ...
Named exports are useful to export several values. During the import, it is mandatory to use the same name of the corresponding object....
Read more >
CSV export has mismatch between headers and data
When I export user data, the CSV file is invalid because there is a single mismatch between header columns and data columns.
Read more >
Solved - Export 'x' (imported as 'y') was not found in ... - Sharooq
The "import not found" error occurs when we perform a named and/or a default import from a file that doesn't have a named...
Read more >
Why does the document name show differently when I export ...
When Exporting a document, the name of the document is different to the Name in FYI. For example, the document Name of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found