>>>Add to the project but mark as excluded
>>>
>>>>In my program I'm using SP functions. I don't want to include database into the project to avoid size increase. What should I do to avoid compiler errors?
>>
>>Is it the only way? There is 70KB difference in the exe size, though I don't think it's too much.
>
>Did it pull SPs into the Project?
What exactly do you mean? If I compile application with database inside (excluded), the size of exe is 270KB. Wihtout it it's 220KB (I miscalculated before). The difference is 50KB, which is even less. May be we should always include database and don't worry about slight exe size increase.
If it's not broken, fix it until it is.
My Blog