2

I downloaded .Net Core from here installed it on Windows 10 x64, set path to C# compiler, Roslyn. When calling csc from command prompt I get a message;

This app can't run on your PC.
To find a version for your PC, check with the software publisher.

I do not want to install Visual Studio and can't figure out the problem. What can I do to resolve this?

4
  • It can. I'm using it right now. I bet most of the developers that use .NET Core are actually using Windows 10. What did you try? What was the full command line you used, including paths? Did you call the wrong version perhaps? Commented May 23, 2017 at 16:20
  • @PanagiotisKanavos, I even tried to call 'csc' from within the folder that the compiler is found and had the same message, so path is not the problem. Commented May 23, 2017 at 16:34
  • Does the dotnet command run? Commented May 23, 2017 at 16:41
  • @SLaks, yes it runs! Commented May 23, 2017 at 16:46

1 Answer 1

2

Use the Runcsc batch file found in same directory

Not sure why the csc.exe is not working directly but this works in my case

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.