Recently, when I opened a Xamarin project in Visual Studio, I received a message that an update for Xamarin for Visual Studio was available. The Xamarin icon appears in my SysTray, but clicking on it does nothing. Really? (more…)
- A Portable Library that you reference from the test runner for each platform, or
- A Shared Project with your tests referenced from the platform specific test runners.
I prefer the Shared Project approach because it also allows you to run your tests from within Visual Studio by also creating a .NET 4.5.x test project. As of NUnit 3.0.1, you cannot run tests that use the portable version of the NUnit Framework from the console or within Visual Studio, so the .NET 4.5.x test project gets around that limitation. (more…)
Update: I have updated this post for 2017 here, I recommend that you read that instead.
I am developing a Xamarin application that displays maps. On Android, the map control requires that Google Play Services is installed, but most emulator images do include them. I mainly develop on Windows, so I have been using the great Visual Studio Emulator for Android. I prefer it because it is fast and uses Hyper-V. Other emulators like Xamarin’s or GenyMotion use VirtualBox under the covers which doesn’t work if you have Hyper-V enabled and I have had networking problems when it is installed and my laptop resumes from sleep.
Xamarin has a great article on how to install Google Play Services on their emulators, but it doesn’t work with the Visual Studio Emulator. I then found the solution on StackOverflow written Vijay Sargunam. His solution worked perfectly, but was missing a few steps, so the following are my modifications to his work. (more…)
I couldn’t find an updated version of the cheat sheet for Visual Studio 2015, so I updated it myself with the new keybindings. I removed the links at the bottom to make more room. There have been several versions of this over the years. Thanks to Phil Price for the version I based this on.
If I missed your favorite new shortcut, make sure to let me know in the comments to I can update the cheat sheet.
I just released an Alpha release of my Visual Studio extension for working with issues on GitHub.
It allows you to access and manage GitHub issues for repositories that you have commit access to. You can filter and view issues for a repository, edit issues, add comments and close issue. This is the first Alpha release, more features are coming.
The easiest way to download is by going to Tools | Extensions in Visual Studio and searching for the GitHub Extension. It is also available in the Visual Studio Gallery and in the GitHub Releases for the project.
- To view a list of open issues, go to View | Other Windows | GitHub Issue List (Ctrl+W, Ctrl+G)
- Log in to GitHub by clicking the logon icon at the upper right of the issue list window
- Open the issue window by double clicking an issue in the list, or by going to View | Other Windows | GitHub Issue Window (Ctrl+W, Ctrl+H)
- Add a new issue to the selected repository with the + button in the issue list, or from Tools | New Issue on GitHub (Ctrl+W, Ctrl+I)
- Edit an issue with the edit button on the Issue window
- Add comments to, or close and issue with the comment button on the issue window