Is there a possibility to auto-generate a SQL Script for cataloging assembly?
-
miércoles, 12 de octubre de 2005 8:23
Out-of-the-box there is no way in Visual Studio .NET 2005 to auto-generate a SQL-Script for cataloging a .NET assembly into the SQL Server 2005 CLR. I mean following:
This is my Class (Arith.dll):
public class Math
{
public static int invert()
{ ... }
public static int not()
{ ... }
}
I want VS to generate the following:
CREATE ASSEMBLY Arith ...
go
CREATE FUNCTION invert ...
CREATE FUNCTION not ...
Do you now a way to do this?
Regards, Alex
Todas las respuestas
-
miércoles, 12 de octubre de 2005 6:58
Visual Studio Team Suite does that with its deployment task.For other (cheaper) editions, you might want to check out Niels Berglund's custom deployment task:<Alexander Greiner@discussions.microsoft.com> wrote in message news:c1e74ab8-4402-4743-8295-a21ec016d6a5@discussions.microsoft.com...Out-of-the-box there is no way in Visual Studio .NET 2005 to auto-generate a SQL-Script for cataloging a .NET assembly into the SQL Server 2005 CLR. I mean following:
This is my Class (Arith.dll):
public class Math
{
public static int invert()
{ ... }
public static int not()
{ ... }
}
I want VS to generate the following:
CREATE ASSEMBLY Arith ...
go
CREATE FUNCTION invert ...
CREATE FUNCTION not ...
Do you now a way to do this?
Regards, Alex -
miércoles, 12 de octubre de 2005 15:23
NNTP User wrote: For other (cheaper) editions, you might want to check out Niels Berglund's custom deployment task:
Hi Adam,
thanks a lot, I think (I havent tested it yet) that's the thing I searched... ;-)
Regards, Alex

