I downloaded the sample project at: https://github.com/youtube/api-samples/tree/master/dotnet , and using VS2013, is able to compile and run the project, but a browser windows opens (suspect it is the oath2 permissions window) complaining about:
Error: redirect_uri_mismatch.
From other Google searches I determined that it is because the port number changes every time I run the project and thus does not match the redirect uri set in the Google developers console. How would I go about getting the sample code to run?