Visual studio 2015 build error - visual-studio

I have come across a wierd vis studio error which only had one other question I could find that is Similar.
When I try to debug the code I hit run and it says there are errors would I like to run the last working version to which I say no. This then comes up with 91 errors which slowly disappear until there are none left.
This may be quite hard to understand what is actually going on, so I have recorded it to make things a bit easier.
Link to video
I have no idea what is going on and cant seem to find anything other than that other question, which the guy did solve but the next day he turned on his computer the same thing happened, I don't want to be fixing this everyday.
Any Suggestions would be great!
Thanks

All fixed now, I still have no idea what was wrong with it. I just deleted it all and pulled it back down from TFS and it worked, it is a bit of a strange one.

Related

How to default Visual Studio 2019 Script Documents to minimized?

I'm using Visual Studio 2019 and I'm debugging an angular spa app. The problem is that the 'Script Documents' section in the Solution Explorer that appears when you are debugging is really annoying.
I know why this is here and why it is sometimes useful, but 99% of the time I want to hide it.
The JavaScript debugging is working fine and I do not want to turn it off. I just want Script Documents to remain closed.
This problem is made worse when my angular app keeps rebuilding as I make changes. If I close Script Documents, it just re-opens when the app rebuilds. There has to be a way to hide it.
I've seen similar questions before but I haven't seen any clear answers.
So I have not yet figured out a way to do it. It was an issue in VS going back many versions and remains an issue today.
The work around I went with is the same one suggested in 2014 for VS2013, which is to right click on the project in VS that you are most interested in and click Scope to This.
This is a crappy solution but it works if you are having the problem, but you can't easily get back to the other projects in your solution.
https://stackoverflow.com/a/24116987/95041
As #Cory pointed out, there is a feature request. If this problem is affecting you, please upvote so it gets fixed.
https://developercommunity.visualstudio.com/idea/351537/provide-a-way-to-prevent-the-script-documents-fold.html

Xamarin Forms Universal Windows Platform app blocked by AppLocker

