Red Gate forums :: View topic - Problem building assembly with SA 6.8 (latest)
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

Problem building assembly with SA 6.8 (latest)

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



Joined: 04 Jul 2011
Posts: 3

PostPosted: Mon Feb 10, 2014 8:56 pm    Post subject: Problem building assembly with SA 6.8 (latest) Reply with quote

While building the sources with SA, the following exception is raised:

Code:
  SmartAssembly v6.8.0.121
  Copyright © Red Gate Software 2005–2013
  Loading project tpserver.saproj
    Input=C:\Builds\5\ProductNavigator\TP Server V2.5-SP1\Binaries\Tideum.Pricing.Server.dll
    Output=C:\Builds\5\ProductNavigator\TP Server V2.5-SP1\Binaries\Tideum.Pricing.Server.dll
  Loading...
  Starting...
  Analyzing...
  Preparing...
  Failed
  System.Collections.Generic.KeyNotFoundException: Der angegebene Schlüssel war nicht im Wörterbuch angegeben.
     bei System.Collections.Generic.Dictionary`2.get_Item(TKey key)
     bei ‰..( )
     bei ...ctor( ,  ,  , Func`3 , TypeName , Boolean )
     bei Œ.€.( )
     bei Œ.€.( )
     bei ‰..()


Any hint how to fix this? Target is a DLL with custome error handler.

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



Joined: 23 Apr 2012
Posts: 184

PostPosted: Mon Feb 10, 2014 10:45 pm    Post subject: Reply with quote

Hi Stephen!

I think I've found an error report that you sent in for this and it's linked to issue SA-1109. I know two causes of this issue:

-If you've given your custom error reporting DLL the same name as one of your main assembly's dependencies

If this is the case, it should help if you just give the error reporting DLL a unique name.

-or-

-If you are attempting to actually embed your custom error reporting DLL

If this is the case, you actually don't need to embed or even reference the DLL at all. To use a custom error reporting DLL, you only need to enable error reporting on your assembly, choose the 'custom template' option, and browse to your template. Just as if you were using the standard template, no further code modification is needed Smile

Hope that helps!
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
sreindl



Joined: 04 Jul 2011
Posts: 3

PostPosted: Mon Feb 10, 2014 11:47 pm    Post subject: Re: Solved Reply with quote

Hello Jessica,

removing the error reporting assembly from the list of used assemblies did the trick.

A suggestion: The emails being send by your mail service might contain the information given by you as some kind of knowledge base entry.

Thanks and regards
Stephen
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 184

PostPosted: Tue Feb 11, 2014 12:47 am    Post subject: Reply with quote

I'm glad to hear that helped! And thank you for the suggestion--I've gone ahead and added this info into the response email for SA-1109 error reports.
_________________
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