Jump to content
Sign in to follow this  
Tiago Salgado

Sharepoint 2010 + Visual Studio 2010

Recommended Posts

Tiago Salgado

Boas,

Ando aqui às voltas com um problema no VS 2010 após a instalação do Sharpoint 2010 no meu PC (win7 x64).

No VS 2010 não me aparece a opção para criar um novo projecto com o template do Sharepoint. Já andei a pesquisar mas sem sucesso p/ resolver isto.

Alguma dica?

Share this post


Link to post
Share on other sites
André Lage

Ola Tiago, qual a versao do Visual Studio 2010 que tens.

Quando crias um novo projecto, tens a opção "SharePoint" com os subniveis 2010 e 2007 e estao vazio?

Se isto e verdade verifica se tens na janela do novo projecto no minimo a versao .Net Framework 3.5

Cumprimentos,


André Lage Microsoft SharePoint, CRM and Sybase ConsultantBlog:http://aaclage.blogspot.comCodeplex:http://spupload.codeplex.com/http://simplecamlsearch.codeplex.com/

Share this post


Link to post
Share on other sites
Tiago Salgado

Olá André,

A versão que instalei foi a sharepoint foundation 2010.

No VS 2010, a opção Sharepoint nem sequer aparece.

Sim, tenho por defeito na .net framework 4.

Share this post


Link to post
Share on other sites
André Lage

Estranho estas com alguma versao express do Visual Studio 2010?


André Lage Microsoft SharePoint, CRM and Sybase ConsultantBlog:http://aaclage.blogspot.comCodeplex:http://spupload.codeplex.com/http://simplecamlsearch.codeplex.com/

Share this post


Link to post
Share on other sites
André Lage

Ok visto estar a falhar os templates faz restore

http://msdn.microsoft.com/en-us/library/0fyc0azh.aspx

"Available templates may vary according to Visual Studio version, SKU, installation options, and other customizations. If you are missing a template that comes with your installation, run devenv.exe with the /installvstemplates switch. For more information, see How to: Restore Default Project Templates."

Restore Default Project Templates "Visual Studio 2010"

http://msdn.microsoft.com/en-us/library/ms247116.aspx


André Lage Microsoft SharePoint, CRM and Sybase ConsultantBlog:http://aaclage.blogspot.comCodeplex:http://spupload.codeplex.com/http://simplecamlsearch.codeplex.com/

Share this post


Link to post
Share on other sites
Tiago Salgado

Sem sucesso. Tentei agora reinstalar o VS mas continua na mesma.

Não está facil a primeira experiencia com SP.

Share this post


Link to post
Share on other sites
André Lage

O pior e que nem seque começas-te ;).

Valida se tens os templates nesta folder para 2010

C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplatesCache\CSharp\SharePoint\SharePoint14\1033

Deveras ter pelo menos um ficheiro chamado "SharePoint14VisualWebPartProject.zip"

Os templates para sharepoint devem andar por esta folder

C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplatesCache\CSharp\SharePoint


André Lage Microsoft SharePoint, CRM and Sybase ConsultantBlog:http://aaclage.blogspot.comCodeplex:http://spupload.codeplex.com/http://simplecamlsearch.codeplex.com/

Share this post


Link to post
Share on other sites
Tiago Salgado

André, antes de mais, desculpa pela demora na minha resposta.

Testei fazer o restore dos templates mas mesmo assim não resolveu o assunto.

Visto que a minha máquina já andava a pedi-las, juntei o util ao agradavel e acabei por formatar a máquina. Fiz uma "clean installation" e está tudo operacional (até ver).

Obrigado pelas dicas

Um abraço

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.