我在SharePoint服务器上,我需要编译一个小的更改到我的C#代码。 我在哪里可以找到SharePoint Server上的C#编译器? 我知道.NET是由于它是一个SP服务器而安装的,但我无法找到我正在寻找的.NET或C#编译器。 它不在任何位置,如C:/ Program Files或Windows / system,如下文所述。
http://msdn.microsoft.com/en-us/library/78f4aasd.aspx
我确信我忽视了一些显而易见的事情,但感谢您的帮助。
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.
最满意答案
.NET 2.0 C#编译器csc.exe(适用于.NET 2.0到3.5)位于C:\Windows\Microsoft.NET\Framework\v2.0.50727 。 如果您的SharePoint版本在.NET 4.0上运行,那么它将位于C:\Windows\Microsoft.NET\Framework\v4.0.30319
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 in C:\Windows\Microsoft.NET\Framework\v4.0.30319
更多推荐
发布评论