Skip to content
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

Test issue #49

Open
benaadams opened this issue Jan 18, 2021 · 2 comments
Open

Test issue #49

benaadams opened this issue Jan 18, 2021 · 2 comments

Comments

@benaadams
Copy link
Owner

Npgsql-StringIntern.zip

@sebastienros
Copy link

I get this error when patching the files.

[STDERR] Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'Ben.StringIntern, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6d206e05440431a'. The system cannot find the file specified.
[STDERR]
[STDERR] File name: 'Ben.StringIntern, Version=0.1.0.0, Culture=neutral, PublicKeyToken=a6d206e05440431a'

I think you should be able to repro by publishing Fortunes in self-contained, then copying your files in the output.

@benaadams
Copy link
Owner Author

Weird, could recreate.

It looks to work if you add the package from nuget to the csproj

<PackageReference Include="Ben.StringIntern" Version="0.1.8" />

Then just copy over the Npgsql.dll and not the intern one.

Perhaps because build didn't add a reference to it in deps and its a new dll not referenced during build?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants