Microsoft KB Archive/318082

= PRB: You Are Prompted to Check Out a Large XSD File When You Try to View the XML Source =

Article ID: 318082

Article Last Modified on 2/23/2007

-

APPLIES TO

 Microsoft Visual SourceSafe 6.0C, when used with:  Microsoft Visual Studio .NET 2002 Professional Edition

 Microsoft Visual Studio .NET 2002 Enterprise Architect

 Microsoft Visual Studio .NET 2002 Enterprise Developer 

-

<div class="notice_section">

This article was previously published under Q318082

<div class="symptoms_section">

SYMPTOMS
When you try to view the extensible markup language (XML) source for a large XML Schema definition language (XSD) file, and if the solution is under source code control, you are prompted to check out the XSD file.

<div class="cause_section">

CAUSE
Visual Studio .NET must check out the file to save information that must be written to the XSD file.

<div class="resolution_section">

RESOLUTION
Save the file in Visual Studio .NET before you view the source.

<div class="status_section">

STATUS
This behavior is by design.

<div class="moreinformation_section">

Steps to Reproduce Behavior
<ol> Create a new ASP.NET Web application.</li> Add the file Tdlschema.xsd to the solution: <ol style="list-style-type: lower-alpha;"> In Solution Explorer, right-click the project, click Add, and then click Add existing item.</li> Browse to and add the following file: C:\Program Files\Microsoft Visual Studio .NET\Common7\Packages\Schemas\xml (default location in the default installation).</li></ol> </li> Add a new schema file to the solution: <ol style="list-style-type: lower-alpha;"> In Solution Explorer, right-click the project, click Add, and then click Add new Item.</li> Select the XML Schema file from the listing of Web Project items.</li></ol> </li> Add one element to the new schema file.</li> Add the solution to the source control.</li> Open the single element schema file, and then click XML Source on the View menu.</li> Open the Tdlschema.xsd file, and then click XML Source on the View menu. Note that you are prompted to check out the XSD file.</li></ol>

Keywords: kbprb KB318082

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.