GMMan / SteamNotificationsTray

Tray app that shows Steam notifications count
18 stars 4 forks source link

How To Recompile #1

Closed roughnecks closed 8 years ago

roughnecks commented 8 years ago

Hi there, can you post/link a guide to recompile your software? I never did that and would like to try.

Thanks

GMMan commented 8 years ago

Install Visual Studio or MonoDevelop, load up the solution, and build.

roughnecks commented 8 years ago

Thanks. I installed Visual Studio, loaded solution and started building. I got 2 warnings and 2 errors.

WARNING 1)

Severity Code Description Project File Line Suppression State Warning The referenced component 'System.Net.Http' could not be found. SteamNotificationsTray

WARNING 2)

Severity Code Description Project File Line Suppression State Warning Could not resolve this reference. Could not locate the assembly "System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. SteamNotificationsTray

ERROR 1)

Severity Code Description Project File Line Suppression State Error CS0234 The type or namespace name 'Http' does not exist in the namespace 'System.Net' (are you missing an assembly reference?) SteamNotificationsTray C:\Users\roughnecks\Downloads\SteamNotificationsTray-1.1.1.0\SteamNotificationsTray\WebLogin\SteamWebLogin.cs 7 Active

ERROR 2)

Severity Code Description Project File Line Suppression State Error CS0234 The type or namespace name 'Http' does not exist in the namespace 'System.Net' (are you missing an assembly reference?) SteamNotificationsTray C:\Users\roughnecks\Downloads\SteamNotificationsTray-1.1.1.0\SteamNotificationsTray\NotificationsClient.cs 7 Active


I honestly have no clues about those missing assembly references, so I need a bit of help.

GMMan commented 8 years ago

Make sure you have .NET Framework 4.5.1 installed.

roughnecks commented 8 years ago

I'm running Windows 10 Home x64 Italian and it's fully updated.

framework

GMMan commented 8 years ago

Looks like I accidentally targeted ASP.NET's System.Net.Http assembly. Pull changes and you should be able to compile it properly.

roughnecks commented 8 years ago

It worked, thanks 👍