article

Resolving compile error "Interop type cannot be embedded. Use the applicable interface instead"

When working with COM interop libraries you may receive the compile error "Interop type cannot be embedded. Use the applicable interface instead". This article describes two common causes of this error and how to resolve it.

avatar
Richard Moss
article

CanoScan LiDE 100 Windows 10 and Windows 11 Compatibility

Although officially the Canon CanoScan LiDE 100 scanner is not supported on Windows 10 or Windows 11, I have found that it is fully functional. This article describes the versions of Windows I have tested the scanner with along with any observations.

avatar
Richard Moss
article

Book Review: The Ray Tracer Challenge

A review of the book "The Ray Tracer Challenge", by Jamis Buck.

avatar
Richard Moss
article

Error VSP1048 when trying to instrument assembly created using Visual Studio 2019

A brief note on assemblies compiled with Visual Studio 2019 and their compatibility with older Visual Studio tooling.

avatar
Richard Moss
article

Creating a custom type converter part 3: Types to string

How to use a TypeConverter to provide editing of immutable structs that are properties of containing objects via a PropertyGrid.

avatar
Richard Moss
article

Setting tab stops in a Windows Forms TextBox control

The Windows Forms `TextBox` control doesn't offer an out of the box method for setting tabstops within the control, this article describes how to achieve this via p/invoke.

avatar
Richard Moss
article

Changes to CrashPlan for Small Business that may affect developer backups

A note on changes that Code42 on enforcing on users of their CrashPlan for Small Business service

avatar
Richard Moss
article

Creating an ndrules file for use with NDepend

A quick article on configuring NDepend projects to use external rule files.

avatar
Richard Moss
article

Migrating from Azure translation API version 2 to 3

Almost two years ago I wrote a post describing how to translate text using Azure cognitive services, however the API it uses is to be switched off and so I needed to migrate from the version 2 API to version 3. This post describes how I migrated my existing `TranslationClient` class.

avatar
Richard Moss
article

Handling the orientation EXIF tag in images using C#

A brief article on Exif orientation attributes and how to handle them in your .NET applications.

avatar
Richard Moss
article

Frustrations of third party software

No detailed blog post, just a screenshot that neatly echo's my ongoing frustration with Resharper

avatar
Richard Moss
article

New option in Visual Studio 2019 keeps console window open after debugging

A brief note on a small change made to Visual Studio 2019 that may be helpful for debugging .NET Core console applications.

avatar
Richard Moss