Skip to content

Publishing issue to the Pi #9

Description

@aardrasystems

Hi @gloveboxes

I am following your example as shown on

https://github.com/gloveboxes/Create-RaspberryPi-dotNET-Core-C-Sharp-IoT-Applications/blob/master/labs/Lab_1_Build_dot_NET_Core_app/README.md

I am having difficulty clarifying if my steps are correct. This is the error I am getting.

 *  The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\potained -c Debug -o ./bin/linux-arm/publish ./dotnet.core.iot.csharp.cspnet.core.iot.csharp"" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 

 *  Executing task: sh -c "dotnet publish -r linux-arm --self-containedroj && rsync -rvuz ./bin/linux-arm/publish/ djosh@raspberrypi:~/dotnet.

At line:1 char:122
+ ... -o ./bin/linux-arm/publish ./dotnet.core.iot.csharp.csproj && rsy
+                                                                ~~
The token '&&' is not a valid statement separator in this version.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorR
    + FullyQualifiedErrorId : InvalidEndOfLine
 

 *  The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\potained -c Release -o ./bin/linux-arm/publish ./dotnet.core.iot.csharp.cotnet.core.iot.csharp"" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 

I have Windows 10 PC and have already got .net6 installed. Therefore do I need to reinstall it via WSL again?

What could be wrong?

Should "usr" also need to be changed
"pipeProgram": "/usr/bin/ssh",

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions