SteamDesktopAuthenticator
SteamDesktopAuthenticator copied to clipboard
Failing to build on linux
I followed the steps on the README for building on linux 1:1. All packages are up-to-date and the steamauth submodule is cloned as well
/home/easton/Downloads/SteamDesktopAuthenticator/Steam Desktop Authenticator/CommandLineOptions.cs(16,10,16,21): error CS0246: The type or namespace name 'ParserStateAttribute' could not be found (are you missing a using directive or an assembly reference?)
/home/easton/Downloads/SteamDesktopAuthenticator/Steam Desktop Authenticator/CommandLineOptions.cs(16,10,16,21): error CS0246: The type or namespace name 'ParserState' could not be found (are you missing a using directive or an assembly reference?)
/home/easton/Downloads/SteamDesktopAuthenticator/Steam Desktop Authenticator/CommandLineOptions.cs(17,16,17,28): error CS0246: The type or namespace name 'IParserState' could not be found (are you missing a using directive or an assembly reference?)
/home/easton/Downloads/SteamDesktopAuthenticator/Steam Desktop Authenticator/CommandLineOptions.cs(19,10,19,20): error CS0246: The type or namespace name 'HelpOptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
/home/easton/Downloads/SteamDesktopAuthenticator/Steam Desktop Authenticator/CommandLineOptions.cs(19,10,19,20): error CS0246: The type or namespace name 'HelpOption' could not be found (are you missing a using directive or an assembly reference?)
/home/easton/Downloads/SteamDesktopAuthenticator/Steam Desktop Authenticator/BrowserRequestHandler.cs(43,30,43,45): error CS0539: 'BrowserRequestHandler.OnPluginCrashed(IWebBrowser, IBrowser, string)' in explicit interface declaration is not found among members of the interface that can be implemented
/home/easton/Downloads/SteamDesktopAuthenticator/Steam Desktop Authenticator/BrowserRequestHandler.cs(48,40,48,60): error CS0539: 'BrowserRequestHandler.OnBeforeResourceLoad(IWebBrowser, IBrowser, IFrame, IRequest, IRequestCallback)' in explicit interface declaration is not found among members of the interface that can be implemented
/home/easton/Downloads/SteamDesktopAuthenticator/Steam Desktop Authenticator/BrowserRequestHandler.cs(75,30,75,48): error CS0539: 'BrowserRequestHandler.GetAuthCredentials(IWebBrowser, IBrowser, IFrame, bool, string, int, string, string, IAuthCallback)' in explicit interface declaration is not found among members of the interface that can be implemented
/home/easton/Downloads/SteamDesktopAuthenticator/Steam Desktop Authenticator/BrowserRequestHandler.cs(86,30,86,44): error CS0539: 'BrowserRequestHandler.OnQuotaRequest(IWebBrowser, IBrowser, string, long, IRequestCallback)' in explicit interface declaration is not found among members of the interface that can be implemented
/home/easton/Downloads/SteamDesktopAuthenticator/Steam Desktop Authenticator/BrowserRequestHandler.cs(91,30,91,49): error CS0539: 'BrowserRequestHandler.OnProtocolExecution(IWebBrowser, IBrowser, string)' in explicit interface declaration is not found among members of the interface that can be implemented
/home/easton/Downloads/SteamDesktopAuthenticator/Steam Desktop Authenticator/BrowserRequestHandler.cs(101,30,101,48): error CS0539: 'BrowserRequestHandler.OnResourceResponse(IWebBrowser, IBrowser, IFrame, IRequest, IResponse)' in explicit interface declaration is not found among members of the interface that can be implemented
/home/easton/Downloads/SteamDesktopAuthenticator/Steam Desktop Authenticator/BrowserRequestHandler.cs(15,35,15,50): error CS0535: 'BrowserRequestHandler' does not implement interface member 'IRequestHandler.OnDocumentAvailableInMainFrame(IWebBrowser, IBrowser)'
/home/easton/Downloads/SteamDesktopAuthenticator/Steam Desktop Authenticator/BrowserRequestHandler.cs(15,35,15,50): error CS0535: 'BrowserRequestHandler' does not implement interface member 'IRequestHandler.GetResourceRequestHandler(IWebBrowser, IBrowser, IFrame, IRequest, bool, bool, string, ref bool)'
/home/easton/Downloads/SteamDesktopAuthenticator/Steam Desktop Authenticator/BrowserRequestHandler.cs(15,35,15,50): error CS0535: 'BrowserRequestHandler' does not implement interface member 'IRequestHandler.GetAuthCredentials(IWebBrowser, IBrowser, string, bool, string, int, string, string, IAuthCallback)'
1 Warning(s)
14 Error(s)```
Ok so the CefSharp interface for IRequestHandler seems to be out of date. Version 109.1.110
namespace CefSharp
{
public interface IRequestHandler
{
bool OnBeforeBrowse (IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, IRequest request, bool userGesture, bool isRedirect);
void OnDocumentAvailableInMainFrame (IWebBrowser chromiumWebBrowser, IBrowser browser);
bool OnOpenUrlFromTab (IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, string targetUrl, WindowOpenDisposition targetDisposition, bool userGesture);
IResourceRequestHandler GetResourceRequestHandler (IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, IRequest request, bool isNavigation, bool isDownload, string requestInitiator, ref bool disableDefaultHandling);
bool GetAuthCredentials (IWebBrowser chromiumWebBrowser, IBrowser browser, string originUrl, bool isProxy, string host, int port, string realm, string scheme, IAuthCallback callback);
bool OnCertificateError (IWebBrowser chromiumWebBrowser, IBrowser browser, CefErrorCode errorCode, string requestUrl, ISslInfo sslInfo, IRequestCallback callback);
bool OnSelectClientCertificate (IWebBrowser chromiumWebBrowser, IBrowser browser, bool isProxy, string host, int port, X509Certificate2Collection certificates, ISelectClientCertificateCallback callback);
void OnRenderViewReady (IWebBrowser chromiumWebBrowser, IBrowser browser);
void OnRenderProcessTerminated (IWebBrowser chromiumWebBrowser, IBrowser browser, CefTerminationStatus status);
}
}
If you're looking for an alternative on Linux, you may want to try steamguard-cli.
I had this same problem. What happened is I accidentally updated all the packages. The building on linux tutorial tells you to just update Newtonsoft.Json (which at 13.0.3 is already up to date). What you want to do is completely reset the git repository to upstream (I used git reset --hard
) and just build it like that.