You cannot add a smart device application to an existing solution in Visual Studio .NET (834057)
The information in this article applies to:
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Professional Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
- Microsoft Visual SourceSafe for Windows 4.0
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
- Microsoft Visual C# .NET (2003)
- Microsoft Visual C# .NET (2002)
SYMPTOMSYou cannot add a smart device application that you create to
an existing solution. If the smart device application is not added to the
source code control, and then you try to add the smart device application to an
existing Windows Application project, you receive the following error
message: Project 'Smart Device Application Name'
could not be opened because the Microsoft Visual Basic .NET compiler could not
be created. All projects in a Visual Basic solution must target the same
platform, but the project you are trying to add targets a platform other than
the one specified by your solution. Note In this error message, Smart Device Application
Name is a placeholder for the name of the Smart Device
Application solution. When you try to add the Smart Device Application
project from the source code control to an existing Windows Application
project, you receive the following error message: The operation could not be completed. CAUSEWhen you try to add the Smart Device Application project
from the source code control to your Windows Application project, the Visual
Basic .NET environment tries to open the Windows Application project that is
added to the source code control. Visual Basic .NET cannot create an instance
of a second compiler. Therefore, Visual Basic .NET sets the IErrorInfo
interface, returns an HRESULT failure, and then quits the operation.STATUS This
behavior is by design.REFERENCESFor additional information about creating Windows Forms
applications for a device, visit the following Microsoft Developer Network
(MSDN) Web site: For additional information about the IErrorInfo interface, visit
the following MSDN Web site: For additional information about the Exception.HResult property, visit the following MSDN Web site:
Modification Type: | Minor | Last Reviewed: | 2/3/2006 |
---|
Keywords: | kbvs2005swept kbvs2005doesnotapply kbprb kbSrcControl kbWindowsForms KB834057 kbAudDeveloper |
---|
|