Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
394 views
in Technique[技术] by (71.8m points)

c# - Problem with updating nuget packages in JetBrains Rider

I really need your help with JetBrains Rider

Every other developer on our project has Visual Studio 2019, except for me. I prefer JetBrains Rider. Precisely in the solution I am talking about, .NET Framework 4.7.2 is used.

The problem comes when there is a need to update the nuget packages. All guys who do it on Visual Studio 2019 receive the following string in the .csproj file:

<Reference Include="Common.Communication, Version=8.0.20170.2, Culture=neutral, processorArchitecture=MSIL">
  <HintPath>..packagesCommon.Communication.8.0.20170.2lib
et452Common.Communication.dll</HintPath>
</Reference>

if I do the same update on Rider I get the following string:

<Reference Include="Common.Communication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
      <HintPath>..packagesCommon.Communication.8.0.20170.2lib
et45Common.Communication.dll</HintPath>
 <Private>True</Private>
</Reference>

what is the reason for such different update result? And how can I fix this to make consistent on any IDE?

Thanks in advance

question from:https://stackoverflow.com/questions/66066971/problem-with-updating-nuget-packages-in-jetbrains-rider

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...