I have just started using NCrunch and have some classes where the markers show there is no coverage, but I have tests which NCrunch is running successfully.
When I edit the class (just add a space) the markers go green for a short while, then return to black. Why might this be?
I had this happen today and just a simple VS restart fixed it. You can also try resync button which is the 6th from the left of the NCrunch Tests window.
I think I had the same problem based on the description. It also appeared to affect coverage stats as well as the visual markers. I was running NCrunch 1.39.15b on VS2010. Re-syncing and reloading VS2010 did not fix it. I eventually uninstalled NCrunch and upgraded to 1.41.0.50 and the problem went away. It might have been a bug in NCrunch, but I'm not sure. At any rate, try upgrading your NCrunch installation and see if that works.
As another option, try to delete NCrunch{SolutionName} folder inside a project, solved an issue for me.
Related
Below is the Xamarin Forms solution but I have witnessed the same in WPF solution too. App.iOS project has blank configurations.
What's worse, you are not able to Add New ones by scrolling down and pressing <New...> - It does nothing. If you try to <Edit...> and remove/rename the blank ones, you get an error "The operation could not be completed".
I would like to remove blank rows, and be able to add new configurations using the <New...> button.
What I've tried:
Cleaning and rebuilding project
Rebooting Visual studio and PC
Tempering with App.iOS.csproj file, no blank data in there, nothing looked wrong to me.
So maybe this will help you. I had the same issue on my solution today and found your post.
I tried messing around with the sln file manually without luck.
My solution:
Since my project was x86 only I ended up clicking the edit in the Active solutions platform: dropdown.
I removed the items x64 and Any CPU. Then I went to each project and checked if it still had those two entries. Some did and I removed them. To my surprise when I then clicked the dropdown for one of the projects that had blank entries they were gone and so was the ones for the second project that had the blank entries too. Hopefully this will work for you.
I've spent the better part of about forty eight hours dealing with this issue. I've read all that is said about it on this forum. (Which isn't much.) And I've read all about it elsewhere. And I still have not found a solution.The problem.
It's simple. My project builds successfully. When I start the debugger, I get the endless blue loading circle. It never launches into the browser.
If you know what the issue is, please do share I would be grateful.
Thanks,
CM
For the record, what worked for me, was running my program in a terminal. Completely bipassed Visual Studio's buggy UI.
I don't know what caused the infinite blue loading circle.
And I don't care.
I'm moving on.
Thanks,
CM
I'm new to Xamarin/Android, and so far it's been a pretty frustrating experience, compounded by code/AXML changes seemingly not being built or deployed to the emulator. I often find that a change I've just made seems to get ignored when I build and run the app.
My suspicions were confirmed when it started throwing an exception on a line in MainActivity.cs that I had commented out. Cleaning and rebuilding didn't help, and in the end deleted the bin and obj folders and uninstalled the app off the emulator for good measure (not sure which of these fixed it though).
Is it just me or is this a common issue? Is there anything I can do to prevent it from happening? I'm using VS2015 Community by the way.
Go to 'Tools/Configuration Manager' and make sure that both 'Build' and 'Deploy' options are checked for 'YourApp.Android' for active solution configuration and active solution platform. Then do 'Clean solution' and 'Rebuild solution', it should always work.
It looks like this is a common issue, as yet unresolved.
One of the comments in the above thread suggested that the problem can occur if you've only changed C# code, and unless you also "touch" one of the xml or axml files then the latest version won't be deployed. This seemed to do the trick in my case but it could have been a coincidence - Xamarin seems to be a temperamental beast, and will randomly fail to build or deploy on occasion, perhaps depending on the wind direction, or colour of my underwear that day.
I'm still in the early stages of learning Xamarin/Android, but if I don't enjoy the experience then I'll be jumping ship to Android Studio (although I'd prefer to stick with C# if I can).
Let's say before I check in, on the team explorer I right click on a file and compare it to workspace/latest version (doesn't really matter which, and the location neither, it's the same thing with code reviews, Changeset details->compare with previous) it will only show the deleted/red lines in the file, although it does show the added (green) parts in the scrollbar.
Have anyone had this problem before? I imagine a reinstall might just work, but I'd like to avoid it, if I can.
If the error is only occurs for your machine. It's more likely related to VS. Usually reinstall vs is the final solution.
You can also try the suggestion as Sachi commented, try to clear TFS and VS cache. This may do the trick.
If it's not work, still suggest you to reinstall VS. Even though this may not be a good solution. After all, it's very likely you have taken a long time to trouble shooting the weird issue and still can't find the root cause.
I'm developing an application on two different machines (home and work) and while the home one seems to run just fine, the work one is, for lack of a better word, possessed. It has been exhibiting the following issues:
When loading the application, it will start at the simulator's main screen instead of starting the application at random intervals. You can start the application and have it work fine, then close the simulator, reload, and have the same codebase not load.
Going to applications doesn't show the application itself, in fact it never does.
Trying to load the applications cod file (File->load java program) never works. Tried the steps in this thread, with unreliable results.
Extremely small changes, such as modifying the value of a width variable by one, commenting out a function such as makeMenu or adding a button will cause code to no longer work, with no errors shown by the IDE.
Using clear.bat with sometimes work, sometimes not. Same with manually removing all files with the name of the project.
reinstalling the eclipse environment and the blackberry plugin did nothing more then burn off an hour.
having "load on startup" in the blackberry_app_descriptor.xml file is set.
Both systems are using Eclipse 3.5.1, BB plugin for eclipse 1.1 beta, Java 4.5 with the 8300 simulator. THe only difference that I am seeing is the operating system between the two systems. The work one being XP Sp3, home being vista. THe vista one isn't perfect, but I can test variable changes without flipping a coin to see if the app will even load or not.
I've tried the solutions that were similar on this forum, such as this one, but it looked to be that those solutions are dated as none of the options for the steps existed in my eclipse install.
So has anyone ran into such baffling behavior, and can it be fixed? Anything that I might have missed that could be tried?
I've been seeing this behavior with the new 1.1 plugin, the application doesn't load on startup and the FIle->load java program doesn't help. For me, the solution was I have to run a clean build every time, that is the eclipse clean and build instead of just build, not the clean.bat... Hope this helps!
Try clearing resources that have improper naming structure in your projects stuff with spaces or special character in the name of the file.
It took me two days to figure out.
One solution i got regarding your problem.
As I See Please run the application first time as Run as blackberry simulator
that is got start and here pick up run and then Run as Blackberry simulator