NCrunch (which is wonderful) has starting throwing errors since I updated it to the latest version this morning.
So everything was working perfectly prior to the upgrade (which it prompted me to do).
Since updating and restarting the machine I am now getting the following and similar messages :-
System.IO.FileNotFoundException : Could not load file or assembly 'file:///C:\Users\xxxx\AppData\Local\NCrunch\24252\11_ncrunchreferences\System.Net.Http.dll' or one of its dependencies. The system cannot find the file specified.
at UnitTests.xxx.nnn.com.Controllers.Application.GetTests.WhenTheManagerCallFails()
However, my NUnit tests still pass, so its just affecting NCrunch? any ideas I have looked in the forum, and on SO and not found any clues... anybody have any advice?
Related
How do I fix the issue "The python version in runtime is different from the build time".
When I try to run the obfuscated file present in a folder I am getting this error.
Please help me with this!!
According to this:
https://pyarmor.readthedocs.io/en/latest/questions.html
You are probably running Pyarmor (building your obfuscated code) with a different version than the environment where the app is running. Find out the version that runs the app and try to run Pyarmor with the same version, for example by creating an environment with that version.
Im having a very annoying issue with qtcreator and cmake projects: qtcreator fails to find the executable. It just prints "No executable specified" when trying to launch any executable from the IDE. Everything works fine after configuring the project (first time only). The issue manifests when loading the project afterwards. Only workaround is deleting the "CMakeLists.txt.user" before every use. This is tedious and unnecessary.
This is happening to projects that were running just fine for years, both my own and my colleagues, on multiple machines running ubuntu 14.04 & 14.10. Problems started with qtcreator version 3 and higher from ubuntu 14.04 upwards.
Assuming that the issue is triggered by some changes in the "CMakeLists.txt.user", after the project is closed the first time, I replaced the file with a copy of it right after it was created the first time. This worked, thus confirming that there is either something wrong with the file itself, or changes to it trigger an existing bug in qt-creator. Unfortunately it is just as tedious as deleting the file in the first place.
My Challenge:
Unfortunately I am not familiar with the inner workings of qtcreaor, however I managed to identify the specific config lines that are responsible. What does qtcreator actually change here?
Please note that "racoon" is the project name and the above diff screenshot is much larger than formatted by stackoverflow (right-click to view full resolution).
Thank you.
i had exactly the same problem using Ubuntu 14.10 and resolved it by doing the following:
Get ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/a/an/anthonos/mirror/os3-next/os3-rpm/q/qtcreator-3.1.2-0.x86_64.rpm
Extract the file /usr/lib/qtcreator/plugins/QtProject/libCMakeProjectManager.so
Overwrite this file at
/usr/lib/x86_64-linux-gnu/qtcreator/plugins/ ( at least on x64)
in your system
This will replace the cmake plugin which is currently version 3.1.1 with 3.1.2 which will make the problem disappear !
I installed qtcreator using Qt's own installer instead of the one provided by Ubuntu. It installs version 5.3.1 and fixes the problem.
Somewhere along the line in the last week, Xamarin on my Windows machine started giving the above mentioned error any time I compile with MONO.
Specifically occurs when Project|Active Runtime is MONO - never happens when runtime is Microsoft.NET.
I've tried uninstalling/reinstalling MONO runtime (mono-3.2.3-gtksharp-2.12.11-win32-0.exe)
Any clues? Google searches come up with pretty much nothing
I get the same error today, (after an update yesterday to 4.2.4 Build 35) There is a bugfix here
Build works fine on another PC without the latest update (4.2.3 build 59). I guess the answer is to roll back to 4.2.3.
You can get it from your account page at Xamarin.com >> Downloads >> View all versions.
The solution from here says that you should either uncheck the box "Use MsBuild" in project settings or use .NET for building but then run with Mono if you want to test runtime compatibility.
I'm using the Sonar Eclipse plugin v3.3.
After I've fixed a rule violation, not a new issue, but one that exists on the sonar server, I re-run the analysis on my project in Eclipse. I expected that the fixed issues would no longer be flagged by the analysis, but they appear to be still flagged even though they have been fixed.
In my Eclipse SonarQube preferences I have the severity marked as warning and Force full preview... unchecked.
In the view options I have Show->All Issues on Selection checked.
How do I set up the plugin so that once I've fixed the issue locally, the issue is no longer flagged when I re-run the analysis on my project?
Edit:
Full analysis is run nightly by a conditional build step in Jenkins using SonarQube Runner.
When I run the analysis via Eclipse, the first thing it does is wipe out the existing issue annotations, but then as soon as it contacts the server it immediately adds them back in. The issues stay flagged regardless of whether they were fixed locally or not.
If I intentionally put in the wrong projectKey in the org.sonar.ide.eclipse.core.prefs file, then the local analysis runs similar to what I would expect. It flags all existing issues as new, which is expected, since it can't reach the server to ask if they were preexisting. It doesn't flag any fixed issues.
The problem was that I was using 3.7.3 on the server and not 4.0 or above. I upgraded the server install to 4.1 and all is well now.
BTW - The Sonar console output clearly stated :
SonarQube version 4.0 is required to perform local analysis.
I have got nunit-console.exe in 2 locations on my machine. First is where I installed it (c:\program files (x86)\nunit 2.5.10) and second is where I have copied it into (d:\tests\nunit). I am required to work with the copied version.
I am trying to run a test from a test assembly and I get strange results. When I try to invoke the installed version, the test runs fine. But, when I try to invoke the copied version, the tests dont run. The copied version was initally throwing the NUnit components for version 4.0.30319 of the CLR are not installed error and I followed the solution for this question to fix it. But, now the tests (which include BizUnit 2010 maps and schemas) fail with an error which I am unable to fix.
The strange this is, if I invoke the installed version, all runs smooth. I am not required to do any config changes and tests pass ok.
I tried to use the /domain=None option of nunit-console.exe, the tests pass. But, I dont want to use it.
Please can someone help? What am I missing?
I am running on Win 2008R2 with .NET version 4 and NUnit version 2.5.10
Thanks
I've had the same problem. In my case it was because the path where I had copied nunit included a # letter. I renamed the folder and it worked flawlessly.
I got the answer from here:
https://groups.google.com/forum/#!topic/nunit-discuss/bc73uuP-Lbw