Ugly….. Xsd Import causes DummyVar warnings during compile time in BizTalk *UGLY*

By patrickwellink
September 8, 2009
Comments Off on Ugly….. Xsd Import causes DummyVar warnings during compile time in BizTalk *UGLY*

I am busy creating a BizTalk Software factory for BizTalk 2009.

So instead of going through all kinds of repeatable steps,

  1. enter data,
  2. do some more stuff,
  3. add pesky references
  4. do more stuff,
  5. add a map,
  6. add another map,
  7. add an orchestration,
  8. Start from step 2 again

I have those steps nicely put into a wizard. You enter data once and a complete orchestration with maps is generated. Very nice indeed.
Everything works fine but you have to look very carefully into all kind of compile errors.
So during compilation of my testproject I saw some very ugly warnings….

Warning cs0169: The field BlaBlaBla__DummyVar0 is never used.
Warning cs0169: The field BlaBlaBla__DummyVar1 is never used.
Warning cs0169: The field BlaBlaBla__DummyVar2 is never used.
Warning cs0169: The field BlaBlaBla__DummyVar3 is never used.
Warning cs0169: The field BlaBlaBla__DummyVar4 is never used.

I was curious about this Warning and didn’t know if it was caused by my software Factory or was just default behaviour.
So I started to investigate. And the results are pretty UGLY

You will get one of those DummyVar warning for every schema that is included in your current Schema !

Microsoft this is plain UGLY….

Comments: 0

Comments are closed.

  • Recent Posts
  • Recent Comments
  • Archives
  • Categories
  • Meta