views:

48

answers:

2

While running some code I am getting a unhanded exception for file not found with no file location or file name specified. If I break I can see the function that the error is being reported from. I can reach break points before where that function is called but can't enter into the function with out the exception being thrown. The function is in the same class and C# code file. There were issues with references to other projects in the past with this project. Could it an issue of scope or delayed loading because of calls made from with in the function?

Visual Studio 2008, C#

Any ideas welcome, Answers wanted.

A: 

look to see if fuslogvw is complaining about any missing assemblies

pm100
+1  A: 

You could try using Procmon from Sysinternals. It can give you loads of useful information about a running process, including all file access attemps.

Matt Warren
I've seen this many times when an unmanaged dependency is missing. When will microsoft fill in the file exception info properly?
morechilli