Can't Build UniGetUI #2823
-
I would love to see vcpkg support in UniGetUI (see issue #2146, not created by me) and was going to add the source code myself and create a pull request. A couple days ago I managed to get a build working, but now every time it just fails with a bunch of warnings about "Unsafe code may only appear if compiling with /unsafe". I don't know enough about C# to determine where this is coming from (it seems to be coming from the compiled object files, hence my inability to track it down with my limited knowledge) or how to properly fix this for this project; I'm probably doing something wrong but I'm not sure what. Can anyone help me to build UniGetUI locally? I have the MSVC 2022 Build Tools installed with the .NET desktop build tools and Windows 10 SDK components (as well as some additional ones) installed, I have ran I am on Windows 11. Output logs (the errors at the end):
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
This is weird... Does compiling from Visual Studio work? |
Beta Was this translation helpful? Give feedback.
-
I don't have Visual Studio installed, due to storage space issues. I will install the IDE as soon as I can and try; maybe it's an issue with the build tools. |
Beta Was this translation helpful? Give feedback.
You should be able to build with the latest commit: 301805a