robmikh / SimpleRecorder

A simple screen recorder using both the Windows.Graphics.Capture and Windows.Media.Transcoding APIs.
MIT License
219 stars 43 forks source link

Cannot build the app #16

Closed MarcAnt01 closed 4 years ago

MarcAnt01 commented 4 years ago

I get multiple errors. Are there additional steps to do? image

robmikh commented 4 years ago

It looks like you either have an SDK issue or you need to forcibly restore the nuget dependencies.

MarcAnt01 commented 4 years ago

Yeah, looks like my problem is due to nuget packages.

MarcAnt01 commented 4 years ago

@robmikh I am having problems with nuget packages, how can I solve them? image

robmikh commented 4 years ago

Have you run nuget restore? If it can't find the specific version then try to upgrade the packages to a newer one. Unfortunately whenever I get nuget-related errors like these I just kind of flail around until it works, I don't have specific steps...

MarcAnt01 commented 4 years ago

No, I have just tried to update them. I have no experience with nuget packages, can you tell me how to do that?

robmikh commented 4 years ago

Go to the root directory of the project in a command prompt window and run nuget restore. If you don't have nuget in your PATH, you can find a copy here.

MarcAnt01 commented 4 years ago

I have installed the recommended version from the link you've sent to me, but still nuget gets displayed as an unknown command. Do I have to add it manually to PATH?

robmikh commented 4 years ago

You either have to manually add it to your PATH or you can just put the exe in the folder you're going to run it in.

MarcAnt01 commented 4 years ago

OK, it worked now, but when I try to build the app I have the same issues with nuget packages

MarcAnt01 commented 4 years ago

After clearing the solution, it worked. Thank you for the help