There is a question here about this already (though,short of re-installing Windows, which I'm obviously trying to avoid, the other solutions don't work for me), but I have some research to add, and a possible solution... which I don't understand, but perhaps someone here is able to shed light on how to implement it? I'm using Visual Studio 2015 Community on Windows 10 Pro x-64 with Anniversary Update (and latest cumulative update).
There is a possible work-around - details at https://social.technet.microsoft.com/Forums/windows/en-US/2f51398c-cef2-4686-9505-904d3f71ef6d/windows-10-applocker-packaged-app-white-list-blocks-store?forum=win10itprogeneral - where the resolution is to allow all Windows App Store apps, however no steps are given, so I don't know how to do that.
There is a relevant hot fix at https://support.microsoft.com/en-gb/kb/2719305, however that is targetting an older version of Windows, so I'm not sure of the repercussions of trying that. I'm leaving that as my last resort short of re-installing.
And finally, there is re-installing, as per the other thread on here, as the Anniversary Update is considered the suspect (and I'm past the rollback window). I already had the AU when I first tried UWP, so I never had it working to begin with to know if this is the culprit or not. I have never touched applocker myself (had never heard of it) - I have this problem out of the box.
Apart from the time involved, I don't want to re-install as there has been mixed success with it - for one person it fixed it, for another it fixed it initially but the problem came back. I am trying to get a permanent fix (and only re-install if I can't find one).
Anyone know a permanent fix for this? Or how to implement the first suggestion? Or implications of the second?
P.S. for the sake of completeness (and to pre-emptively answer this question), one of the things I already tried is the MS trouble-shooter for this issue (I think I found this one on MSDN from memory). It suggested using my MS login instead of my local user, and to change the temp environment variables back to default (I had them pointing to RAMdisk), but doing those things failed to fix the issue.
Well, I ended up re-installing Windows, having corrupted it along the way, and that ended up fixing the issue. I found along the way that the problem actually stops ALL apps from the store installing (I never did find out how to implement the store fix I mentioned in my question), and that provides a quick way to see if the problem is fixed (rather than trying to build/deploy your UWP app each time you think you've fixed it, just try installing a store app).
I did find something that MAY be a solution, at https://answers.microsoft.com/en-us/windows/forum/windows_8-winapps/this-app-wasnt-installed-error-0x80073cf9/92ec7c44-51ef-4c6a-9331-22958e01b4ec?page=1, which relates to how to recover from a corrupted user profile (I'm not being allowed to upload a snapshot of the relevant reply due to still being relatively new here. Sigh) - which I now believe to have been the cause - however I didn't get to try it out as I'd already corrupted Windows at that point. Note that none of the other solutions in that thread worked for me, so I would start with this one first, as the other solutions only worked for some people. If you have this problem then I would try that first before re-installing.
P.S. at one point it looked like the Anniversary Update may have caused the problem, however after I re-installed I tried before applying the AU, and then again with the AU, and it kept working afterwards,so that was NOT the culprit. It was the user profile/Windows being corrupt.

Code::Blocks started delaying the console output

First of all I'd like to say hello to the community, I'm quite new to programming and this community overall, and I'm just learning programming cause I find it interesting. Lately, I've stumbled upon an issue.
This hasn't happened before and I did not change a single setting in Code::Blocks. Whenever I compile and run (F9), the console text shows up only after about 2-3 seconds. This delay is really annoying and I'm unsure what could be the cause. It doesn't matter how long the code is or what I'm compiling and running, as this happens equally from a simple Hello World! program to something of 80 lines. This is not a very big issue but it is quite irritating and I'd like to know if this has happened to others or if I can follow some suggestions.
Thanks!
Ah, nevermind. This issue was due to my antivirus for some reason (Using Panda Antivirus). Whenever I stop it, the problem doesn't happen for some reason. I'll need to look into this.

File versions vanish without a trace

We've started work on a project using c9 and are generally very pleased with the level of the product.
However, Over the past few days I have repeatedly experienced the loss of huge amounts of work I did.
For example: I have done work on a file at home, then went in the morning to the office and continued seamlessly - after that, I returned home and experienced the following issue: The preview of the project reflected the work I had done, but the file in the IDE did not. Furthermore, the file history indicated that I indeed worked and saved files, but the history itself did not contain the changes. CLosing the file and re-opening it, or dealing with it in any way caused the site preview to revert as well, and all the work seems to be permanently lost with no trace I ever did it.
This, in addition to being extremely frustrating, also raises a red flag as to the ability of c9 to act as an IDE in any kind of actual production scenario.
If there's anything you can say to me, please do, because I really like the idea, interface and functionality. Otherwise, bye-bye, I'm going back to the old ways.
Thanks for the report, and sorry to hear about these issues you encountered. We did run into a regression this week that could cause such behavior in rare cases. We're releasing a fix for this issue later today! We take such issues very seriously, and we made sure it cannot happen again.
Should you run into problems like this, please contact our Support department at https://support.c9.io directly, as we keep very granular levels of backups and we can easily restore any work you may have lost. StackOverflow is generally better suited for development-related questions.
Hope this helps!
Best,
Ivar

Visual Studio 2005 - Projects disappearing

Hmmm, a new odd issue that has just started. Every now and then VS drops a whole bunch of projects from the solution. It will say at the top of Solution explorer "42 projects" when it is displaying only about 20 or so. Closing VS and re-opening it fixes this, although it is a bit of a pain as it takes a little while for the .sln to open again.
We run VS2005 and mainly work on a 42 project solution targetting the Compact Framework 2.00. I'm pretty much the only one using Resharper here (despite my recommendations to others and their occasional oOoing and ahhing at its beauty) so i use CTRL+T to find classes but when i've been hitting SHFT + ALT + L to select the item in the solution explorer (to view the history in TFS) it hasn't matched anything which is how i've noticed this issue.
Anyone experienced this before?
Though this doesn't address your problem directly, have you considered breaking it up into multiple solutions? I'd imagine VS chokes when it starts to get that large, and you're probably working in an un-tested (though not un-supported, I suppose) situation, since I doubt the MS testers created a solution holding 40 projects, all targeting CF.NET.
If you can break it up, that's what I'd advise, and I'll bet the problem goes away. Also, have you tried installing the Service Pack for VS? If not, here it is.
Well this question is super old now and according to my old self:
I think I just rebooted or something and I haven't seen the issue again.
This seems to be about as close as we'll ever get to a solution so I'll set this as the accepted answer for now.

Resources