Frage

I've been developping an Excel library (xll) using Excel-DNA under Visual Studio (Trial version) only because it's the only version with I've found with Post-Build event so it would pack my whole library in one file.

But now I've found out that SharpDevelop can offer the same experiance as an open source project which would be great for what I do, only I can't figure out how to get the post-build packing to work.

This is my post-build event in Visual Studio:

echo F | xcopy "c:\uri\to\packages\Excel-DNA.0.30.3\tools\ExcelDna64.xll" "$(TargetDir)Name-of-AddIn.xll" /C /Y
"c:\uri\to\packages\Excel-DNA.0.30.3\tools\ExcelDnaPack.exe" "$(TargetDir)Name-of-AddIn.dna" /Y
War es hilfreich?

Lösung

If you have defined the post build in Visual Studio then it should just work in SharpDevelop. The post build command will be saved inside the project itself and MSBuild will execute it when the project is compiled.

If it does not then I would open up a command prompt and run MSBuild directly on your solution and see what if any errors are reported.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top