BUG: A compile error occurs when you try to build a Visual Studio for Applications SDK 1.1 sample project (840923)
The information in this article applies to:
- Microsoft Visual Studio for Applications SDK 1.1
SYMPTOMSWhen you open and try to build a Microsoft Visual Studio for
Applications Software Development Kit (VSA SDK) 1.1 sample project, you may
receive the following error message in the Output window of Microsoft Visual
Studio .NET 2002: The referenced component
'Microsoft.Vsa.Hosting' could not be found. The following may also occur: - On a computer that has both Visual Studio .NET 2002 and
Visual Studio .NET 2003 installed, when you open a VSA SDK 1.1 sample project,
the project opens in Visual Studio .NET 2002.
- In Visual Studio .NET 2002, when you try to build a VSA SDK
1.1 sample project, the project is built by using the Microsoft .NET Framework
1.0.
CAUSEAll VSA SDK 1.1 sample projects contain Visual Studio .NET
2002 project files. However, these projects contain references to the Microsoft.Vsa.Hosting.dll assembly. The Microsoft.Vsa.Hosting.dll assembly is not present in the .NET Framework 1.0.RESOLUTION- Start Visual Studio .NET 2003.
- On the File menu, point to
Open, and then click Project. The
Open Project dialog box appears.
- Locate, and then click the solution file for the VSA SDK
1.1 sample project that you want to open, and then click Open.
For example, locate and then click the Workbench.sln solution
file that is located in the InstallationPath\VSIP
7.1\Visual Studio for Applications SDK\Samples\Workbench folder. You receive the following message:Solution 'InstallationPath\VSIP
7.1\Visual Studio for Applications SDK\Samples\Workbench\Workbench.sln' and its
projects must be converted to the formats used by this version of Visual Studio
.NET.
If you choose to convert this solution, all of its projects will
be converted as well. Once a solution or any of its projects has been
converted, it can no longer be edited, built, or run in previous versions of
Visual Studio. If the solution is under source code control, it will be checked
out automatically. If you choose not to convert this solution, it will be
closed.
Convert this solution and all of its
projects?Note In this step, InstallationPath is a placeholder for
your installation path. - Click Yes to convert the Visual Studio
.NET 2002 solution to a Visual Studio .NET 2003 solution.
- After the conversion process is complete,
click Build Solution on the Build menu. Visual
Studio .NET 2003 builds the solution without any errors because the Microsoft.Vsa.Hosting.dll assembly is present in the Microsoft .NET Framework 1.1 class
library.
STATUS Microsoft has confirmed that this is a
bug in Microsoft Visual Studio for Applications Software Development Kit 1.1.
REFERENCESFor more information about Visual Studio for Applications,
visit the following Microsoft Developer Network (MSDN) Web site: For more information, visit the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 6/23/2004 |
---|
Keywords: | kbBug kbDLL kbIDEProject KB840923 kbAudDeveloper |
---|
|