Article ID: 821173 - Last Review: January 17, 2007 - Revision: 2.1 PRB: "Identifier Expected" Error Message When You Compile an Upgraded Visual C# .NET ProjectOn This PageSYMPTOMSYou can use Java Language Conversion Assistant (JLCA) to
convert your Visual J++ projects and Java code to Visual C# .NET code. However,
if you do the following, you receive an error message:
CAUSEThis behavior occurs because the wizard cannot assign a value to the RootNamespace namespace. When JLCA converts the Visual J++ project, JLCA generates a project file (for example, ProjectName.csproj) that contains project settings for the Visual C# .NET project. However, the JLCA tool does not assign a value for the RootNamespace namespace in the project file because the tool cannot identify the namespace value for the class that the wizard generates. RESOLUTIONTo resolve this problem, type the namespace in the project
properties as follows:
STATUS This
behavior is by design. MORE INFORMATIONSteps to Reproduce the Behavior
REFERENCESFor more information about JLCA, visit the following Microsoft
Web site: http://msdn2.microsoft.com/en-us/vstudio/aa718346.aspx
(http://msdn2.microsoft.com/en-us/vstudio/aa718346.aspx)
| Article Translations
|

Back to the top
