Re: Issues adding helper binary to Pipeline

foxesden <foxesden.auzbtb-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]> Mon, 5 Dec 2022 21:36:31 +0000
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
I am going to answer my own question here..

The issue related to environment setup and specifically the login
folder. MS keep changing this, I guess to keep the code portable, and in
upgrading to .Net 7 they had deprecated the previous command for
locating the executable folder, and I picked the wrong alternative
approach

System.AppContext.BaseDirectory; provides the folder of the currently
running exe

I had incorrectly used

Directory.GetCurrentDirectory(); which explains why it all worked form
command line.


------------------------------------------------------------------------
foxesden's Profile: http://forums.slimdevices.com/member.php?userid=56286
View this thread: http://forums.slimdevices.com/showthread.php?t=117170