コンテンツへスキップ
ものがたり
戻る

2005-09-22

[n] people have rated this content.

皆さん気が短いですなあ(w

こらこら、1増やしてどーするよ(ry

dc.exeを使ってみた

Error: Type ‘openAttrs’ in namespace ‘http://www.w3.org/2001/XMLSchema’ cannot be imported. is not supported. Either fix the schema to conform to [DataContract] rules or use ImportXmlType or use a different formatter

ふーん…

って、いやいや、-ixt付けるだけでちゃんとファイルが生成できるぞ。生成したファイルはコレ。パッと見た感じ、ちゃんとファイルが出来ていますという感じの出力だ。

$ csc -t:library  -r:System.Runtime.Serialization.dll out.cs

これでdata contractベースのserializable typeを含むdllが出来ているはず。面白くなってきた。


この記事を共有:

前の記事
dc.exeを使ってみた
次の記事
[n] people have rated this content.