Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我写了一些 VS 扩展,Roslyn 似乎是一个有趣的工具。我真的很想尝试一下。
但
有没有安全的安装方法?我可以将它安装在一个孤立的蜂巢中吗?它卸载得有多干净?
如果我错了,请纠正我,但 Roslyn 编译器取代了“标准”C# 编译器。如果它打破了结果将是安静的不愉快
我认为这个线程应该有你的问题的答案。当您安装 CTP 时,它会替换 Visual Studio 中“Roslyn”根后缀下的 C# 和 VB 语言服务。“标准”C# 和 VB 编译器(包括命令行编译器 vbc.exe 和 csc.exe)不会被替换,并且您在 VS 中的常规代码编辑体验保持不变。
换句话说,目的是 CTP 不应该影响您现有的设置 - 但要确保您可以遵循 Hank 的建议并将其安装在 Virtual PC 上。
该线程也对此进行了一些讨论。
免责声明:我在 Microsoft 的 Roslyn 团队工作。
Yes, it's safe to install. I installed on VS 2012 and it was working fine, but it causes problem when used with Resharper. You can even uninstall it with Tools->Extensions and Updates.