Still an interesting read: [WayBack] Unit testing frameworks in C#: Comparing XUnit, NUnit and Visual Studio · Raygun Blog
Archive for the ‘.NET’ Category
Unit testing frameworks in C#: Comparing XUnit, NUnit and Visual Studio · Raygun Blog
Posted by jpluimers on 2020/04/23
Posted in .NET, Development, Software Development | Leave a Comment »
Reminder: try to get vscode-restructuredtext to fully work – reStructuredText Language Support in Visual Studio Code
Posted by jpluimers on 2020/04/23
I love Visual Studio Code, but my initial tries to get [WayBack] GitHub – vscode-restructuredtext/vscode-restructuredtext: reStructuredText Language Support in Visual Studio Code to work partially failed: editing works, but I got a non-descriptive error during preview.
All prerequisites are installed, so I needed to pause that for a while.
I still want it, as out of the box, [WayBack] Markdown editing with Visual Studio Code: Markdown Preview works fine, but for complicated documents I tend to use reStructuredText.
Initial steps were simple, as per [WayBack] reStructuredText – Visual Studio Marketplace and editing is awesome (thanks to [WayBack] GitHub – lextm/restructuredtext-antlr: ANTLR Grammar for reStructuredText).
–jeroen
Posted in .NET, Development, Lightweight markup language, reStructuredText, Software Development, Visual Studio and tools, vscode Visual Studio Code | Leave a Comment »
GitHub – JensBorrisholt/GoogleSpeak: This repository demonstrates how to Use Google for implementing Text to Speech. You’ll find both a Delphi version and a C# version
Posted by jpluimers on 2020/04/15
For my link archive, as I will likely need this one day: [WayBack] GitHub – JensBorrisholt/GoogleSpeak: This repository demonstrates how to Use Google for implementing Text to Speech. You’ll find both a Delphi version and a C# version
–jeroen
Posted in .NET, C#, Delphi, Development, Software Development | Leave a Comment »
Version Control in Visual Studio Code: view Git output window
Posted by jpluimers on 2020/03/31
Since the Git output by default is not shown, here is how to enable it:
[WayBack] Version Control in Visual Studio Code: Git output window
You can always peek under the hood to see the Git commands we are using. This is helpful if something strange is happening or if you are just curious. :)
To open the Git output window, run View > Output and select Git from the dropdown.
Or shorter on MacOS:
- Press
Cmd–Shift–P - Type
show git output - Press enter
–jeroen
Posted in .NET, Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management, Visual Studio and tools, vscode Visual Studio Code | Leave a Comment »
MacOS: starting Visual Studio Code from the finder
Posted by jpluimers on 2020/03/26
On MacOS, a long standing wish from many developers has been to open a folder with Visual Studio Code: [WayBack] Mac OS X :: “Open Folder With” VS Code · Issue #1223 · Microsoft/vscode · GitHub.
There are many reasons for wanting this, and other tools can do this too (like Terminal, TextWrangler, Source Tree, Beyond Compare), so I was a bit surprised Visual Studio Code does not have it by default.
After initially being closed, the issue has been open for a while, so I started digging a bit for solutions that are easy to configure or install.
- Based on Automator:
- [WayBack] Add a command to Finder services in Mac OSX to open a folder in VS Code · GitHub
- [WayBack] Create Customize Shortcut in Mac’s Right Click Menu [Guide] – Hongkiat
- [WayBack] Open folder in Visual Studio Code from the Finder
- [WayBack] macos – OSX: how to add a right click option in folder to open the folder with an application like VS Code? – Ask Different
- Based on AppleScript: [WayBack] GitHub – hamxiaoz/open-folder-with-vs-code: A Finder toolbar icon to open current selected file/folder with Visual Studio Code
- Objective C (based on the .m file extension) [WayBack] GitHub – sozercan/OpenInCode: macOS Finder toolbar app to open current folder in Visual Studio Code
The last one is currently on the top of my list, so I copied and installation instructions, and added a few screenshots to explain the already included video below.
Posted in .NET, Development, Software Development, Visual Studio and tools, vscode Visual Studio Code | Leave a Comment »
How to Integrate ILMerge into Visual Studio Build Process to Merge Assemblies? – Stack Overflow
Posted by jpluimers on 2020/03/19
On my research list for Visual Studio 2017 and up: [WayBack] How to Integrate ILMerge into Visual Studio Build Process to Merge Assemblies? – Stack Overflow
–jeroen
Posted in .NET, Development, Software Development, Visual Studio and tools | Leave a Comment »
emulation – How to safely remove/uninstall Android Virtual Device .img files added by Visual Studio Emulator for Android – Stack Overflow
Posted by jpluimers on 2020/02/26
Me at [WayBack] emulation – How to safely remove/uninstall Android Virtual Device .img files added by Visual Studio Emulator for Android – Stack Overflow:
Since after uninstalling the “Visual Studio Emulator for Android” component, you cannot get to the “AVD Manager” any more, you have to manually delete this directory:
%LocalAppData%\Microsoft\VisualStudioEmulatorThis works for both Visual Studio 2017 and Visual Studio 2015.
In addition, you might want to run “AppWiz.cpl“, then remove “Android SDK Tools”, which is also not automatically removed by the Visual Studio installer (at least not in Visual Studio 2015).
This will get rid of the multi-gigabyte folder
%ProgramFiles(x86)%\Android\android-sdk\
- [WayBack] Emulator for Android Apps | Visual Studio
- [WayBack] Visual Studio 2017 Emulator for Android? — Xamarin Community Forums
- [WayBack] Visual Studio 2017 Emulator for Android?
- [WayBack] Visual Studio Emulator for Android – Visual Studio | Microsoft Docs
- [WayBack] Create and manage virtual devices | Android Developers
–jeroen
Posted in .NET, Development, Software Development, Visual Studio 2015, Visual Studio 2017, Visual Studio and tools | Leave a Comment »
Not all XSD mappings to programming language constructs are possible
Posted by jpluimers on 2020/02/26
This post is a reminder to myself that not all mappings from XSD to programming languages are possible.
There are many impossible cases, so this is just a general reminder.
A Delphi specific case for instance is the mapping of enumerations: one reason is that XSD enumerations are case sensitive, but the Delphi language is not: [WayBack] Using XML Enumerations with Delphi XML Data Binding Wizard – Stack Overflow.
More generic examples from my answer to the above question:
- In XSD you can derive from an existing type in two ways: extending it and limiting it. Object Oriented languages only allow you extend when deriving.
- Delphi is not alone in these kinds of limitations. Generating wrappers from XSD schema’s is the field of specialized tools, even in the Java or .NET world.
I’ve seen horrible things with wildcards that are sort of mappable to Java, but not to C#. This could likely go on for much longer…
–jeroen
Posted in C#, Delphi, Development, Java, Java Platform, Software Development, XML, XML/XSD, XSD | 2 Comments »
NuGet: migrate from packages.config to PackageReference with 3 clicks
Posted by jpluimers on 2020/02/19
Since I often forget to cleanup some bits of a migration: [WayBack] Migrate to PackageReference with 3 clicks:
Related:
- [WayBack] Migrating NuGet Packages.config to PackageReference in Visual Studio
- [WayBack] NuGet is now fully integrated into MSBuild
- [WayBack] NuGet PackageReference Upgrader – Visual Studio Marketplace
- [WayBack] Switching from packages.config to PackageReference for .NET projects
- [WayBack] Migrating from package.config to PackageReference formats | Microsoft Docs
- [WayBack] GitHub – CloudNimble/PackageReferenceUpgrader: A VS2017 Extension that helps legacy apps migrate off of packages.config.
- [WayBack] visual studio 2017 – Migrating Nuget from packages.config to PackageReference – transitive dependencies are reversed – Stack Overflow
–jeroen
Posted in .NET, Development, Software Development, Visual Studio 2015, Visual Studio 2017, Visual Studio and tools | Leave a Comment »
Scott Hanselman on Twitter: Learn C# in your browser, no install! Practice your .NET skills on an ChromeBook if you like! Your choice!
Posted by jpluimers on 2020/02/18
This is indeed an interesting live way to learn about C# even if you think you know most of it:
[WayBack] Scott Hanselman on Twitter: Learn C# in your browser, no install! Practice your .NET skills on an ChromeBook if you like! Your choice!
Here you go:
- [WayBack] .NET & C# In-Browser Tutorial – Step 1: Intro
- After finishing you continue with [WayBack] Numbers in C# | Microsoft Docs
- And so on…
–jeroen
Posted in .NET, C#, Development, Software Development | Leave a Comment »






