How does nuget work with non-VS projects?

a year ago by ZILtoid1991 to c/learn_programming

According to Microsoft documentations, I'd need to use nuget to load the GameInput library. Issue is that I'm only using the MSVC linker, not the whole MS toolchain, especially as my language of choice is D.

(I can also accept other alternatives to load the GameInputCreate function.)

sleep_deprived 3 points a year ago

From my knowledge, you can either use the nuget CLI (which is just a portable exe you can download) and do nuget install Microsoft.GameInput to download and extract the package into the cwd, or download the package directly from https://www.nuget.org/packages/Microsoft.GameInput (.nupkg files are just zips). Inside should be everything you need, .libs and headers and such.

path: 0 20442503, hotness: undefined, score: 3, children: 0
ZILtoid1991 1 point a year ago

Well, it seems to that all I needed is to load the GameInput.dll, then I have the library to use, except I messed up the VTables, so I have to fix that first.

path: 0 20443336, hotness: undefined, score: 1, children: 1
ZILtoid1991 1 point a year ago

Update: Now I need to use GameInputRedist.dll instead, but kept the GameInput.dll parts there just in case if I ever port to Xbox.

path: 0 20443336 20467461, hotness: undefined, score: 1, children: 0
learn_programming
learn_programming

@programming.dev

login for more options
2254
161
63

Posting Etiquette

  1. Ask the main part of your question in the title. This should be concise but informative.

  2. Provide everything up front. Don't make people fish for more details in the comments. Provide background information and examples.

  3. Be present for follow up questions. Don't ask for help and run away. Stick around to answer questions and provide more details.

  4. Ask about the problem you're trying to solve. Don't focus too much on debugging your exact solution, as you may be going down the wrong path. Include as much information as you can about what you ultimately are trying to achieve. See more on this here: https://xyproblem.info/

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

go to feed...