Hi,
I have a function with the attribute of [SQLTrigger] and trying to deploy it to the database, i get an error saying that can't deploy the function.
Hence i coded as the following
create trigger Write2Log on sales.salesorderheader for update
as External name sqldbproj.[namespace.class].Write2Lg
can any one suggest me as why this deployment is not allowed from the Visual Studio
Regards,

SQL Trigger Problem from .NET Assembly during deployment
WNeidigh
Can you throw some light on the project templates and deployment tool for VS, that you mention about....
Secondly, is there any possiblity about how to get to know the new release information... in other words, is there any mailing list that i have to subscribe to get the release information or any other mechanism
Regards,
Charsoft
[SqlTrigger(Event="FOR UPDATE",Target="Sales.SalesOrderHeader")]
public static void WriteToLog()
{
System.Diagnostics.EventLog.WriteEntry("Status", "Table Updated");
}
Regards,
SquareDanceSteve
Anyhow, thaks for reply.
Regards
AsgerM
Niels
Szász Bence
Unfortunately you can't. I have created my own project templates and deployment tool for VS, and in the next version, it'll support your issue, as well as deploying procs/functions etc to different schemas than default. This version will be released within a couple of days.
Niels
SamC
Sure, you can download the existing version from here. To hear about when a new version is released, check my blog.
Niels