WCF Service Where is System.Windows.dll?

Today I’m working on a WCF project that use a library in wich a method return a System.Windows.Rect.
Trying to add System.Windows to the project reference, the System.Windows references doesn’t appear on the list.
To fix the problem I found many people that use System.Windows located on Silverlight directory.

To avoid this trick I found that Rect and Size structure are included in WindowsBase.
So add WindowsBase to the project reference and the structures Rect and Size are in the same namespace System.Windows.

Annunci

Informazioni su Andrea Regoli

Project Manager .Net Developer WPF WP7 Asp.Net c# javascript ajax SQL sharepoint
Questa voce è stata pubblicata in .Net, c#, WCF e contrassegnata con , , , . Contrassegna il permalink.

Una risposta a WCF Service Where is System.Windows.dll?

  1. Roger ha detto:

    We stumbled over here by a different website and thought I should
    check things out. I like what I see so i am just following you.
    Look forward to looking into your web page again.

Rispondi

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...