Good morning.
I am new to Square. I’ve tried using the sample .net mvc app, but it does not compile; it seems to be missing references/components.
I’d be very grateful for a sample complete method to make a credit card charge with Square’s SDK; it doesn’t have to be perfect or pretty, just functional.
I’m using Visual Studio and c#
Thank you.
Edmund Jimenez
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
Additional Documentation
Reader SDK Quickstart
Download, Configure, and Run the Client Sample
Square .NET SDK Quickstart
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
Is this the sample your using? I just tested and it worked for me. What errors are you getting? 
Hello again, Bryan.
No, this is not the app I was trying to use. This looks like a CORE app using 3.1. The compiler wants me to use core 3.0 because Visual Studio 2019 does not support 3.1.
Edmund
2019 is now 6 years ago. Is there a reason your not able to update? 
Hello, Bryan.
You are right. I’m downloading the community version of VS 2022.
Edmund