-
Notifications
You must be signed in to change notification settings - Fork 1k
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
.NET Core 3.0 support #1374
Comments
@themightylc You can use Squirrel with .NET Core similarly to how non-C# applications use Squirrel, by running Update.exe, instead of using the C# API |
Oh cool, i wasn't even aware of that. I'll look into it when/if the time
comes to do the port.
Got a couple of other third-party-dependencies, whose developers I have to
pester first ;)
Thank you for the quick response!
Paul Betts <[email protected]> schrieb am Sa., 18. Aug. 2018, 19:12:
… @themightylc <https://github.com/themightylc> You can use Squirrel with
.NET Core similarly to how non-C# applications use Squirrel, by running
Update.exe, instead of using the C# API
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1374 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF5xDosqNoT_QDeW_uVEoiFiTIZ8TU-uks5uSErugaJpZM4WCdQx>
.
|
@anaisbetts You mean by calling Update.exe from c# code like below?
|
@mihaimyh u got it, but you need to use |
@anaisbetts How should I handle this situation in debugging mode? I won't have Update.exe in my debugging folder. Should I include Squirrel.exe in the solution? |
Another suggestion is: with net .net-core 3 we are able to generate a nuget package for our project right from Visual Studio by adding the following to the .csproj:
It will be useful if squirrel can releasify that package instead. |
@mihaimyh don't run updates in debug mode, that's silly! As to .Net Core, the packages they generate are useless, you have to package manually, sorry |
@anaisbetts Thanks, my question was rather about debugging the updates, but I found my answer here https://github.com/Squirrel/Squirrel.Windows/blob/develop/docs/using/debugging-updates.md |
Is there a way to find if the .net-core version of the app was installed successfully by Squirrel before I should proceed with uninstalling the ClickOnce version? |
If your app is running, it worked! Put the ClickOnce uninstaller in your app |
Are there any plans to port the squirrel.windows NuGet package to .NET Standard/.NET Core so we can use the UpdateManager in a .NET Core 3 WPF application (for example)? |
@eduardomhg Squirrel ports to .Net core pretty cleanly. The most irritating part was that its dependent packages need to be upgraded to .Net Standard versions, and there were some breaking API changes in at least a couple (Splat and SharpCompress IIRC), and a couple others didn't offer .Net Standard packages at all (Delta Compression, WpfAnimation). But fortunately everything is open source, so it was fairly straightforward to track down the relevant commits and see what changes were required, and to create builds of the projects that hadn't yet been ported. There's a special circumstance with migrating to Core, though. Anyone with an existing legacy framework application in the field (like me) is in a weird spot. Squirrel handles the underlying framework dependency via its setup program, but users are past that step. So we either have to ask them to install the Core runtime, or live with self-contained dists. Anyway, I am doing functional and integration testing on the migrated projects as time allows. If I make it as far as a successful Squirrel deployment of my own application's .Net Core port, I'll consider my efforts successful and share what I've done. |
No, Squirrel's current API is basically set in stone. vNext would probably provide a similar API as a shim, but afaik zero people are working on it. I would not try to port Squirrel to .NET Core wholesale, I'd try to write a version of |
I have got it working with a Winforms .net core 3.0 application |
Mind sharing implementation details? |
it is the same as .net framework. you can use de example .nuspec and change the implementing files to |
and downgrade to 1.9.0. with 1.9.1 i couldn't access the namespace. still debugging why |
exclude worked like this thanks for your comments |
If my app is a standalone publish Im assuming I dont have any framework dependencies? |
Unfortunately. I think it will happen when squirrel gives for 3.x support in the future. |
@anaisbetts any complete example with .NET 5.0? |
@anaisbetts is there any documentation for how to do this? Thanks! |
Are there any plans to support .NET Core 3.0? I've run the compatibility analysis tool and quite a few issues with Squirrel pop up - all of them categorized as "not supported".
I am very much interested to moving my WPF application to .NET Core 3.0 and it would be a shame (mildly put) to lose Squirrel.
I am quite confident that I won't be able do it myself. :)
The text was updated successfully, but these errors were encountered: