Visual Studio 2010 forgets its own editor

I am using Visual Studio 2010 version 10.0.30319.1 RTMRel.

I also work with XAF (DevExpress application framework).

I right-clicked the Model.xafml (XML) file, select "Open With ...", then select "Automatic Editor Selector (XML)" from the "Select Program ..." list.

I click "Set as default." Default changes by default.

I click OK. The XML file opens in the model editor (a custom editor) as expected.

Close the custom editor window.

Then I right-click the Model.xafml file and select "Open", expecting to see a custom editor that I just set as the default.

Does not work. Instead, I see a raw XML file.

If I right-click again and select "Open With ..." again and see that the default editor was set to "Project Default Editor."

Visual Studio seems to have forgotten the default editor that I just installed.

I registered with Windows Vista as an administrator. I tried to explicitly run VS as an administrator, just in case a permission issue writes the default value. Did not help.

Am I doing something wrong or is there an error in VS that prevents him from storing the default editor?

I already asked this question and did not find any results.

Thanks in advance,

Adam

+3
source share
1 answer

http://devexpress.com/Support/Center/p/B147806.aspx

" :

- .
- " " .
- .
- ""
- XML .
- XML:

<EmbeddedResource Include="Model.DesignedDiffs.xafml">
  <SubType>Designer<SubType>
</EmbeddedResource>

-

<SubType>Designer<SubType>

- .
- .
- ""

, "( )" " ..", " Xaf" ".

+2

Source: https://habr.com/ru/post/1763840/


All Articles