Edited xxx.vbproj file after the conversion to VS2005 from VS2003. Won't open now.

  • Thread starter Thread starter GW
  • Start date Start date
G

GW

After the conversion and fixing some errs VS2005 threw, project ran OK.

Opened xxx.vbproj file after the conversion to VS2005 from VS2003.

Changed (usng wordpad) ../msbuild/2003 to 2005 thinking that should read
2005

Unable to open project after that. Chgd back to 2003. Unable to open. Err
unable to read xxx.vbproj(218,16)

No other chgs in this project file.

Any suggestions?

Thks, GW

xxx.vbproj

<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectType>Local</ProjectType>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
 
ok,

I have converted about a dozen projects to vs2005, and NEVER edited the
vbproj file. If the project ran ok then why did you edit the vbproj
file?

Second, If you were going to edit it you should use notepad or
ultraedit or something. From my experience in the past, WordPad adds
extra linefeed and carriage returns into the file which then other
programs barf when they see it.

Try making a new vbproj file with notepad, and type the text in by
hand, if you copy and paste im not sure if it will copy the carriage
returns.
 
As to why see my comment 2003 -> 2005. Previous edits in VS2003 where for
diff reasons.

Copied vproj from VS2003 again , converted and all is OK.

Edited VBproj in VS2003 with wordpad often without errors so assumed could
do the same in VS2005.

Will try again using notepad. Thks for the suggestion.
 
Back
Top