"Parsing *.xsd"?

I've noticed recently when loading a project which contains XML schema files
that ReSharper appears to be parsing them. I'm curious to know why? These
particular schemas have no code asociated with them - they're not DataSet
schemas nor does XSD.EXE generate classes from them.

John


4 comments
Comment actions Permalink

Hello John,

What version do you use? Many problems with XSD were fixed in 2.5.1
EAP for 2.5.2 will be opened in few days and there are more XSD-related fixes.
You can also try latest Nightly Builds (http://www.jetbrains.net/confluence/display/ReSharper/Nightly+Builds)
to check if they resolve XSD problems.

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


JS> I've noticed recently when loading a project which contains XML
JS> schema files that ReSharper appears to be parsing them. I'm curious
JS> to know why? These particular schemas have no code asociated with
JS> them - they're not DataSet schemas nor does XSD.EXE generate classes
JS> from them.
JS>
JS> John
JS>


0
Comment actions Permalink

I'm using 2.5 build 337.

Why is is parsing schemas? I didn't know there were any features which
related to schemas.

John

"Ilya Ryzhenkov" <orangy@netix.ru> wrote in message
news:9f6b3e29132c508c919a394e53b0a@news.intellij.net...

Hello John,

>

What version do you use? Many problems with XSD were fixed in 2.5.1
EAP for 2.5.2 will be opened in few days and there are more XSD-related
fixes.
You can also try latest Nightly Builds
(http://www.jetbrains.net/confluence/display/ReSharper/Nightly+Builds) to
check if they resolve XSD problems.

>

Sincerely,
Ilya Ryzhenkov

>

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>

JS> I've noticed recently when loading a project which contains XML
JS> schema files that ReSharper appears to be parsing them. I'm curious
JS> to know why? These particular schemas have no code asociated with
JS> them - they're not DataSet schemas nor does XSD.EXE generate classes
JS> from them.
JS> JS> John
JS>



0
Comment actions Permalink

John,

Because there are type declarations, that are visible in .cs and .vb files.
And Visual Studio does not always generates code-behind file with necessary
declarations (at least, it does not in web sites).

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

"Sergey V. Coox (JetBrains)" <qx@intellij.com> wrote in message
news:eqhclg$kpi$1@is.intellij.net...

John,

>

Because there are type declarations, that are visible in .cs and .vb
files. And Visual Studio does not always generates code-behind file with
necessary declarations (at least, it does not in web sites).


Ok, makes sense now.

You might consider not doing that for Web Application projects.

John


0

Please sign in to leave a comment.