yes you r right :
at CustomerRegistrationService.cs i have modify by :
//add New role 'CLI00' *********************************************************************
var CLI00Role = _customerService.GetCustomerRoleBySystemName(SystemCustomerRoleNames.CLI00);
// 'CLI00' is already recorded into the rôle table as a systemname
request.Customer.CustomerRoles.Add(CLI00Role);
//******************************************************************************************
and add at the SystemCustomerRoleNames.cs
public static string CLI00 { get { return "CLI00"; } }
and the new role CLI00 i recorded into the role table.
So, when i generate that service in debug mode : all is right :
1> ------ Start global regeneration: Project: Nop.Core, Configuration: Debug Any CPU ------
1> Nop.Core -> D: \ My Web Sites \ nopcomsrc \ Libraries \ Nop.Core \ bin \ Debug \ Nop.Core.dll
2> ------ Beginning of global regeneration: Project: Nop.Data, Configuration: Debug Any CPU ------
2> Nop.Data -> D: \ My Web Sites \ nopcomsrc \ Libraries \ Nop.Data \ bin \ Debug \ Nop.Data.dll
3> ------ Start of global regeneration: Project: Nop.Services, Configuration: Debug Any CPU ------
3> Nop.Services -> D: \ My Web Sites \ nopcomsrc \ Libraries \ Nop.Services \ bin \ Debug \ Nop.Services.dll
========== Global regeneration: 3 passed, 0 failed, 0 was ignored ==========
but in release mode there is a bug with the third service line :
3>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(3533,5): error MSB6006: stop "sgen.exe" with code 1.
could i simply replace that 3 dll from the debug folder to the site ?