csc.exe always runs, is there a way to bypass this?

Add-in Express™ Support Service
That's what is more important than anything else

csc.exe always runs, is there a way to bypass this?
Bypassing csc.exe maybe need ngen.exe? 
Justin Ricci




Posts: 14
Joined: 2010-08-12
I'm building my first IE plugin and I'm trying to figure out how to avoid the csc.exe popup without adding the registry key to allow it.

Is it possible to ngen the assembly before deployment? Or edit the build settings somehow to get it to precompile everything?

Thanks,

Justin.
Posted 12 Aug, 2010 19:45:58 Top
Digvijay Chauhan




Posts: 8
Joined: 2010-08-09
Justin,

You can add a Custom Installer Action in the setup project generated by the Setup Wizard to go the ngen for you after deployment. ADX deploys x86 and x64 version of the loader so you need to be careful about the platform you generate the native image to.

Hope that helps!

/Digvijay
Posted 14 Aug, 2010 10:06:14 Top
Eugene Astafiev


Guest


Hi Justin,

I'm building my first IE plugin and I'm trying to figure out how to avoid the csc.exe popup without adding the registry key to allow it.


Could you please provide me with a screenshot?

You can try to generate a native image of the add-on assembly (but not the adxloader.dll, it is a native assembly).
Posted 16 Aug, 2010 03:24:18 Top
Justin Ricci




Posts: 14
Joined: 2010-08-12
Eugene: we sourced this to being the XMLSerializer launching csc to create the serialization classes on the fly (from another post in the forum).

This is no longer an issue!
Posted 18 Aug, 2010 13:48:39 Top
Eugene Astafiev


Guest


Hi Justin,

That is awesome! Thank you for letting me know.
Posted 19 Aug, 2010 07:27:49 Top