Click here to Skip to main content
15,883,901 members
Home / Discussions / C#
   

C#

 
GeneralRe: Unity Application Block Error Pin
Bill Warner5-Mar-13 3:07
Bill Warner5-Mar-13 3:07 
GeneralRe: Unity Application Block Error Pin
Keith Barrow5-Mar-13 3:26
professionalKeith Barrow5-Mar-13 3:26 
GeneralRe: Unity Application Block Error Pin
Bill Warner5-Mar-13 3:56
Bill Warner5-Mar-13 3:56 
GeneralRe: Unity Application Block Error Pin
Keith Barrow5-Mar-13 4:38
professionalKeith Barrow5-Mar-13 4:38 
GeneralRe: Unity Application Block Error Pin
Bill Warner5-Mar-13 4:55
Bill Warner5-Mar-13 4:55 
GeneralRe: Unity Application Block Error Pin
Keith Barrow5-Mar-13 5:04
professionalKeith Barrow5-Mar-13 5:04 
GeneralRe: Unity Application Block Error Pin
Bill Warner5-Mar-13 5:32
Bill Warner5-Mar-13 5:32 
GeneralRe: Unity Application Block Error [Modified] Pin
Keith Barrow5-Mar-13 5:59
professionalKeith Barrow5-Mar-13 5:59 
Bill Warner wrote:
Am I barking up the wrong tree?

Nope. The line you quote is where the the type information is loaded which is consistent with what you've said in terms of errors. Something is probably wrong with the type definitions , without having access to the project it is hard to tell what though.

One thing that is a common gotcha is that you need to reference all dependant assemblies as well, let's say FrankensteinFramework references Log4Net.dll, then you'd have to reference Log4Net.dll plus all its dependancy tree too. Not doing this won't cause a compile time error (one of the drawbacks of DI) so it'll build even though you don't have the references you need.

The final thing (OT, this isn't your current problem) is that, given:
<register type="Frankenstein.Laboratory.Interfaces.ILabTest, FrankensteinFramework" mapTo="Frankenstein.Laboratory.DTO.LabTest.AddNewLabTest, FrankensteinFramework" name="MappingName"/>


you need:

C#
var transform = container.Resolve<ILabTest>("AddNewLabTestMappingName");

You'll hit this if (hopefully when) you get any further. It also illustrates what the name is for.

[Edit]
Corrected some of the very poor English wot I wrote.

GeneralRe: Unity Application Block Error [Modified] Pin
Bill Warner5-Mar-13 6:18
Bill Warner5-Mar-13 6:18 
GeneralRe: Unity Application Block Error [Modified] Pin
Keith Barrow5-Mar-13 6:19
professionalKeith Barrow5-Mar-13 6:19 
QuestionC# Basics Pin
nabeel6345-Mar-13 0:44
nabeel6345-Mar-13 0:44 
AnswerRe: C# Basics Pin
Ingo5-Mar-13 1:00
Ingo5-Mar-13 1:00 
AnswerRe: C# Basics Pin
Sachin k Rajput 5-Mar-13 1:25
Sachin k Rajput 5-Mar-13 1:25 
GeneralRe: C# Basics Pin
nabeel6345-Mar-13 18:29
nabeel6345-Mar-13 18:29 
QuestionUpload file using webclient Pin
vanikanc4-Mar-13 7:47
vanikanc4-Mar-13 7:47 
QuestionRe: Upload file using webclient Pin
Eddy Vluggen4-Mar-13 8:44
professionalEddy Vluggen4-Mar-13 8:44 
AnswerRe: Upload file using webclient Pin
vanikanc4-Mar-13 9:50
vanikanc4-Mar-13 9:50 
GeneralRe: Upload file using webclient Pin
Eddy Vluggen4-Mar-13 10:46
professionalEddy Vluggen4-Mar-13 10:46 
AnswerRe: Upload file using webclient Pin
Keith Barrow4-Mar-13 23:49
professionalKeith Barrow4-Mar-13 23:49 
QuestionHow to capture url of the selected browser? Pin
micman4-Mar-13 6:37
micman4-Mar-13 6:37 
AnswerRe: How to capture url of the selected browser? Pin
Dave Kreskowiak4-Mar-13 8:20
mveDave Kreskowiak4-Mar-13 8:20 
QuestionTab strip control Pin
Jagatpreet4-Mar-13 6:00
Jagatpreet4-Mar-13 6:00 
AnswerRe: Tab strip control Pin
Abhinav S4-Mar-13 6:12
Abhinav S4-Mar-13 6:12 
AnswerRe: Tab strip control Pin
Eddy Vluggen4-Mar-13 8:46
professionalEddy Vluggen4-Mar-13 8:46 
QuestionC++ or C#.. !!!!! Pin
Usman Hunjra4-Mar-13 5:22
Usman Hunjra4-Mar-13 5:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.