Thursday, March 22, 2012

Can't find microsoft.sqlserver.execpackagetaskwrap.dll in Sept CTP

I'm trying to find the following reference for a VS2005 C# project but can't see to locate it on two of my machines which uses Sept CTP install (Ent & Dev) both with SQL2K already installed:

Namespace: Microsoft.SqlServer.Dts.Tasks.ExecutePackageTask
Assembly: Microsoft.SqlServer.ExecPackageTaskWrap (in microsoft.sqlserver.execpackagetaskwrap.dll)

The only thing that I can find is ..\Program Files\Microsoft SQL Server\90\DTS\Binn\ExecPackageTask.dll

Is that the same thing or am I missing something? Thanks.

It's in the GAC.

|||Thanks but I still can't reference it in my C# project. Is it referenceable or use within another namespace?|||

Try this:

Right click References --> Add Reference in your C# project
In Add Reference dialog select Browse page.
In File Name type:

%windir%\assembly\GAC_MSIL\Microsoft.SqlServer.ExecPackageTaskWrap\9.0.242.0__89845dcd8080cc91\Microsoft.SqlServer.ExecPackageTaskWrap.dll

P.S. You don't need it if you access properties using TaskHost.Properties[]

sql

No comments:

Post a Comment