Red Gate forums :: View topic - Embed non referenced assemblies
Return to www.red-gate.com RSS Feed Available

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

Embed non referenced assemblies

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



Joined: 31 Oct 2012
Posts: 1

PostPosted: Wed Oct 31, 2012 6:42 pm    Post subject: Embed non referenced assemblies Reply with quote

Hi,

I somewhere read that it is not possible to embed assemblies that are not referenced in the main project.
Is that true? And when yes, then why?
Is there any way we can do this? I already tried to create the saproj file manually. But afterwards the assemblies are not embedded.

It would be very helpful if there is a solution.

Regards
Mad
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 840
Location: My desk.

PostPosted: Thu Nov 01, 2012 7:21 pm    Post subject: Reply with quote

Thanks for your post- currently, I believe the behaviour is as you describe (i.e. you can't do it!) - I'm not sure as to the underlying reason why; I think it's more a case of depending on how you then tried to use those assemblies you could encounter trouble.

We have a feature request already in place for letting you do this though (ref. SA-743) so I'll +1 it for you. It's marked as a "potential" fix in a future release so it's not something that's likely to appear in the short term though I'm afraid.
Back to top
View user's profile Send private message
Merlin



Joined: 11 Dec 2011
Posts: 2

PostPosted: Mon Nov 19, 2012 3:36 pm    Post subject: Reply with quote

Hi,

I have the same problem. I have a DLL that is referenced by the application project but SmartAssembly doesn't detect the dependency. The DLL is an image library that is used by the application and I could really do with embedding it in the EXE.

Can you please put another +1 on the feature request please.

Thanks
Back to top
View user's profile Send private message
eric-914



Joined: 30 Nov 2012
Posts: 20

PostPosted: Fri Nov 30, 2012 6:02 pm    Post subject: Embed non referenced assemblies Reply with quote

I've got this problem too. I'm using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll

This in turn is using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll.

My project references both directly, but S/A doesn't seem to recognize the latter as a dependency.

It would be nice if I had a way to tell S/A to include it also.

P.S. -- For the time being, I added an unused method whose sole purpose is to directly reference a class in Logging dll. This has 'fixed' the problem for now. But it's just a hack.
Back to top
View user's profile Send private message
Julien



Joined: 18 Dec 2012
Posts: 3

PostPosted: Tue Dec 18, 2012 3:40 pm    Post subject: Reply with quote

+1
Very important feature Exclamation Exclamation
Back to top
View user's profile Send private message
mikehalford



Joined: 22 Nov 2012
Posts: 8

PostPosted: Tue Dec 18, 2012 4:10 pm    Post subject: Reply with quote

+1
Very important feature
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