Excel-DNA / Excel-DNA/ExcelDna

Unable to build project with latest release

Open
#661 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.5k
Forks
292
Avg merge
20d 12h
Merged PRs (30d)
1

Description

I create an F# project as per the readme.txt

```


net6.0
true





```

The version downloaded is 1.8.0-alpha1

Build fails with

> Error The target platform should specified as Windows in the project file. For example, net6.0-windows

Then I manually change the project

```


net6.0-windows
true





```

now I get 2 build errors

> MSB4064 The "RollForward" parameter is not supported by the "CreateExcelAddIn" task loaded from assembly: ExcelDna.AddIn.Tasks, Version=1.1.0.0, Culture=neutral, PublicKeyToken=f225e9659857edbe from the path: C:\Users\franco.tiveron\.nuget\packages\exceldna.addin\1.7.0\tools\net452\ExcelDna.AddIn.Tasks.dll. Verify that the parameter exists on the task, the points to the correct assembly, and it is a settable public instance property. NinjaTrader.Excel C:\Users\franco.tiveron\.nuget\packages\exceldna.addin\1.8.0-alpha1\build\ExcelDna.AddIn.targets 256
>
> MSB4063 The "CreateExcelAddIn" task could not be initialized with its input parameters. NinjaTrader.Excel C:\Users\franco.tiveron\.nuget\packages\exceldna.addin\1.8.0-alpha1\build\ExcelDna.AddIn.targets 231
>

Finally I downgrade to the latest stable

```


net6.0-windows
true





```

Now the build succeeds and I can debug (F5). however. no -packed.xll files are in the output folder

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.