문제

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
도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top