Abilitare l'Intellisense per i file di SharePoint in Visual Studio

domenica, 24 febbraio 2008 09.37 by Marco Bellinaso

Se sviluppate soluzioni per SharePoint sapete bene quanti file XML ci si trovi a trovi a dover creare o modificare per realizzare e distribuire webpart, feature, content type, site column e site definition. Giusto per citarne alcuni: manifest.xml, elementManifest.xml, feature.xml, schema.xml, onet.xml ecc. Perdere ore a causa di un GUID sbagliato o di un attributo impostato male è già fin troppo facile...non è il caso di complicarsi ulteriormente la vita scrivendo per forza a mano e a memoria tutto l'XML, con il rischio di dimenticarsi il nome o il casing di un attributo o un elemento, giusto? E' per questo che è bene attivare l'Intellisense per i file XML di SharePoint, nel modo seguente:

1) Andare in "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML" e copiare i seguenti file: Wss.xsd, CamlQuery.xsd, CamlView.xsd, CoreDefinitions.xsd
2) Andare in "C:\Program Files\Microsoft Visual Studio 9.0\Xml\Schemas" e incollare i file copiati al punto 1
3) Chiudere e riaprire Visual Studio
4) Verificare che l'Intellisense sia attivo in uno dei vari file XML su cui si lavora, controllando che usi il namespace "http://schemas.microsoft.com/sharepoint/"

  

Correntemente valutato 1.0 da 1 utenti

  • Currently 1/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Segnala:  
Tags:   , ,
Categorie:   Sviluppo software
Azioni:   E-mail | Permalink | Commenti (10) | RSS CommentiRSS comment feed

Post correlati

Commenti

gennaio 9. 2010 07.15

Rhinoplasty los angeles

I was enjoying the second week of a two-week vacation the same way I had enjoyed the first week: by doing as little as possible.

I ignored my wife's not-so-subtle hints about completing certain jobs around the house, but I didn't realize how much this bothered her until the clothes dryer refused to work, the iron shorted and the sewing machine motor burned out in the middle of a seam. The final straw came when she plugged in the vacuum cleaner and nothing happened.

She looked so stricken that I had to offer some consolation.

"That's okay, honey," I said. "You still have me."

She looked up at me with tears in her eyes. "Yes," she wailed, "but you don't work either!"





Regards
Mire




Rhinoplasty los angeles

gennaio 12. 2010 08.08

hip hop forum

Actual transcript from meeting of "Arab Comunity Organizations of Anytown":

#1: I am the leader.

#2: No, I am the leader, you are not the leader.

#3: No, he is the leader, I am the President.

#2: Are your saying I'm not the leader?

#4: Wait, I am the leader.





Regards
Orta

hip hop forum

gennaio 12. 2010 12.47

adirondack chairs australia


The bartender asks the guy sitting at the bar, "What'll you have?" The guy answers, "A scotch, please." The bartender hands him the drink, and says "That'll be five dollars," to which the guy replies, "What are you talking about? I don't owe you anything for this."

A lawyer, sitting nearby and overhearing the conversation, then says to the bartender, "You know, he's got you there. In the original offer, which constitutes a binding contract upon acceptance, there was no stipulation of remuneration."

The bartender was not impressed, but says to the guy, "Okay, you beat me for a drink. But don't ever let me catch you in here again."

The next day, same guy walks into the bar. Bartender says, "What the heck are you doing in here? I can't believe you've got the audacity to come back!"

The guy says, "What are you talking about? I've never been in this place in my life!" The bartender replies, "I'm very sorry, but this is uncanny. You must have a double."

To which the guy replies, "Thank you. Make it a scotch."




Regards
White








adirondack chairs australia

marzo 22. 2010 15.05

ssk sorgulama

This is a really good read for me, Must admit that you are one of the best bloggers I ever saw.Thanks for posting this informative article.

ssk sorgulama

marzo 23. 2010 16.20

ehliyet

Aw, this was a really quality post. In theory I'd like to write like this too - taking time and real effort to make a good article... but what can I say... I procrastinate alot and never seem to get something done.

ehliyet

marzo 24. 2010 14.41

rolex replica

thank you

rolex replica

marzo 25. 2010 14.54

bağkur

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post

bağkur

marzo 27. 2010 08.24

rolex replica

thank you

rolex replica

marzo 27. 2010 09.43

rolex replica

thank you

rolex replica

aprile 8. 2010 16.10

gerdek gecesi

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post

gerdek gecesi

Commenti chiusi