简体   繁体   English

安装Visual Studio 2015社区版后的几个问题

[英]Few issues after installing Visual Studio 2015 Community edition

I installed Visual Studio 2015 Community edition to checkout the different feature. 我安装了Visual Studio 2015社区版以签出其他功能。 Before that I was using VS 2013 for development. 在此之前,我使用VS 2013进行开发。 Few issues that I am facing after installing VS 2015 are 安装VS 2015后我面临的几个问题是

1) Package manager is not able to download few of the assemblies like Microsoft.Data.OData,Microsoft.Data.Edm 1)程序包管理器无法下载一些程序集,例如Microsoft.Data.OData,Microsoft.Data.Edm

2) Solution which was building successfully in VS 2013 now gives a alert saying symbol not loaded for a particular project. 2)在VS 2013中成功构建的解决方案现在发出警报,提示未为特定项目加载符号。 No such alerts in VS2015. VS2015中没有此类警报。

I am not 100% sure these are related to VS 2015 but there are no other changes done which explains these issues. 我不是100%肯定这些与VS 2015有关,但是没有做任何其他更改来解释这些问题。

Let me know if anyone else is also facing these issues or knows solution. 让我知道是否还有其他人也面临这些问题或知道解决方案。

Didn't find the answer, so posting because this question shows in search results; 找不到答案,因此发布,因为此问题显示在搜索结果中; comment from prashant is correct (in my case) 来自prashant的评论是正确的(在我的情况下)

In my situation, we use a Git repo, all working fine on one laptop. 在我的情况下,我们使用一个Git存储库,在一台笔记本电脑上都能正常工作。 I cloned to another laptop and I was getting this error on build, same version of VS 2015. 我克隆到另一台笔记本电脑,并且在构建和VS 2015相同版本时遇到此错误。

Reinstalling the nuget packages from the Package Manager Console worked 从程序包管理器控制台重新安装nuget程序包成功

Update-Package -reinstall

As detailed here https://docs.microsoft.com/en-gb/nuget/consume-packages/reinstalling-and-updating-packages 如此处详细说明https://docs.microsoft.com/en-gb/nuget/consume-packages/reinstalling-and-updating-packages

edit: incidentally the issue seems to have arisen from someone changing the target framework for the projects, but not checking in the changes to the nuget packages/configs which were still targeting 4.5.2 编辑:顺便说一句,问题似乎是由于有人更改了项目的目标框架,但没有检查对仍以4.5.2为目标的nuget包/配置的更改

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2015社区版在启动时崩溃 - Visual Studio 2015 community edition crashes at startup 安装Visual Studio 2015社区后的事件日志安全异常 - Event Log Security Exception After Installing Visual Studio 2015 Community 安装Visual Studio Community 2015的问题 - Troubles installing Visual Studio Community 2015 Visual Studio 2015 Community Edition无法下载新许可证 - Visual Studio 2015 Community Edition failed to download new license 如何为Visual Studio 2015 Community Edition使用Type.GetTypeFromProgID() - How to use Type.GetTypeFromProgID() for Visual Studio 2015 Community Edition CS0246 visual studio Community Edition 2015 缺少参考资料? - CS0246 visual studio community edition 2015 missing reference? 在visual studio 2015社区安装Xamarin.Auth时出错 - Error while installing Xamarin.Auth on visual studio 2015 community 如何将FSharp.Core 4.3与Visual Studio 2015 Community Edition一起使用 - How can I use FSharp.Core 4.3 with Visual Studio 2015 Community Edition 无法在Visual Studio 2015 Community Edition中打开Windows Phone 8.1项目 - Can't open Windows Phone 8.1 project in Visual Studio 2015 Community Edition ASP.NET Server Control模板是否应存在于Visual Studio 2015社区版中? - should the ASP.NET Server Control template exist in Visual Studio 2015 community edition?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM