.NET 编译器:Roslyn

jopen 11年前

Roslyn 是微软公司开源的 .NET 编译器。编译器支持 C# 和 Visual Basic 代码编译,并提供丰富的代码分析 API。

安装过程:

  1. In your browser, navigate to http://roslyn.codeplex.com/SourceControl/latest

  2. Click the "Clone" link and copy the URL

  3. Open the Visual Studio Team Explorer Windows (View\Team Explorer)

  4. Select the "Connect to Team Projects" option if you are already connected to a different project

  5. Under “Local Git Repositories” click the “Clone” link

  6. Enter the URL from step 2 in the top box

  7. Pick a location on your local machine to store the code

  8. Click the Clone button

  9. Switch to the "releases/build-preview" branch

    1. In Team Explorer, select the "Branches" view

    2. Click the "New Branch" link

    3. Name your branch: releases/build-preview

    4. Select: origin/releases/build-preview from the dropdown

    5. Ensure "Checkout branch" is checked

    6. Click "Create Branch"

项目主页:http://www.open-open.com/lib/view/home/1396571990325