I just created a new Visual Studio project in an existing VS solution. But for some strange reason, I cannot set the .NET framework for it to 8.0. I did select to "Install other frameworks" and I installed the latest x64 version of .NET 8.0, but this particular Visual Studio project still can't find it.
What's weird is I have two other VS projects in this same solution that are configured to use .NET 8.0 successfully. So what's going on?
What's weird is I have two other VS projects in this same solution that are configured to use .NET 8.0 successfully. So what's going on?
Rename
The target frameworks are all .NET Framework versions (e.g., 4.7.2), not .NET Core or .NET 5+. That suggests that when you created the new project, you accidentally selected a .NET Framework project template instead of a .NET 8.0 project template.
The VS project library creation choices are a little confusing. Apparently for WL8, one wants the C# library choice that supports WPF applications. It might be worthwhile to clarify that in the DataSetProvider instructions.
If your library doesn't require WPF you don't need to select that option. Your mistake was selecting a class library that relies on the .NET Framework (this is the old framework.)
Instead you can select this option:
Instead you can select this option:
QUOTE:
If your library doesn't require WPF you don't need to select that option.
Well, I need a way to "trigger" my DataSetProvider so it reads an Excel file created by the Fidelity stock screener after the market closes. I was thinking (but I haven't decided yet) of creating an extension submenu item to do that with, which may require some WPF. But if there's a better way, do suggest it. I suppose I could poll the Download folder for an Excel file.
If I choose a VS project config that supports multiple OSes (Android, Windows, Linux, MacOS, etc.), isn't that going to make my project library bigger?
Thanks in advance for all the help.
I don't know, but I can't see why you'd want to do that because WL8 is currently Windows only. If you need to interact with the UI choose a WPF library, otherwise the one I highlighted above.
Your Response
Post
Edit Post
Login is required