Skip to content

ExcelDna quick start #678

Answered by govert
kuankuan27 asked this question in Q&A
Feb 29, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

The main package to reference is called ExcelDna.AddIn, and version 1.7.0 is the current release. Visual Studio 2022 is best. It's better these days to make an SDK-style project file, which you get by picking the "Class Library" project template instead of the "Class Library (.NET Framework)" template. After the project is create, just change the TargetFramework to "net472" or "net48" to target .NET Framework, which is simplest. Then your NuGet package references go into the project files as <PackageReference> items and you don't have a packages.config file. Having done all of this, you can press F5 to build and debug (sometimes need to build twice to get rid of a VS bug after you change …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kuankuan27
Comment options

@govert
Comment options

Answer selected by kuankuan27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants