MS Windows:- Is an executable 32 or 64 bit

Background Overnight received an issue from GitHub.   Issue Here is the issue. Textual Hi. Can you please make EXE file? And write if this is 32-bit or 64-bit utility. Thank you.   Image Response Outline Here are the tools we can use to review a file and determine its bitness. Marc Ochsenmeier pestudio SysInternals … Continue reading MS Windows:- Is an executable 32 or 64 bit

.NetSDK – Build – Error – NETSDK1045 – “The current .NET SDK does not support targeting .NET Core 3.1. Either target .NET Core 3.0 or l ower, or use a version of the .NET SDK that supports .NET Core 3.1.”

Background A day or two short of a week ago, a family member ran into issues building a Microsoft  .Net application that he had downloaded from GitHub. Error Error Message - NETSDK1045 TroubleShooting Outline Project File Review Project File Project File ( .csproj ) Review Project File ( .csproj ) Text <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFrameworks>net452;netcoreapp3.1</TargetFrameworks> … Continue reading .NetSDK – Build – Error – NETSDK1045 – “The current .NET SDK does not support targeting .NET Core 3.1. Either target .NET Core 3.0 or l ower, or use a version of the .NET SDK that supports .NET Core 3.1.”

.Net – Reflection

Background When programming tracking the current class/method can be helpful. Also, capturing the Stack Trace can also be informative.   C# Current Class Current Method StackTrace Output   Vb.Net Current Class Current Method StackTrace Output   Source Code .Net Fiddle C# Link Vb.Net Link Summary This post ended up being a lot of fun. Comparing … Continue reading .Net – Reflection

.Net :- String.Join returns “System.String[]”

Background Hit a curb yesterday and wanted to share about it today. I have a collection and attempted to display its contents.   Code Original Output Image   Revision Output Image Sharing Restester.com Links Visual Basic Online Compiler Link Vb.Net - Displaying Collection Contents Link Git Gist CollectionDisplayContents Link Dedicate Dedicating to:- string.Join(string, string[]) returns … Continue reading .Net :- String.Join returns “System.String[]”

CentOS:- “dnf -y config-manager –set-enabled PowerTools” – “Error: No matching repo to modify: PowerTools.”

Background Playing around with installing applications on our Linux box running CentOS. It is a recently rebuilt Linux box and it is running CentOS version 8. Ran into a little error in the middle of the consequent application installs. We will talk about the error in this post.   Error Error Image Error Text Scenario … Continue reading CentOS:- “dnf -y config-manager –set-enabled PowerTools” – “Error: No matching repo to modify: PowerTools.”

File Compare Tools – Online

Background Need to quickly compare a couple of source code files. I have some tools to do so on my computer but wanted to do so online. Here are some online tools that one can use.   Tools Worthy Choices Mergely Link Link Author Jamie Peabody Language Code is Written In javascript TextCompare.Org Link Link … Continue reading File Compare Tools – Online

Windows Print Spooler Remote Code Execution Vulnerability – 2021/Summer

Background It is time to take a quick look at the recently disclosed security vulnerabilities that affect the Microsoft Print Spooler Service.   Vulnerabilities Windows Print Spooler Remote Code Execution Vulnerability CVE-2021-1675 Vulnerability Type:- Privilege Escalation Released:- Jun 8, 2021 Last updated:- Jul 2, 2021 https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-1675 Windows Print Spooler Remote Code Execution Vulnerability CVE-2021-34527 Vulnerability … Continue reading Windows Print Spooler Remote Code Execution Vulnerability – 2021/Summer

.Net – String Collection – Dumping list’s contents

Background A few days ago I needed to examine the contents of a string collection. I was surprised that the contents of the collection were not dumped. What was dumped instead is the collections' class name. Examination Outline Let us give a couple of use cases:- Array of String System.Collections.Generic.List<string> System.Collections.Specialized.StringCollection System.Collections.Specialized.StringCollection Convert   Array … Continue reading .Net – String Collection – Dumping list’s contents

Visual Studio – v2019 – Add Reference – “Error HRESULT E_FAIL has been returned from a call to a COM component”

Background Using Visual Studio 2019 and needing to add references to components, I accessed the "Add Reference" menu option but got the error noted below. Error Image Textual Error HRESULT E_FAIL has been returned from a call to a COM component. TroubleShooting Google Search I googled on the error. Unfortunately, the most popular Google match, … Continue reading Visual Studio – v2019 – Add Reference – “Error HRESULT E_FAIL has been returned from a call to a COM component”

VB.Net – Compilation Warning – “Variable is used before it has been assigned a value. A Null Reference could result at runtime”

Variables Looking at an aged code and I started rearranging it a bit. Unfortunately, re-arranged, it stopped working. I took a night's sleep. Come the next day, less tired and wearied, I went back at it. Thankfully, I had made a backup and had it tucked away. Looking at the saved code, I found out … Continue reading VB.Net – Compilation Warning – “Variable is used before it has been assigned a value. A Null Reference could result at runtime”