Kapara
Kapara
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
Yeah, the cons are one up on the pros on this one I just wanted to make my users to not to install the dotnet runtime anything else is an extra, also the tidy root folder
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
It sound that the most stable option is to be self contain and have these long list of dlls in the root
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
wdym by native dlls?
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
What is the cons of selfcontained+singlefile beside changing the code where I access the root folder
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
Oh I used CodeBase I ran it now and it seems to work
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
.NET8
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
For which on of them?
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
Yeah I tried it, same issue
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
var agentPath = Assembly.GetExecutingAssembly().Location;

var agentDirectory = Path.GetDirectoryName(agentPath);
var agentPath = Assembly.GetExecutingAssembly().Location;

var agentDirectory = Path.GetDirectoryName(agentPath);
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
Sounds good, I don't produce and pdb file in publish
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
I'll check that. I can do something else and publish it as SingleFile but that the issue is that I cant work on the root dir file since every actions made for the root folder (create a file from the exe) results in the creation of it in %temp%
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
What about this solution? https://stackoverflow.com/a/72044506
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
there are like 10 of them 😄
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
yes, should I exlude it?
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
Can't I alter the produced App.runtimeconfig.json to let it probe in lib path?
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
maybe move all the dll to a libs folder and redirect the application to look for dependencies in libs
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
I am familiar with netbeauty, I thought maybe there's a native solution to it
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
mind that it's not only the project X, but the self contained dotnet runtime
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
Yeah.. It can be defined like that too
36 replies
CC#
Created by Kapara on 11/18/2024 in #help
Publish A Project That Reference To Another Project To Output DLL To `libs` Dir
No description
36 replies