Forum member
lprichar
41 posts
Posts by lprichar
-
FileNotFoundException UTFResources
I finally got it to work. After comparing our fusion logs I figured maybe I needed more stuff in the GAC. Adding the 10.1 version of UnitTestFramework.dll seemed to do the trick. i.e. C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\ReferenceAssemblies\v4.0>gacutil -i…
13 Jun 2017 04:14 UTC
-
FileNotFoundException UTFResources
So I tried referencing these two nuget packages: MSTest.TestAdapter MSTest.TestFramework But sadly that didn't solve the problem. By the way did you notice the "ReferenceAssemblies/v2.0" in the fusion logs? That doesn't look right to me. That should probably be "v4.0" or "v4.5". Is nC…
10 Jun 2017 13:07 UTC
-
FileNotFoundException UTFResources
Well, that didn't fix it. But the fusion logs have finally made their way into the ncrunch output, which I'll post below. Do you think the problem isn't so much with Microsoft.VisualStudio.QualityTools.UTFResources, but rather with one of the other DLL's? Or perhaps a mismatch of versions between…
08 Jun 2017 14:34 UTC
-
FileNotFoundException UTFResources
Sure, here's the full stack trace: --- System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.UTFResources, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. …
08 Jun 2017 00:35 UTC
-
FileNotFoundException UTFResources
I've tried fiddling with the verison of the UnitTestFramework DLL, no luck. I wouldn't be surprised if it was an environmental issue, but let's find out. Here's a sample project that fails in NCrunch for me: https://www.dropbox.com/sh/1btt41qmsonq6bs/AADmVydla64VruiOkLZbUyMNa?dl=0
07 Jun 2017 12:11 UTC
-
FileNotFoundException UTFResources
Thanks for the quick reply Remco. This is for .NET Framework. I tried adding the reference to some random dll of that name I happened to find in my VS2017 install directory, but same error. My csproj now looks like this: <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFrame…
06 Jun 2017 21:13 UTC
-
FileNotFoundException UTFResources
I'm getting the following: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.UTFResources, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. in a number o…
06 Jun 2017 13:05 UTC
-
IgnoreAttribute in WinRt
Will do. So far so good. Thanks again for your help. Lee
03 Mar 2014 02:05 UTC
-
IgnoreAttribute in WinRt
However, killing explorer.exe and restarting it does seem to fix the error ... for now. I'll report back if I start seeing it again.
02 Mar 2014 16:03 UTC
-
IgnoreAttribute in WinRt
No luck :(. I updated to VS 2013 Update 1. My Windows updates are current. I tried setting "Max number of processing threads" to 1. I'm assuming that's what you meant by "Process pool size" because I couldn't find that setting. I even tried running VS as admin like someone suggested in the thre…
02 Mar 2014 13:24 UTC
-
IgnoreAttribute in WinRt
I've submitted a bug report. I needed to hit Resynchronize several times this morning to reproduce. It doesn't appear to be a multi-threading issue because I set Allow parallel test execution = false. Could the inconsistency be due to the order that NCrunch runs the test? Anyway, I set verbo…
01 Mar 2014 14:23 UTC
-
IgnoreAttribute in WinRt
Ok, not terribly consistent. I reopened the project and it passed. I hit Resynchronize and it passed again. I hit Resynchronize a second time, and then it failed.
01 Mar 2014 06:02 UTC
-
IgnoreAttribute in WinRt
Well, it had been consistent. I just reopened the project and it passed. Then I hit "Resynchronize, rebuild, and and rerun all tests (Reset)" and it started failing again. I'm running NCrunch 2.5.0.7 in Visual Studio 2013 Ultimate Edition.
01 Mar 2014 05:50 UTC
-
IgnoreAttribute in WinRt
Dear NCrunch, If you have the following code in a WinRT project it breaks NCrunch but not MSTest: [AttributeUsage(AttributeTargets.Property)] public class IgnoreAttribute : Attribute { } The results read: "NCrunch was unable to retrieve a meaningful result from this test …
01 Mar 2014 04:57 UTC
-
The system cannot find the file specified
Nicely done Mr Remco. Thank you.
19 Feb 2014 14:01 UTC
-
The system cannot find the file specified
Ok, finally got around to a binary search through the project. The file that is failing is App.xaml. The line of code that is failing is <locators:ViewModelLocator x:Key="Locator" />. That should define a variable that will be available to all xaml pages throughout the app, and it does work in MS…
19 Feb 2014 03:28 UTC
-
The system cannot find the file specified
Good idea, no luck. I tried creating a bran new unit test project with only a single test in it to rule out anything specific to my existing unit test project. It passed. Then I references my main project. It failed. Then I edited the .csproj for the main project to replace all <Content> tags w…
18 Feb 2014 02:26 UTC
-
The system cannot find the file specified
I can only get you another test solution if I knew what the problem was. As I mentioned to find out what the problem is I would need to comment out most of the code in my main project with a binary search until I found the file or files that were failing. That would be extremely time consuming. T…
17 Feb 2014 12:52 UTC
-
The system cannot find the file specified
I removed COR_PROFILER and in the event logs got: .NET Runtime version 4.0.30319.34011 - Loading profiler failed. COR_ENABLE_PROFILING was set properly, but COR_PROFILER was not. COR_PROFILER must be set to the CLSID of the profiler to load. Process ID (decimal): 9264. Message ID: [0x2500]. …
17 Feb 2014 04:02 UTC
-
The system cannot find the file specified
There is a system variable called COR_PROFILER that is set to NCover.ProfilerLauncher. There are other system variables that mention NCover too. The odd thing is I don't have NCover installed (why would I when NCrunch is so awesome). Does NCrunch (or any other popular plugins like Resharper) use …
15 Feb 2014 13:13 UTC