Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 724125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:11:11+00:00 2026-05-14T06:11:11+00:00

Can I user mono’s AOT feature to natively pre-compile .NET DLLs (and or EXEs)

  • 0
  1. Can I user mono’s AOT feature to natively “pre-compile” .NET DLLs (and or EXEs) to make them harder to reverse engineer?

  2. If so, how do I get mono/AOT working in Windows 7? (I’m running x64 but the app is targeting x86 explicitly.) I just installed Mono 2.6.3 and MinGW 5.1.6 and I’m trying to AOT compile an exe (or a dll, it doesn’t matter).

I get screens and screens of error messages:

C:\Users\jupdike\AppData\Local\Temp\mono_aot_XSDEAV:533: Error: junk at end of line, first unrecognized character is `H'
C:\Users\jupdike\AppData\Local\Temp\mono_aot_XSDEAV:539: Error: unknown pseudo-op: `.local'
C:\Users\jupdike\AppData\Local\Temp\mono_aot_XSDEAV:546: Warning: .size pseudo-op used outside of .def/.endef ignored.
C:\Users\jupdike\AppData\Local\Temp\mono_aot_XSDEAV:546: Error: junk at end of line, first unrecognized character is `H'

I can open the generated assembly code but I have no idea why the assembler chokes on it:

    .size HappyForms_TextForm__ctor_string_string_string_bool,.-HappyForms_TextForm__ctor_string_string_string_bool   (533)
_.Lme_a:
.Lme_a:
    .balign 16
_.Lm_b:
.Lm_b:
    .local HappyForms_TextForm_get_InputValue       (539)
_HappyForms_TextForm_get_InputValue:
HappyForms_TextForm_get_InputValue:

    .byte 85,139,236,131,236,8,139,69,8,139,128,216,2,0,0,131,236,12,80,139,0,144,144,144,255,144,200,2,0,0,131,196
    .byte 16,201,195

    .size HappyForms_TextForm_get_InputValue,.-HappyForms_TextForm_get_InputValue (546)

(numbers above in parens are line numbers)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T06:11:11+00:00Added an answer on May 14, 2026 at 6:11 am

    It doesn’t look like this will solve my problem and it also doesn’t look like mono AOT is supported on Windows at this time. See this question for more info.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I change/set permissions of a file or directory using asp.net under mono
Can a user install my application from iTunesStore if he is having iPhone OS
Can any user run inline assembly for current linux kernel or does that require
A user can upload a picture on my site at which point jQuery inserts
A user can post 4 times at most within a day. The difficulty is
A user can import data into our website from a file. The data normally
User can switch active application by Alt+Tab or by clicking on their icons in
A user can create a post. Posts have comments. A comment must belong to
User can came from web or from devise (Android|iPhone|iPad|iPod) How correctly detect it?
How can a user control be added to a page in Windows Phone 7

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.