BUG: File May Change When Saving to a Web ProjectID: Q190767
|
When an HTML or Active Server Pages (ASP) file in a Web project is saved
(from any editor), or when an HTML or ASP file is moved, copied, or added
to a folder in a Web project, the content of the file may be changed
without warning.
When a file that has been changed in this manner is saved from the Visual
InterDev editor, no indication is given to the user that the file has been
changed. The save appears to be successful, and the file-dirty indicator
(*) in the title bar of the document disappears. But, the document in the
editor differs from the file on disk.
This happens when the "Link Repair" option of a Web project is enabled. This issue is a limitation of the manner in which Link Repair is implemented.
Disable the "Link Repair" option of the Web project. This option is shown on the General tab of the Web project's Properties page. You can get to the Web project's Properties page by right-clicking on the name of the project in the Project Explorer window, and selecting Properties.
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
Link Repair is enabled by default in newly created Web projects.
This issue is known to cause the following changes:
<p align=center> becomes <p align="center">
<a href="My File.htm"> becomes <a href="My%20File.htm">
<img src=Pic.gif> becomes <img src="Pic.gif" HEIGHT=20
WIDTH=20>
<option value=""> becomes <option value>
<img src=images/myPic.gif>
More information may be found in the documentation for Front Page Extensions.
Additional query words:
Keywords : kbExtension kbFrontPage kbide kbServer kbVisID600bug kbVS600bug kbGrpASP
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: July 13, 1999