Could you please give more details. How is that happened ?

By on 1/17/2008 2:56 AM ()

I wrote a module that uses Microsoft.Office.Interop.Excel. I am now writing the test module for that.

The error is occuring in the test class. This is the line it is <i>complaining<i> about: let ws = ExcelHelper.get_work_sheet "V:\Test.xls" (ExcelHelper.get_app) The ExcelHelper function looks like this: let get_work_sheet filepath (app:_Excel.ApplicationClass) = ... If I dont include the test project, my solution builds. I have no idea what the problem could be...

By on 1/17/2008 3:12 AM ()

I have found the problem...

I had changed my one project from a .exe to a .dll.

I had this line in the test class:

#r "<i>XYZ<i>.Core.exe" Which should have been: #r "<i>XYZ<i>.Core.dll" Sorry my fellow F-Sharpians ;)

By on 1/17/2008 3:37 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper