• Sign Up Login
  • Features
    • Game Services
    • Real-time Analytics
    • LiveOps
    • Add-ons
  • Game Services
  • Real-time Analytics
  • LiveOps
  • Add-ons
  • Games
  • Pricing
  • Blog
  • Support
    • Docs
    • Forums
    • Contact
  • Docs
  • Forums
  • Contact
  • Sign Up Login
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Ideas
    • Articles
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by iiley · Oct 14 at 05:28 AM · Custom Game Servers

GSDK why PackageReference Include="System.Net.Http" Version="4.3.4" ?

The visual studio warning me it is conflix to different version. How can i do?

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Citrus Yan · Oct 15 at 09:29 AM

Hi,

So, you are talking about the package reference listed in here: GSDK_CSharp_Standard.csproj, is that right? If that’s the case, I think it generally means that Visual Studio is telling you that your System.Net.Http package version doesn’t fit with the required version(4.3.4). Update the System.Net.Http package to the targeted version(4.3.4) should do the trick. And, it would be helpful if you can provide more details such as associated screenshots, warning messages, etc. Thanks.

Comment

People who like this

0 Show 3 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image iiley · Oct 16 at 11:58 AM 0
Share

Yes, I'm not familiar with Visual Studio, I create a project for my multiplayer implements that referenced GSDK_CSharp_Standard. And my project targeted .Net Framework 4.6.1 which GSDK_CSharp_Standard depends on. (Also another confusing, i see GSDK_CSharp_Standard depends on both .Net Framework 4.5.1 and 4.6.1, don't know why)

But seems it is just a warning and my project runs well from now on. Maybe i can just ignore it.

avatar image Citrus Yan ♦ iiley · Oct 17 at 07:47 AM 1
Share

Hi @iiley

>>Also another confusing, I see GSDK_CSharp_Standard depends on both .Net Framework 4.5.1 and 4.6.1, don't know why

I believe you are talking about Target frameworks, according to the doc: "When you specify multiple target frameworks, you may conditionally reference assemblies for each target framework. In your code, you can conditionally compile against those assemblies by using preprocessor symbols with if-then-else logic". You can check the doc to find out more. Hence, it doesn't mean that GSDK_CSharp_Standard depends on both .Net Framework 4.5.1 and 4.6.1.

avatar image iiley Citrus Yan ♦ · Oct 17 at 03:31 PM 0
Share

Thanks, got it.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    2 People are following this question.

    avatar image avatar image

    Related Questions

    Custom pure c# server (Non Unity based) 1 Answer

    What happens when a client calls ClientAPI.Matchmake then does not connect to a returned server? 1 Answer

    Possible for a server to retrieve its own tags (GameInfo)? 1 Answer

    Legacy Multiplayer with Standby Servers 1 Answer

    UE4 - Heartbeat endpoint and Server id are required configuration values 2 Answers

    • PlayFab

      • Features
      • Games
      • Pricing
      • Blog
    • Engineers

      • Documentation
      • Quickstarts
      • API Reference
      • SDKs
      • Usage Limits
    • Support

      • Forums
      • Videos
      • Contact
      • Service Health
      • Terms of Service
    • Social

      • Facebook
      • Twitter
      • LinkedIn
      • YouTube
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • About Microsoft
    • Jobs
    • Accessibility
    • Diversity & inclusion
    • Security
    • Company news
    • © Microsoft 2019
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Post an idea
    • Create an article
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Ideas
    • Articles
    • Users
    • Badges