I thought this would be simple, but I guess not. Here is what is happening. I create a new package and add a script task to it. I open up the script task and edit the script (C# 2010). In the solution explorer, I right click the project name (ST_xxxxxx). I select "Add->Existing Item". In the file explorer, I navigate to my documents folder and select (not double click) my "test.cs" which is just an empty class. At the bottom right of the file explorer window, next to the Add button, I click the down arrow and select "Add as Link". To test, I select "Build->Build ST_xxxxx". Build succeeds. I save, then close the script task VS editor. Then I click ok on the script task editor window. A "Script Error" window appears. "Scripts contained in the package have compilation errors". If I do save it, The error on the task says "Binary code for the script is not found"
Any ideas how to get around this?
I can go through that same process and select "Add" instead of "Add as Link" and it works fine. But that creates a copy of the file and has to be updated manually. I want to link to my common cs files that I use all over and not have to update them.
Any help would be appreciated.