Megosztás a következőn keresztül:


Problems with the OnlineHelpSearchProvider sample

The VS SDK April CTP is finally out the door!  It contains many new samples to help you get up to speed.  Unfortunately, the OnlineHelpSearchProvider sample has a few known issues that weren't caught before the readme file was frozen.

First of all, the sample was written to use Microsoft.VisualStudio.Enterprise.ASPNetHelper.dll.  This .dll file doesn't ship with Visual Studio Pro, so if that's what you're using, you're dead in the water.

But let's say you have Visual Studio Enterprise, but you installed it to the D: drive instead of the default C: drive.  There's a <codebase> tag in the web.config file that's hardwired to the C: drive.  You have to repoint it, like this.

<

codeBase version="8.0.0.0" href="file:///D:/Program%20Files/Microsoft%20Visual%20Studio%208/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.Enterprise.ASPNetHelper.DLL"/>

Once that's done, you're good to go.

I've written a help topic on how to install and run the sample.  You can find it in the VS SDK help collection at VisualStudioIntegration/Samples/Custom Search Provider.

------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.