-
Notifications
You must be signed in to change notification settings - Fork 1
Utilize the Core CLI tool #16
Comments
I installed .NET from within the current Docker container. First I did it the way Microsoft recommended, namely:
I could confirm that the installation was successful:
However, when downloading the CLI DLL and trying to run it, I get the following error:
I did a quick Google search but the only thing I can find is something about project files. I assume (and hope) I would not need to have the source code of the Core present in my container to use the DLL? |
Oh right, you will also need to download the |
Update on this. It appears that with the creation of the DLL there are some dependency files that get output along with the dll. I didn't realize these were required. On the next Core release, I will add these files to it. Additionally, after exeucting with all the dependencies I got the following error, which says "framework version 2.1 was not found." It appears the link I provided above is the wrong version of dotnet and they aren't backwards compatible. Here's a link to version 2.1 which is the correct version of |
Great work! As soon as there is a suitable Core release available I'll be sure to give it another go. |
New release here. Download |
To verify and validate incoming events we will need to install dotnet & be able to run the cli tool. This will probably need to be added to the
DockerFile
. These are the steps I took to do so on my raspberry pi:Get the latest link for dot net core 3.1 from the microsoft website https://dotnet.microsoft.com/download/dotnet-core/3.1
Select version 3.1 and copy the "Direct Link" URL. Replace future occurances of {directLink} with this link.
Navigate to a folder of your choice where you would like to download dotnet to. Make note of the current folder path at this point. Replace future occurances of {path} with your current path.
Download dotnet:
wget {directLink}
Create a directory to extract the tar:
mkdir dotnet-arm32
Unzip to the directory:
tar zxf dotnet-sdk-3.1.102-linux-arm.tar.gz -C dotnet-arm32/
Allow using the dotnet command globally by setting the PATH:
export DOTNET_ROOT={path}/dotnet-arm32/
export PATH=$PATH:{path}/dotnet-arm32/
Verify the installation worked:
dotnet --info
Run the Core CLI with
dotnet <cli.dll> <arguments>
A download for the Cli tool can be found in the Core repositories's Releases
The text was updated successfully, but these errors were encountered: