Excel file not copying during deployment

MissingLink

Member
Joined
Feb 20, 2009
Messages
7
Programming Experience
3-5
Hi there

I have a relatively simple application that takes in some variables and exports it into a Excel spreadsheet. The Excel sheet is included in the project and copy to output is set to always. The sheet is referenced in code by

VB.NET:
Dim strPath As String = System.Environment.CurrentDirectory & "\Quote Template.xls"

When I use one-click publishing though, the Excel workbook doesn't copy to application folder and as a result installed application doesn't work.

What am I doing wrong?
 
Back
Top