httpapi-template-csharp icon indicating copy to clipboard operation
httpapi-template-csharp copied to clipboard

Generated Dockerfile won't work if project name contains any capitalized letters

Open rrecio opened this issue 4 years ago • 1 comments

On the Dockerfile, on the ENTRYPOINT line, my project named "My_Project_Name" was translated as "my_project_name.dll" causing the Dockerfile to not work. It took some time until I figure it out because Docker was only restating and I was getting this on the output:

Did you mean to run dotnet SDK commands? Please install dotnet SDK from:
http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
Did you mean to run dotnet SDK commands? Please install dotnet SDK from:
http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
Did you mean to run dotnet SDK commands? Please install dotnet SDK from:
http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409

Renaming the dll file to the correct name ("My_Project_Name.dll") fixed it.

rrecio avatar Jul 10 '20 18:07 rrecio

(I have not created the project from command line as advised on the README but used the template during project creation from JetBeans Rider)

rrecio avatar Jul 10 '20 18:07 rrecio