|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
is it possible to mark my CLR function as UNSAFE in code or visual studio anywhere so that wehn vs dis it possible to mark my CLR function as UNSAFE in code or visual studio
anywhere so that wehn vs deploys, it creates unsafe assembly? (instead of me having to manualy deploy in tsql!) What are you after?
I mean, why would you want to mark assembly unsafe? -- Show quoteMiha Markic [MVP C#, INETA Country Leader for Slovenia] RightHand .NET consulting & development www.rthand.com Blog: http://cs.rthand.com/blogs/blog_with_righthand/ "DR" <softwareengineer98***@yahoo.com> wrote in message news:OojmIfNIIHA.3768@TK2MSFTNGP06.phx.gbl... > is it possible to mark my CLR function as UNSAFE in code or visual studio > anywhere so that wehn vs deploys, it creates unsafe assembly? (instead of > me having to manualy deploy in tsql!) > DR,
This is not the best newsgroup to ask this. I suggest news:\\microsoft.public.dotnet.languages.csharp Cor Cor is confused. I think he meant microsoft.public.sqlserver.clr.
This is NOT a C# issue. All of my CLR Executable examples are in VB.NET. As to the question: When the assembly is created in Visual Studio it's possible to set the CREATE ASSEMBLY option as needed in the Project Properties. It's also do write the TSQL yourself and specify the Unsafe (whatever) in the CREATE. -- Show quote____________________________________ William (Bill) Vaughn Author, Mentor, Consultant, Dad, Grandpa Microsoft MVP INETA Speaker www.betav.com www.betav.com/blog/billva Please reply only to the newsgroup so that others can benefit. This posting is provided "AS IS" with no warranties, and confers no rights. __________________________________ Visit www.hitchhikerguides.net to get more information on my latest book: Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition) and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook) ----------------------------------------------------------------------------------------------------------------------- "Cor Ligthert[MVP]" <notmyfirstn***@planet.nl> wrote in message news:D0315865-D1DB-4D1F-A1D9-64D9C8B72C92@microsoft.com... > DR, > > This is not the best newsgroup to ask this. > I suggest news:\\microsoft.public.dotnet.languages.csharp > > Cor |
|||||||||||||||||||||||