如果我安装“Install-Package Microsoft.Net.Compilers -Version 2.10.0”,有什么危害吗?在我的Visual Studio 2015专业人员中 [英] Is there any harm if i install "Install-Package Microsoft.Net.Compilers -Version 2.10.0 " inside my Visual Studio 2015 professional

查看:107
本文介绍了如果我安装“Install-Package Microsoft.Net.Compilers -Version 2.10.0”,有什么危害吗?在我的Visual Studio 2015专业人员中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的Visual Studio 2015专业版中使用c#7.1,所以我按照这个链接上的答案

如何在Visual Studio 2015中使用c#7?
我在nuget命令链接中运行此命令: -

 Install-Package Microsoft.Net.Compilers -Version 2.10.0 

但它确实没有解决问题。现在运行上面的命令将取代Visual Studio附带的编译器。我可以卸载这个吗?我冒了风险,所以我可以在VS 2015里面运行c#7.1 ..但是因为它 没有帮助。所以我可以卸载

 Install-Package Microsoft.Net.Compilers -Version 2.10.0 

谢谢




解决方案

嗨John,


欢迎来到MSDN论坛。


您要卸载'Microsoft.Net.Compilers'软件包吗?如果是这样,请右键单击解决方案资源管理器中的项目名称并选择"管理Nuget包...",单击
'已安装'选项卡,您将找到此包,然后选择它,我们可以单击"卸载"按钮以下内容将其删除:


< span style ="font-size:11.0pt; font-family:'Calibri',sans-serif;颜色:#333333">




最好的问候,


Sara


I wanted to use c# 7.1 inside my Visual Studio 2015 professional, so i follow the answer on this link How to use c#7 with Visual Studio 2015? where i run this command inside my nuget command link :-

Install-Package Microsoft.Net.Compilers -Version 2.10.0 

but it did not fix the problem. now since running the above command will replace the compiler shipped with Visual Studio. so can i uninstall this? i took the risk so i can run c# 7.1 inside VS 2015.. but since it  did not help. so can i un-install

Install-Package Microsoft.Net.Compilers -Version 2.10.0 

thanks


解决方案

Hi John,

Welcome to the MSDN forum.

Do you want to uninstall the package ‘Microsoft.Net.Compilers’? If so, please right click your project name under Solution Explorer and choose ‘Manage Nuget Packages…’, click ‘Installed’ tab and you will find this package, then select it and we can click the button ‘Uninstall’ like the following to remove it:

Best regards,

Sara


这篇关于如果我安装“Install-Package Microsoft.Net.Compilers -Version 2.10.0”,有什么危害吗?在我的Visual Studio 2015专业人员中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