C
C#3y ago
Matt

❔ Messy Build Directory

Not sure what is causing this. It is a solution with two projects (not dependent on each other) started in framework but recently upgraded to core for c#8 functionality. I have a few extensions running. I have references to steamNETapi and RiptideNetworking. I think that's all the information necessary? I'm really bad with build and compiler stuff
30 Replies
sibber
sibber3y ago
why didnt you upgrade the newest version if you were upgrading anyway lol
ero
ero3y ago
this is usually generated by some library like some nuget i mean
sibber
sibber3y ago
you can use trimming to delete unused parts of assmeblies you can aslo set SateliteResourceLanguage(s)
ero
ero3y ago
Satellite right?
sibber
sibber3y ago
right lol
ero
ero3y ago
2 Ls i believe unless they spelled it wrong too
Matt
MattOP3y ago
I was upgrading for something I didn't even end up using but oh well... anyway, the weird thing is that my build folder was clean before upgrading and I haven't added any extra nuget packages. Is this just a quirk of core?
ero
ero3y ago
oof, why are you compiling for ARM64 specifically
Matt
MattOP3y ago
so the only two packages I have installed are windows.compatibility and system.data.datasetextensions. It's probably not a good idea to uninstall them I imagine so what are my options?
ero
ero3y ago
if i had to guess, it's probably Steamworks.NET causing it
Matt
MattOP3y ago
I'm not. It's on any cpu. I don't understand configurations very well at all
sibber
sibber3y ago
youre probably building with self contained
ero
ero3y ago
i mean wouldn't it be self contained then lol
sibber
sibber3y ago
wdym
ero
ero3y ago
self contained means 1 file to me is that not right?
Matt
MattOP3y ago
hang on... if I've finished fixing the stuff that was deprecated in core then I can remove compatibility right?
ero
ero3y ago
i'd say this entire project is completely scuffed at this point, you already messed up starting with framework, messed up with upgrading to net6 instead of net7, your target config seems to be messed up i'd personally just start a completely new project and just copy over the code lol but that's just me maybe
Matt
MattOP3y ago
it has a remote repo. Merge conflicts would be hell no? dw I fixed it
sibber
sibber3y ago
no self contained means bundle the runtime
Matt
MattOP3y ago
uninstalled compatibility
sibber
sibber3y ago
singlefile means one file
Matt
MattOP3y ago
and it's sorted
sibber
sibber3y ago
upgrade to .net 7 while youre at it
Matt
MattOP3y ago
is there any good reason for me to bother?
ero
ero3y ago
is there any reason not to? you literally change a single character in a single file don't see the problem
Matt
MattOP3y ago
oh for real? I didn't think it'd be that easy lol solution file?
ero
ero3y ago
csproj
sibber
sibber3y ago
also performance improvements and new language features
Matt
MattOP3y ago
ughhhh two files to change... cba... I'm kidding I'll get on it now 🙂 thank you both :)))
Accord
Accord3y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server