Automated Nuget Package Creation and Publishing with Batch Scripts for .NET and .NET Core
Recently, while trying to package a .NET Core project using a previous written batch script, the old approach failed completely. After considerablle debugging, the issues were resolved. This article shares the solution and provides a refined script.
For details about Nuget, visit: https://docs.microsoft.com/en-us/nuget/
Download Nuget.exe
Downl ...
Posted on Wed, 09 Sep 2026 16:17:20 +0000 by amal.barman
AutoMapper in C#: A Practical Guide to Object Mapping
Add AutoMapper to your project using the NuGet Package Manager in Visual Studio. Search for "AutoMapper" and install the first available package.
Understanding AutoMapper Field Mapping
AutoMapper provides intelligent field mapping between source and destination objects. The mapping behavior follows specific patterns that reduce boiler ...
Posted on Tue, 01 Sep 2026 16:17:02 +0000 by callmecheez
Packaging and Distributing Custom .NET Templates via NuGet
To distribute a custom project structure as a reusable item, you need to configure the template metadata and package it for NuGet distribution. The following steps outline this process.
1. Configure Template Metadata
Create a directory named .template.config at the root of your project. Inside this directory, add a file named template.json to d ...
Posted on Sat, 27 Jun 2026 17:02:10 +0000 by SJR_34
Setting Up MySQL Database with Entity Framework Code First in Visual Studio
Introduction
This guide explains how to configure MySQL database with Visual Studio using Entity Framework Code First approach. The process involves installing MySQL, configuring Visual Studio, setting up required NuGet packages, and implementing a working example.
MySQL Installation
Begin by downloading the MySQL installer from the official we ...
Posted on Thu, 14 May 2026 19:38:51 +0000 by zhTonic
C# and .NET Version Mapping and Common Development Issues
C# and .NET Version Mapping
C#12.0
.NET8 (2023)
C#11.0
.NET7 (2022)
C#10.0
.NET6 (2021)
C#9.0
.NET5 (2020)
C#8.0
.NET Framework4.8 (2019-04-18)
C#7.3
.NET Framework4.7.2
VS Error: project.assets.json Not Found
Tools -> Command Line -> Developer Command Prompt -> Enter msbuild -t:restore
https://learn.microsoft.com/zh- ...
Posted on Wed, 13 May 2026 17:40:11 +0000 by coldkill