Package Id “Project_Name” contains invalid characters - nuget
I was trying to compile Dapper.SimpleCRUD package for .Net 5.4. After fixing the references and packages, I tried to build nuget package once project was successfully building. I started giving following error:
The package ID 'Dapper.SimpleCRUDNET 5' contains invalid characters. Examples of valid package IDs include 'MyPackage' and 'MyPackage.Sample'.
Luckily the solution was easy. The space in path for the project was causing the problem. Once `Dapper.SimpleCRUDNET 5` was converted to `Dapper.SimpleCRUDNET5` it successfully created the package.
Happy Coding!!!












