cyclonedx-dotnet icon indicating copy to clipboard operation
cyclonedx-dotnet copied to clipboard

Troubles with path

Open KOR-TEH opened this issue 4 years ago • 5 comments

Hi. Please, asking for some help.

Have problem with launching via docker. Trying to cmd command, as in instructions and got this: fff

KOR-TEH avatar Jun 01 '21 15:06 KOR-TEH

Hi @xXGeserXx, you need to mount /home/xxx/deptrack/prj/edox into the container first.

This should work:

$ sudo docker run --rm -v '/home/xxx/deptrack/prj/edox:/tmp/edox' cyclonedx/cyclonedx-dotnet -o /tmp/edox /tmp/edox

nscuro avatar Jun 02 '21 09:06 nscuro

Hi @xXGeserXx, you need to mount /home/xxx/deptrack/prj/edox into the container first.

This should work:

$ sudo docker run --rm -v '/home/xxx/deptrack/prj/edox:/tmp/edox' cyclonedx/cyclonedx-dotnet -o /tmp/edox /tmp/edox

Hi, thank you very much for your help, but i solved this problem:) But, i have new problem. Maybe, you know about: dddd

KOR-TEH avatar Jun 02 '21 09:06 KOR-TEH

Hi @xXGeserXx can you share a minimal reproduction of this? Can probably just get away with just a sanitised version of your csproj file.

coderpatros avatar Jun 04 '21 07:06 coderpatros

Hi @xXGeserXx can you share a minimal reproduction of this? Can probably just get away with just a sanitised version of your csproj file.

Hi, well, first of all, i install clone dx through dotnet on CentOS 7. Then, i enter command dotnet CloneDX 'path to project folder' -o 'path to output folder'. Clone working sometime and then crash on this place. Everytime in this place.

KOR-TEH avatar Jun 07 '21 14:06 KOR-TEH

Ah, that probably isn't the option you want. If you provide the project folder the tool looks for .NET full framework packages.config files. For .NET core and .NET 5+ specify a solution or project file.

coderpatros avatar Jun 27 '21 05:06 coderpatros