File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
CefSharp.BrowserSubprocess Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 33// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
44
55using System . Diagnostics ;
6- using System . Runtime . CompilerServices ;
76using CefSharp . RenderProcess ;
87
98namespace CefSharp . BrowserSubprocess
@@ -21,20 +20,6 @@ public static int Main(string[] args)
2120 {
2221 Debug . WriteLine ( "BrowserSubprocess starting up with command line: " + string . Join ( "\n " , args ) ) ;
2322
24- if ( ! System . IO . File . Exists ( "CefSharp.dll" ) && System . IO . File . Exists ( "..\\ CefSharp.dll" ) )
25- {
26- //For publshing ClickOnce AnyCPU CefSharp.dll isn't included in the x64 build
27- //and the BrowserSubprocess fails to launch as a result.
28- //As a temp workaround load the file from the parent directory.
29- System . Reflection . Assembly . LoadFrom ( "..\\ CefSharp.dll" ) ;
30- }
31-
32- return MainInternal ( args ) ;
33- }
34-
35- [ MethodImpl ( MethodImplOptions . NoInlining ) ]
36- private static int MainInternal ( string [ ] args )
37- {
3823 SubProcess . EnableHighDPISupport ( ) ;
3924
4025 //Add your own custom implementation of IRenderProcessHandler here
You can’t perform that action at this time.
0 commit comments