<div dir="ltr">Eventually I figured out the answer to this question after stepping through the CMake project code.<div><br></div><div>DO:</div><div><span style="font-size:12.8px">enable_language(CSharp)</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">DONT:</span></div><div><span style="font-size:12.8px">enable_language(CSHARP)</span><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Unlike C, CXX, FORTRAN, etc. CSharp is not an abbreviation requiring capitalization of all letters.  Case matters.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 16, 2017 at 5:23 PM, Wesley Smith <span dir="ltr"><<a href="mailto:wesley.hoke@gmail.com" target="_blank">wesley.hoke@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm trying to test out the C# features added to 3.8.0.  A few things:<div><br></div><div>+ I couldn't find any documentation as to what the language name for CSHARP was in the enable_language documentation page</div><div><br></div><div>+ When I tried enable_language(CSHARP), I got some errors</div><div><br></div><div><span style="color:rgb(255,0,0)">CMake Error at CMakeLists.txt:4 (enable_language):<br>  No CMAKE_CSHARP_COMPILER could be found.</span><br></div><div><br></div><div>In the error log, I see:</div><div><br></div><div><div>The CSharp compiler identification could not be found in "<snip>/build_/CMakeFiles/3.8.<wbr>0-rc2/CompilerIdCSharp/<wbr>CompilerIdCSharp.csproj"</div><div><br></div></div><div>When I open this project, it compiles and runs just fine.  I'm not sure why it's giving an error.  Any thoughts?</div><div><br></div><div>thanks,</div><div>wes</div></div>
</blockquote></div><br></div>