Thursday, December 20, 2012

Trying to reference a portable library with SlSvcUtil.exe

Trying to reference a portable library with SlSvcUtil.exe

Can someone confirm that the /reference switch does not work with slsvcutil.exe when I'm pointing it to a portable library? It seems, that it just ignores the types provided in a portable library and creates its own classes in reference.cs, which results in duplicated types in the silverlight project, which references the portable library.

Is there a reason, why it should not work?

Answers & Comments...

Answer: 1

Finally found this question, and the answer is correct! For some (unexpected) reason a default constructer solves the issue. It's even okay to make it privat. Weird.

by : Marc Wittkehttp://stackoverflow.com/users/164162




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog