I have created a .net Avalonia application which uses additional .net projects.
my current project file structure is:
-component project1
-component project2
-main project
-main project files
I have the 2 component projects referenced in the main project and this compiles and runs in debug.
My problem is when i try to run the task to create a release build.
The task returns errors saying is cannot find the component projects.
This then returns a line for each referenced project . e.g. (there are mutiple projects)
4.033 Determining projects to restore…
4.054 Skipping project “/cctalklib/cctalklib.csproj” because it was not found.
This is followed by warnings
49.82 /usr/share/dotnet/sdk/6.0.418/Microsoft.Common.CurrentVersion.targets(2066,5): warning : The referenced project ‘…/cctalklib/cctalklib.csproj’ does not exist. [/build/nemo.csproj]
and finally
failed to solve: process “/bin/sh -c dotnet restore && dotnet publish -c Release -r linux-${IMAGE_ARCH} --no-self-contained” did not complete successfully: exit code: 1
i do have the projects referenced in the .csproj
If I run debug for Torizon ARMv8 it compiles everything and runs on the target device.
Hi Kevin,
The error occurs when it try to run the task “run-container-torizon-release-arm64”
I am using vs code version 1.86.1.
and Torizon IDE extension v2.4.0.