Author: John Rah

Using Remote Debugging On Another PC

If you’re developing a multi user app or just want to try your app out on another PC you can use Visual Studios remote debugging feature. You don’t even need to have Visual Studio set up on the remote PC for this to work. There’s a few things that need to be done so let’s get stuck in. Remote Tools For Visual Studio Before you do anything you are going to need to find the right remote tools for your version of Visual Studio. Head on over to https://www.visualstudio.com/downloads/ and download Remote Tools for Visual Studio. Note: If you are...

Read More

Intellisense and code suggestion has stopped working in Visual Studio

Sometimes the auto complete, code suggestion feature called Intellisense in Visual Studio will just stop working for no reason. It’s very easy to get it back on track though without having to restart Visual Studio or your PC. Click on the Tools menu and select Options Select Text Editor -> Languages -> General Untick Auto list members Untick Parameter Information Now re-tick Auto list members Lastly re-tick Parameter Information and click on OK Rarely, you might find that just one document isn’t working while others still are.  Try closing all documents and then re-opening the one that wasn’t to...

Read More

Anti-virus and Performance

As I recently discovered, your anti-virus real time protection can cause all sorts of issues with Visual Studio. This my guide on how to set up your environment for less hassles and the added side effect of a faster visual studio environment. Exclude your project folders from real time protection If you are super organised and keep all of you projects under a master folder then is an easy tip, otherwise you are going to need to add each project folder to your exclusion list in your Anti-Virus Software. It’s okay to allow your scheduled virus scans to scan...

Read More

Cannot build using Release configuration

So you’ve been working hard away developing your app. Everything works fine when you compile using Debug and then you go to compile in Release and it all goes wrong. The compiler takes a very long time to do anything and then comes back with some cryptic errors like the following: STARTPROCESSTASK : error : Out of Memory \ilc\IlcInternals.targets(1192,5): error : Internal Compiler Error nutc_driver.exe returned exit code 1 So what’s happening here? When you compile for the store your app must use the .NET Native toolchain. This is ticked under your Advanced Compile Options under your App Properties page...

Read More

Notepad++ Tips and Tricks

Notepad++ (https://notepad-plus-plus.org/) is my go to scratch pad for all things.  Not a day goes by when I don’t paste something into it. Here’s some tips and tricks that I use: JSON Formatting When working with data JSON works really well and visual studio has lots of great tools for working with it.  Sometimes though you may have to work with raw JSON and you’re probably getting it as an unformatted string.  Consider this string: [{"FieldName":"Add Plastic Coating","FieldValue":"No Coating Required","ExTaxPrice":0.0,"CustomFieldKey":2,"CustomFieldValueKey":21,"Required":false,"DataType":0,"SelectedKeys":[]},{"FieldName":"Delivery Date","FieldValue":"22/02/2017 12:00:00 AM","ExTaxPrice":0.0,"CustomFieldKey":2,"CustomFieldValueKey":30,"Required":true,"DataType":3,"SelectedKeys":[]},{"FieldName":"Pick Up From City","FieldValue":"Brisbane|","ExTaxPrice":12.0,"CustomFieldKey":2,"CustomFieldValueKey":13,"Required":true,"DataType":4,"SelectedKeys":[44]},{"FieldName":"Embossing Text","FieldValue":"fds","ExTaxPrice":0.0,"CustomFieldKey":2,"CustomFieldValueKey":31,"Required":true,"DataType":1,"SelectedKeys":[]},{"FieldName":"Upgrade Product","FieldValue":"Don't Upgrade","ExTaxPrice":0.0,"CustomFieldKey":2,"CustomFieldValueKey":33,"Required":false,"DataType":0,"SelectedKeys":[]},{"FieldName":"Additional Options","FieldValue":"Add Logo|","ExTaxPrice":10.0,"CustomFieldKey":2,"CustomFieldValueKey":14,"Required":false,"DataType":4,"SelectedKeys":[47]},{"FieldName":"How Long?","FieldValue":"1","ExTaxPrice":0.0,"CustomFieldKey":2,"CustomFieldValueKey":37,"Required":true,"DataType":2,"SelectedKeys":[]}] So you could create a new blank json document...

Read More