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
Need .Net Core 3.0 Prerelease Version #5
Comments
Thanks @stricq. .NET Core 3.0 support is definitely a goal. I might start working on this after RTM ships, though, so if pre-release version is something you care about, I'd be happy to get a PR |
What is the current state on this issue? |
A mild bump, we are migrating our WPF projects to .NET Core, it would be great if we can migrate the Ookii libs ASAP. |
I installed the existing framework version in a Core 3.1 project and have a compiler warning about the package having been restored using various framework versions up through 4.8 rather than Core 3.1 and that it may not be fully compatible with my project.
What happens if the Ookii code is pasted into the files of a new Core 3.1 project? |
Using the .NET Framework assembly in a .NET Core project has two consequences:
So in general, if you can bear with the compiler warning, it seems pretty safe to use this library in a .NET Core project. I still hope we can get the .NET Core version though. |
The Below exception thrown from
I've also tried #7 but same result. The OS is Windows 10 1909. Reproduce
TaskDialog taskDialog = new TaskDialog()
{
WindowTitle = "Title",
MainIcon = TaskDialogIcon.Information,
MainInstruction = "test",
Content = "TEST",
ExpandedInformation = "detail"
};
taskDialog.Buttons.Add(new TaskDialogButton(ButtonType.Ok));
taskDialog.ShowDialog();
|
@haruby511 I had this issue as well. But it only needs a bit of editing in your project so the library can access the
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency> Uncomment this. That should fix the issue. |
GitHub automatically closed this issue with the merge of PR #7, so I'm re-opening. I'm planning on releasing a pre-release package over the coming weekend. |
Ookii.Dialogs.Wpf 2.0.0-preview1 has been published on nuget.org Install-Package Ookii.Dialogs.Wpf -Version 2.0.0-preview1 Please test in your apps and report any issues you find. Thanks to @acemod13 for doing all the work! |
Stable version with .NET 3.1 support has been published to nuget.org: Ookii.Dialogs.Wpf 2.0.0 Install-Package Ookii.Dialogs.Wpf -Version 2.0.0 N.B.: WPF apps on .NET Core 3.1 need to declare an application manifest in order to use Ookii Dialogs. The manifest was added automatically in .NET Framework apps, but with .NET Core 3.1 this is no longer the case, so there's a little extra step that the developer needs to do. More details on the README of this repo. Thanks again to @acemod13 for the contribution! |
Need .Net Core 3.0 Prerelease Version
The text was updated successfully, but these errors were encountered: