Amani
Amani

Reputation: 18143

C# compiler can't run on Windows 10

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?

Upvotes: 2

Views: 818

Answers (1)

Sam Washington
Sam Washington

Reputation: 670

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

Upvotes: 2

Related Questions