|
Hi,
I have a package, which calls Package.GetDialogPage to get a value from Tools/Options during the Package.Initialize(). It works fine. However, it fails in the following unit test code.
// Create a basic service provider OleServiceProvider serviceProvider = OleServiceProvider.CreateOleServiceProviderWithBasicServices(); // Site the package Assert.AreEqual(0, package.SetSite(serviceProvider), "SetSite did not return S_OK");
So what is the service that I'll need to add to the basic service provider?
Regards, Haibin
|