I’m on a SharePoint server and I need to compile a small change to my C# code. Where can I find the C# compiler on the SharePoint Server? I know .NET is installed by virtue of the fact that it is a SP server, but I’m unable to find .NET or the C# compiler I’m looking for. It isn’t in any locations such as C:/Program Files or Windows/system like the following article suggests.
http://msdn.microsoft.com/en-us/library/78f4aasd.aspx
I’m sure I’m overlooking something obvious but thanks for helping.
The .NET 2.0 C# compiler csc.exe (which will work for .NET 2.0 to 3.5) is located at
C:\Windows\Microsoft.NET\Framework\v2.0.50727. If your version of SharePoint runs on .NET 4.0 then it’ll be inC:\Windows\Microsoft.NET\Framework\v4.0.30319