C
C#2y 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
sibber2y ago
why didnt you upgrade the newest version if you were upgrading anyway lol
ero
ero2y ago
this is usually generated by some library like some nuget i mean
sibber
sibber2y ago
you can use trimming to delete unused parts of assmeblies you can aslo set SateliteResourceLanguage(s)
ero
ero2y ago
Satellite right?
sibber
sibber2y ago
right lol
ero
ero2y ago
2 Ls i believe unless they spelled it wrong too
Matt
Matt2y 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
ero2y ago
oof, why are you compiling for ARM64 specifically
Matt
Matt2y 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
ero2y ago
if i had to guess, it's probably Steamworks.NET causing it
Matt
Matt2y ago
I'm not. It's on any cpu. I don't understand configurations very well at all
sibber
sibber2y ago
youre probably building with self contained
ero
ero2y ago
i mean wouldn't it be self contained then lol
sibber
sibber2y ago
wdym
ero
ero2y ago
self contained means 1 file to me is that not right?
Matt
Matt2y ago
hang on... if I've finished fixing the stuff that was deprecated in core then I can remove compatibility right?
ero
ero2y 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
Matt2y ago
it has a remote repo. Merge conflicts would be hell no? dw I fixed it
sibber
sibber2y ago
no self contained means bundle the runtime
Matt
Matt2y ago
uninstalled compatibility
sibber
sibber2y ago
singlefile means one file
Matt
Matt2y ago
and it's sorted
sibber
sibber2y ago
upgrade to .net 7 while youre at it
Matt
Matt2y ago
is there any good reason for me to bother?
ero
ero2y ago
is there any reason not to? you literally change a single character in a single file don't see the problem
Matt
Matt2y ago
oh for real? I didn't think it'd be that easy lol solution file?
ero
ero2y ago
csproj
sibber
sibber2y ago
also performance improvements and new language features
Matt
Matt2y ago
ughhhh two files to change... cba... I'm kidding I'll get on it now 🙂 thank you both :)))
Accord
Accord2y 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.