-
-
Notifications
You must be signed in to change notification settings - Fork 465
Publish using "Produce single file" - Unhandled exception. System.ArgumentException: The path is empty. (Parameter 'path') #2073
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
As per https://learn.microsoft.com/en-us/dotnet/api/system.reflection.assembly.location?view=net-5.0 For
For |
@amaitland You are right... maybe the behavior of PuppeteerSharp 8* can be brought back as fallback, when Assembly.Location is empty. |
Yeah. We should fix this. |
v9.0.2 is being cooked at the moment. |
mh... would you accept a pr that automates publishing to nuget.org using github actions? |
@stesee please! |
It seems that "Improve DownloadFetcher executable path #2074" did not solve the issue. Testing this using https://github.com/stesee/PuppeteerSharpMinimalRepro/blob/master/PuppeteerSharpMinimalReproTests/PuppeteerSharpMinimalReproTests.cs resulting in
|
Ops. PRs are welcome :) |
See https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli#api-incompatibility for list of known |
* Fixed #2073 * Fixed review findings Fixed some errors caused by outdated test adapter serching for .net core 2.1 * Addressed review input * Naming of test addressed * Update PublishSingleFileTests.cs * Update PublishSingleFileTests.cs * Update BrowserFetcher.cs --------- Co-authored-by: Seeland, Stefan <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Description
PuppeteerSharp 9.0.0 introduced a bug that will cause to fail the parameterless ctor of BrowserFetcher when using in some published exe with "Produce single file" enabled.
Complete minimal example reproducing the issue
Expected behavior:
Running without exception, like PuppeteerSharp 8.
Actual behavior:
Versions
Additional Information - Workarround - Use overloads of the BrowserFetcher ctor.
The text was updated successfully, but these errors were encountered: