Posts Tagged ‘visual studio’

Type the following command from an admin command prompt:

reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SynTP\Parameters\Debug /v DumpKernel /d 00000000 /t REG_DWORD /f

I’ve been having this problem with Visual Studio. Alt-Shift-L is a common shortcut for finding the location of a file in your solution. However, on a Lenovo laptop, pressing that key combo also stores debug log info for the touchpad driver. Pretty annoying, totally useless, and no UI element to turn it off.

Found this helpful article:

A note: Don’t call Lenovo support. My gosh, they transferred me 3 times, each time to the wrong department. Thank heavens for the Internet.

From their forums: https://forums.lenovo.com/t5/ThinkPad-X-Series-Laptops/How-to-disable-touchpad-diagnostics-hotkey-alt-shift-l/td-p/2176730

 

I’m pretty proud of this. Working on the app with the City of Fishers’ support, we’ve brought home a Mira Honorable Mention. After less than a year, we have thousands of users and two six arrests, with hundreds of incidents reported by Fishers residents. Pretty cool. Our team deserves it for all their hard work! Special thanks to Ed Gebhart, Mayor Scott Fadness, Chiefs Mitch Thompson and George Kehl, and the officers and citizens who continue to provide feedback to make this service even better for our community. 🙂

IBJ Article: https://www.techpoint.org/2017/04/mira-awards-winners-2017/

Mira Award Plaques

A little technical detail on the app, for those who are interested:

Platform: Xamarin with Xamarin.Forms, so we only had to write it once to deploy to iOS and Android. Yes, it really works.

Development Window: 18 months. Includes test runs with officers and the community.

Language: C#.

Time to Deploy to Google Play Store: Less than 15 minutes.

Time to Deploy to Approve Apple Developer Account: 3 months. They wouldn’t believe we were the City. Even with a phone call from the Mayor. That was an experience!

Time to Approve App, once we were in: 3 days. They were pretty cool after we were approved. 🙂

 

I know it may be an act of pure sadism, but I see value in having a full development environment available in a package that weighs less than a pound. My Dell Venue 8 Pro runs full Windows 8.1, so why not write code on it? Well, there’s a limitation. I’m chea… err, frugal. So, I bought the 32GB device, on sale for $99 during Microsoft’s “12 Days of Deals” event. After clearing out a lot of space, and after installing all my Windows Store apps, I had just under 6 gigs free. Visual Studio takes roughtly 5.38 gigs for a base install, and more than 7 for a full. I still want to download apps, so using all that precious main storage space isn’t an option.

So, why not use the MicroSD expansion, you say? Great idea! Oh, wait… Visual Studio won’t install on removable media unless it’s Windows To Go certified, which only a handful of USB drives, and no MicroSD cards, can claim privileged membership. What is a developer to do?

Mount Points

It turns out there’s a workaround, but it requires you to “trick” Windows. I want to use that MicroSD and all its 16 gigs of practically unused storage. (Yes, I could have used a 32, but I didn’t have one handy at the time. Anyway…)

Using a feature in NTFS that allows you to permanently point the contents of an empty folder to another drive, in this case the MicroSD, you can install anything you want in that folder, and it won’t affect the available drive space on C:, safely keeping everything in the “remote” storage location. These remote locations are called NTFS Mount Points.

Now, there’s a catch… Even if you have a 32 GB MicroSD, that doesn’t increase your primary drive’s capacity by 32 GB. If your C: drive, in this case, only has 6 gigs free, then that’s what any Windows Installer will see as available. Now, once the installation is underway, it won’t run out of space when installing. However, if you don’t have enough space on C: to install in the first place, it won’t continue. So, before you try this process, make sure you have enough room on the drive for installation as if you were installing without the remote storage location!

Ready? Let’s Go

The entire process is very simple. We’ll start at the Desktop, which you can access on the All Programs menu.

  1. First, make sure you have enough space free on your C: drive, since that’s where Visual Studio will want to install on your tablet.
  2. Open Explorer, go to your C: drive, and create an empty folder. I named mine MicroSD, so I know the contents are on the removable media. You might ask why I simply didn’t redirect my Program Files folder. Here’s the reason: That’s a risky move, and the MicroSD card is slower than the built-in SSD. Also, if the MicroSD fails, I can simply reinstall the non-essential programs in that folder, without affecting all my primary apps and overall tablet usability.

    image

  3. Long-tap This PC in the side panel, and select Manage.

    image

  4. When the Computer Management window appears, tap Disk Management under Storage.
  5. Long-tap your MicroSD card in the list of Volumes on the top, and select Change Drive Letter and Paths.
  6. Tap Add, then tap the option for Mount in the following empty NTFS folder, and select your folder by tapping Browse.

    image

  7. That’s it, now you can install Visual Studio! Simply set the install location to the new folder you created instead of the standard Program Files folder.

A few notes when installing:

  • Remember, this is a tablet with 2 gigs of RAM. Don’t install SQL Server and the like.
  • Don’t run servers on your Venue Pro unless you want to kill the battery. Yeah, it’s Quad Core, but it’s also a low power processor built for on-the-go computing.
  • Visual Studio still installs a lot on your C: drive in the Program Files and Windows folders. It’s a development system, after all. So, be prepared to sacrifice 2-3 gigs of available space there.
  • As you develop, Visual Studio still has its little droppings of temp files. Clean up a bit more often if you’re doing a lot of dev.

What about a keyboard?

That’s what I was thinking… I just ordered the Dell Tablet Wireless Keyboard accessory from Dell’s site. It’s still pending shipping, so once I receive it, I’ll post a review.

I have a link to the accessory in this post.