File copied... "if older"

  • Thread starter Thread starter Andrey Belyakov
  • Start date Start date
A

Andrey Belyakov

Guest
Hello Folks,

Using Studio 2015 Community update 3.

In project a have a folder Schemas where are stored file "CSDL Schema v3.0.xsd".

File have processing options:
Build Action : None
Copy to Output Directory: Copy if never

Project was build and run into error in schema validation on the load.
Problem was relatively simple - line 924 and line 943 contain irrelevant entries.
Problem was solved by editing "CSDL Schema v3.0.xsd" in Bin\Debug\Schemas folder. Not a source file. File in Bin\Debug\Schemas have the same name, but was never than file in the project directory.

Problem was solved and I continue resolve "Circular reference" in "CSDL Schema v3.0.xsd".

Several times all was fine, but this morning edited file was overwritten. This is not a first time when this happen, but this time I was 100% sure that file in Bin\Debug\Schemas was overwritten by side tool.

I'm sure, that file was not open in Studio editor. Also it was not open in any tool with auto saving option. But it was overwritten.

The only option is that file was overwritten by Studio. But Studio even was not shouted down since last debugging
and options on the file supposed to exclude overwriting an existing file.

Can any body explain Studio behaviour?




Sincerely, Highly skilled coding monkey.

Continue reading...
 
Back
Top