Click here to Skip to main content
14,301,827 members

.NET Framework

 
AnswerRe: Loading dll and resources from wrong folder Pin
Alan N21-Jan-13 5:12
memberAlan N21-Jan-13 5:12 
GeneralRe: Loading dll and resources from wrong folder Pin
Eddy Vluggen21-Jan-13 5:29
mveEddy Vluggen21-Jan-13 5:29 
GeneralRe: Loading dll and resources from wrong folder Pin
marca29221-Jan-13 21:30
membermarca29221-Jan-13 21:30 
QuestionSystem.Runtime.InteropServices.COMException Pin
AnneThorne20-Jan-13 13:43
memberAnneThorne20-Jan-13 13:43 
AnswerRe: System.Runtime.InteropServices.COMException Pin
AnneThorne20-Jan-13 17:38
memberAnneThorne20-Jan-13 17:38 
QuestionMS XSLT .NET Extension Function NameSpaces Pin
dshcs20-Jan-13 2:06
memberdshcs20-Jan-13 2:06 
AnswerRe: MS XSLT .NET Extension Function NameSpaces Pin
dshcs21-Jan-13 9:48
memberdshcs21-Jan-13 9:48 
QuestionInconsistent Test Results Pin
AnalogNerd18-Jan-13 5:21
memberAnalogNerd18-Jan-13 5:21 
I'm pulling my hair out over this one.

If I run all the tests in my solution 13 fail.

When my automated build runs on the build server all of the tests pass.

If I run one of the failed tests by right clicking inside the test (Visual Studio 2010) and clicking "Runs Tests" it fails.

If I run the same test using the little circle in the left gutter from ReSharper it passes.

This leads me to believe it has something to do with the Host type? But I am not sure.

The failure in the test has to do with a Method Not Found exception. The class under test, ClassA, inherits from ClassB (from a referenced assembly). Class B has a method on it that is being called in the code, and when the tests fail they do so because the method cannot be found.

Does anyone have any ideas about what might be causing this or how I can fix it?

EDIT: As it turns out MSTest is not copying the right version of my assembly to the Out folder, which would make sense why it can't find the method. The correct version is referenced in the Test project, not sure why it is hanging on to the old version, or where it's getting it from.

modified 18-Jan-13 11:44am.

AnswerRe: Inconsistent Test Results Pin
AnalogNerd18-Jan-13 5:55
memberAnalogNerd18-Jan-13 5:55 
QuestionHow can I learn about under the hood of .NET? Pin
atoi_powered16-Jan-13 22:40
memberatoi_powered16-Jan-13 22:40 
AnswerRe: How can I learn about under the hood of .NET? Pin
Pete O'Hanlon16-Jan-13 23:08
protectorPete O'Hanlon16-Jan-13 23:08 
GeneralRe: How can I learn about under the hood of .NET? Pin
atoi_powered17-Jan-13 0:55
memberatoi_powered17-Jan-13 0:55 
GeneralRe: How can I learn about under the hood of .NET? Pin
Pete O'Hanlon17-Jan-13 1:02
protectorPete O'Hanlon17-Jan-13 1:02 
AnswerRe: How can I learn about under the hood of .NET? Pin
savbace16-Jan-13 23:58
membersavbace16-Jan-13 23:58 
GeneralRe: How can I learn about under the hood of .NET? Pin
atoi_powered17-Jan-13 0:58
memberatoi_powered17-Jan-13 0:58 
AnswerRe: How can I learn about under the hood of .NET? Pin
Jonathan C Dickinson17-Jan-13 3:16
memberJonathan C Dickinson17-Jan-13 3:16 
GeneralRe: How can I learn about under the hood of .NET? Pin
atoi_powered17-Jan-13 13:05
memberatoi_powered17-Jan-13 13:05 
AnswerRe: How can I learn about under the hood of .NET? Pin
Abhinav S17-Jan-13 17:12
memberAbhinav S17-Jan-13 17:12 
AnswerRe: How can I learn about under the hood of .NET? Pin
Rahul Rajat Singh21-Jan-13 1:09
mvaRahul Rajat Singh21-Jan-13 1:09 
AnswerRe: How can I learn about under the hood of .NET? Pin
Eddy Vluggen21-Jan-13 13:39
mveEddy Vluggen21-Jan-13 13:39 
Questiona question about how .NET apps dealing with filesystem failing Pin
alexyxj15-Jan-13 22:07
memberalexyxj15-Jan-13 22:07 
AnswerRe: a question about how .NET apps dealing with filesystem failing Pin
Richard MacCutchan15-Jan-13 22:40
protectorRichard MacCutchan15-Jan-13 22:40 
GeneralRe: a question about how .NET apps dealing with filesystem failing Pin
alexyxj15-Jan-13 22:49
memberalexyxj15-Jan-13 22:49 
GeneralRe: a question about how .NET apps dealing with filesystem failing Pin
Richard MacCutchan15-Jan-13 23:33
protectorRichard MacCutchan15-Jan-13 23:33 
GeneralRe: a question about how .NET apps dealing with filesystem failing Pin
Pete O'Hanlon15-Jan-13 23:46
protectorPete O'Hanlon15-Jan-13 23:46 

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.