I created a test project for my web application project. One of unit testing class needs to update database, then do reset. Following the instructiron from http://weblogs.asp.net/rosherove/articles/dbunittesting.aspx I use Enterprise Services. However, my test class has error like: AdminTest is not CLS compliant because it derives from "ServiceComponent", which is not CLS-compliant.
The code is like
Imports System.Text
Imports System.EnterpriseServices
<TestClass()> _
<Transaction(TransactionOption.Required)> _
Public Class AdminTest
Inherits ServicedComponent
<TestMethod()>
Public Sub TestMethod1()
End Sub
End Class
I checked my Assemblyinfo file and found that "<A Go to the complete details ...