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

ClickOnce Publish not working in .NET Core with Native SNI #810

Closed
cheenamalhotra opened this issue Nov 20, 2020 · 5 comments
Closed

ClickOnce Publish not working in .NET Core with Native SNI #810

cheenamalhotra opened this issue Nov 20, 2020 · 5 comments

Comments

@cheenamalhotra
Copy link
Member

Originally posted by @tatoadsl in #441 (comment)

Hello,

This seems to be not solved or at least I can't make it work properly even trying the many workaround proposed here.
My project is .NET 5 using EF Core 5.0. The dependency uses is Microsoft.Data.SqlClient 2.0.1 and the files are not deployed with ClickOnce.

The problem is the same, can't find the Microsoft.Data.SqlClient.SNI.dll file as it is not copy to the deploy folder using ClickOnce publish.

Seems it is solved when targeting a .NET Framework project but not when it is with a .NET Core project.

Any expectation of a solution for this. Now that ClickOnce is avaiable for .NET Core projects can't be deploy properly because this issue.

Thanks.

PD: Not sure if this was the right place to comment on this or better to pen a new issue.

@cheenamalhotra cheenamalhotra added this to Needs triage in SqlClient Triage Board via automation Nov 20, 2020
@cheenamalhotra cheenamalhotra moved this from Needs triage to Under Investigation in SqlClient Triage Board Nov 20, 2020
@cheenamalhotra
Copy link
Member Author

@tatoadsl

I've opened a new ticked to investigate this issue, to track well.
Will post here when I have some update!

@tatoadsl
Copy link

Thank you so much @cheenamalhotra . I invistigate more to try to find out if it is a package problem or not and I find out that could be maybe a ClickOnce itself problem under .NET Core and .NET 5.0

Find out other dependencies are having issues too when instead of using EF Core for SQL Server I tried EF Core for SQLite and also failed on deploy some dependencies of the package.

So at this point I'm not sure if it is ClickOnce itself or the package, but thanks for looking into it.

@jjxtra
Copy link

jjxtra commented Nov 21, 2020

Issue also exists for single file .net 5 builds regardless of if click once is used

@cheenamalhotra
Copy link
Member Author

Related issue: dotnet/runtime#44602

@David-Engel
Copy link
Contributor

Could not repro by publishing ClickOnce app with latest net6 version of EF Core. Files are deployed in runtimes folder. Closing as no longer repro.

@David-Engel David-Engel closed this as not planned Won't fix, can't repro, duplicate, stale Jun 11, 2024
SqlClient Triage Board automation moved this from Under Investigation to Closed Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

4 participants