We are going to use TypeScript in our product, so imagine my disappointment when I realized that IntelliSense is not working for TypeScript files in Visual Studio 2012, despite it should.
I have tried everything I could – played with VS settings, uninstalled and reinstalled TypeScript, ReSharper, whole Visual Studio… Nothing. Finally, I had to reset my Windows and start from scratch. After two full days completely wasted trying to get IntelliSense working, I finally got to the magic point of having fresh Windows, Visual Studio, and TypeScript. Started it all up, and bang – no IntelliSense again! After pulling some hair out, and crying quietly in the corner, I started second round of uninstalling and installing TypeScript, including older version 0.8.2, Web Essentials, resetting VS settings, etc. Same result. Finally I checked my Visual Studio plugins, and, to my surprise, spotted MySQL Tools for Visual Studio extension, despite I did not want to install it in the first place when MySQL was installed earlier. Removed this plugin, and voila, TypeScript IntelliSense at its best!
What is strange, I have tried to install MySQL server and its Connector/.NET at home (although a newer version 220.127.116.11 package), and surely got the unwelcome MySQL Tools for Visual Studio extension with them. But! The TypeScript IntelliSense works nevertheless, despite a completely different picture was observed at work twice. Go figure.
So, if TypeScript’s IntelliSense is not working, I would recommend to remove all extensions, starting from those more exotic (e.g. MySQL, and those less used by wide population) – it might actually repair the thing.
Just have found f.lux – a Windows, Mac, Linux, and iPhone/iPad software that automatically changes your computer screen colors and brightness based on the time of day. To make long story short, there seems to be some evidence now that LCD/LED displays are too bright in the evening/night, and this is causing sleep difficulties (eyes and thus brain are treating this bright light as a sun light, so they refuse to sleep). Will try it definitely.
I have all auto sync categories (i.e. folders, photos, and videos) off in settings, but SugarSync Android app periodically wakes the tablet up for syncing, despite there is nothing to sync. The interval of these wake ups is the one specified in the auto sync settings (which are disabled, i.e. grayed out).
This results in unnecessary battery drain (my setting for the period was 1 hour, and it “ate” about 10% of battery overnight).
I have switched the syncing interval to 24 hours, so I will see in the evening if it alleviated the issue as a temporary workaround. The real fix must be done in the SugarSync app – to stop waking up when auto sync is off. Reported this to SugarSync, let’s see what will happen.
Scott Hanselman said it all.
Just installed the Windows Phone 8 SDK and got disappointed when running the sample app on the phone emulator failed with the following cryptic message:
The Windows Phone Emulator wasn’t able to create the virtual machine. Something happened while creating a switch: Xde couldn’t find an IPv4 address for the host machine.
Some people suggested that the problem might be related to the VirtualBox being installed on the machine (I had it). Uninstalling VirtualBox helped, although it is a bit annoying, as I need VirtualBox to access my work VPN.
The Async Targeting Pack for Visual Studio 2012 (distributed as a NuGet package) enables .NET Framework 4.0 and Silverlight 5 projects to use the async language feature in C# 5 and Visual Basic 11. Of course, it has some limitations, and behavior is not always the same as in .NET 4.5, but it seems to be a nice way to get the async feature into older projects.
Scott Hanselman also expresses his view about TypeScript in Why does TypeScript have to be the answer to anything?. The article has some explanations, and references some extra tools, e.g. Web Essentials 2012 VS2012 plugin that, among many other cool things, improves TypeScript support in the VS2012.
Microsoft Message Analyzer (currently in Beta) has been released to the public. It is a smart successor to the Microsoft Network Monitor that hosts lots of cool new features, like parsing and validation of protocol messages and sequences, user-controlled on-the-fly grouping by message attributes, re-assembly of- and rendering of payloads, etc. It has also a separate blog at Technet.
Just bumped into the Introducing Testing Domain – localtest.me article, and I think it is quite cool indeed. The long story short: the localtest.me domain and all *.localtest.me point to 127.0.0.1, so there is no need to modify hosts file with fake names pointing to localhost in the testing environment to test networked/web applications with “real” internet names.
Microsoft rather quietly has released PerfView – “a performance analysis tool focusing on ETW information (ETL files) as well as CLR memory information (heap dumps). It can collect and view ETL files as well as XPERF CSV files. Powerful grouping operators allow you to understand performance profiles in ways other tools can’t. PerfView is used internally at Microsoft by a number of teams and is the primary performance investigation tool on the .NET Runtime team.” Found it by accident, while reading an article about performance improvements in Visual Studio 2010 that mentioned Publication of the PerfView performance analysis tool!
It is in a functionality way related to the CLR Profiler that “allows developers to see the allocation profile of their managed applications.” Both tools are useful in optimizing memory usage, except that PerfView is supporting also native and mixed applications.
From the ShutdownGuard‘s site:
ShutdownGuard tries to prevents applications to shutdown, reboot or log off your computer. When it prevents a shutdown in Windows XP, it will pop up in the tray and ask you if you want to continue. In Vista and Windows 7, you will see another dialog. Note that ShutdownGuard will not be able to prevent all shutdowns, since some programs explicitly tells Windows to force the shutdown. This means some programs will still be able to shutdown your computer!
In essence, it will prevent e.g. automatic reboots of Windows after updates – these auto-reboots might be quite annoying if you e.g. had something important running overnight, and then in the morning you realize that your computer was rebooted in the middle of the process.
redgate‘s decision to start charging for their Reflector .NET decompiler sent ripples through the .NET development community. Personally, while I do not think that the 25-69 EUR price is outrageous, I must agree with many people – redgate promised to keep Reflector free after the acquisition.
But, whatever happens, happens for the best. New decompilers started appearing like mushrooms after the rain, and JetBrains, the famous maker of e.g. ReSharper and TeamCity, came with its own free dotPeek decompiler, which is in the EAP or Early Access Program stage now. Knowing and using JetBrains’ products, I believe that dotPeek has all chances to become the de-facto standard for a .NET decompiler eventually, so I will keep an eye on it.
Recently I received one PDF document with huge margins – the text itself was located in the middle of the page and its size was about 1/3 of the page. As you can imagine, reading it on-screen is really painful; also you cannot print only part of the page in Acrobat reader, which is IMHO a big omission on the Adobe’s side. Well, I thought that cropping the page would really solve the trouble, but it took me rather much time to find something affordable, simple, and inexpensive (maybe even free – who knows?) – A-PDF Page Crop. You can crop pages both visually in editor, or from command line (useful only if you have lots of similar documents; I was not trying that option) – and it does its job well. Trial version puts its mark on the front page, and that can be removed by getting a licensed version. Nothing more to say – the tool does what it is made for. That company also has many other PDF-related utilities.
Microsoft has published on their support site interesting article Virus scanning recommendations for Enterprise computers that are running currently supported versions of Windows. It applies to the systems that experience slow-downs or instability when using virus scanning software (whatever the vendor), and proposes a solution (temporary solution?) for the issue.
Would never believe this, if it would not come from Mark Russinovich:
NewSID has been retired and is no longer available for download. Please see Mark Russinovich’s blog post: NewSID Retirement and the Machine SID Duplication Myth
Sounds fantastic, isn’t it? :) I wonder, if one should use reseal on Windows Embedded images in light of this information: reseal is renaming machine (can be done other way), resets some settings, e.g. mount points (can be done other way), and changes SIDs (which seems obsolete if you are not in domain)…
I did not actively search for the subject, but once I bumped into a three-part article about the MSBuild script debugging (Part I, Part II, Part III) on The Visual Studio Blog I immediately though that it is worth remembering about it when (I am not saying if, but rather when here) I need it in the future. The blog itself is also worth checking, as there is much information about VS IDE, MSBuild, and extensibility from the Visual Studio development team.
Most likely everyone experienced this on his own skin: you try to delete a file or folder, but cannot, because Windows says that it is in use, despite you cannot figure out which application is doing that, so reboot is the only way to “fix” it. OpenedFilesView and Unlocker are two simple utilities that can help in such situation.
BlueScreenView scans minidump files created during BSOD crashes, and displays the information about all crashes in one table. For each crash, BlueScreenView displays the minidump filename, the date/time of the crash, the basic crash information displayed in the blue screen, and the details of the driver or module that possibly caused the crash. Seems to be nice utility for troubleshooting.
SIW is a free Windows tool (there is commercial version as well) that gathers detailed information about your system and displays it in a comprehensible manner. Information includes software inventory (OS, installed software and hotfixes, processes, services, users, open files, etc.), hardware inventory (motherboard, CPU, all kinds of sensors, BIOS, chipset, devices, S.M.A.R.T., etc.), network onformation(NICs, shares, etc.), and some nice tools. On top of this, it is a standalone utility that does not require installation.
Mmmmm… I don’t know what kind of daemon possessed Microsoft usability engineers when they were designing Visual Studio 2010 help system, but something definitely went very-very-very wrong. :( What’s wrong, you might ask?
- It opens in a web browser, which kind of sucks as it breaks my normal work-flow (I have to track help tabs in browser, and then close them, and if I open some new tabs, then help is not in place I expect it, etc. etc. etc.)
- It’s content tree (the thing on the left side) is not really a tree anymore – it just shows top-level hierarchy and then also “path” to current topic. No more, no less. And if you need to go to some other topic, you will immediately lose track of previous topic. So, if you want to “browse around” the documentation – tough luck. What’s even more ugly is that the online help can be at least configured to show full content tree, but offline help won’t allow you any customizations.
- There is no index. Full stop. Yes, yes – N-O—I-N-D-E-X. They say that there is search, but try to find some API related to paths and that you vaguely remember exists and has name PathBlaBlaBla (where BlaBlaBla is some meaningful name) and you will see that the search is as useless as it can only get.
Conclusion: new help system is VS2010 is light years behind that of VS2008 or VS2005.
Can something be done about it? There are at least two partial solutions:
- Microsoft Help Viewer Power Tool – simply adds keyword index capability to the Help Viewer, with an option to display help in a standalone window.
- Help 3 Viewer goes much further: it shows VS 2010 help in a traditional help viewer (similar to “old” DExplore) with full TOC and Index, and features multiple document tabs. There are other features too, and it can be set as default VS2010 help viewer.
I hope that these tools will help you with your help experience :) .
In VS2010, when the Data Sources Window is used to generate the UI, the generated XAML injects design-time information so that the Binding Builder can be used to create bindings for the UI controls. But if your application was written in Visual Studio 2005 or 2008, or you used the XAML Editor, the Designer or Expression Blend without the Data Sources Window, your coding style is to assign the DataContext in code and not data bind to CollectionViewSources in your XAML, then you won’t be able to take advantage of the new Binding Builder. How to Enable Using the Binding Builder in WPF and Silverlight Applications by Karl Shifflett to the rescue – it demonstrates the simple requirements to enable you to use the new Binding Builder in a variety of scenarios like the ones mentioned above.