Red Gate forums :: View topic - Merged Assemblies in NGEN
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

Merged Assemblies in NGEN

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
madffm



Joined: 31 Oct 2012
Posts: 1

PostPosted: Fri Aug 23, 2013 11:12 am    Post subject: Merged Assemblies in NGEN Reply with quote

Hi,

we are using merge to simplify our deployment process.
In addition we optimize the startup time with NGEN.
But in this combination NGEN gives us some error messages that the embedded assemblies are not found.

Is this a known problem? Is there a solution / workaround?

Mad
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 215

PostPosted: Mon Aug 26, 2013 6:45 pm    Post subject: Reply with quote

Hi MAD,

There is a known issue with NGEN'ing embedded assemblies, I'm afraid.. :/

By default NGen will try to resolve and create native images for all dependencies. If it can not find them in the local directory then it will show a rather long warning message, but will continue and create the native images for what it can find. When the application is then run it will use the native images for what it has generated and then revert to JIT for the remaining.

If you embed some of the assemblies then NGen will be unable to find those dependencies in the local directory and so will give you the warnings but will successfully create the native images for the assemblies which aren't embedded.

Unfortunately, refraining from embedding the dependencies seems to be the only way to prevent the errors or to get those dependencies successfully NGen'd
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group