C# compile version C# command line compilation

  • Thread starter Thread starter Sheyi32
  • Start date Start date
S

Sheyi32

Guest
I use command line compilation

csc seems to be stuck on using C# compiler version 5. I want it to use version 7

I checked the configuration source file for csc, that is csc.exe, and this is the code I see there

<?xml version ="1.0"?>
<
configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0.30319"/>
</startup>
</
configuration>



Clearly my compiler is implementing the v4.0 of .net

When I attempt to install .net v4.7 it says I have the latest version installed.

advice me further

Continue reading...
 
Back
Top