Etiquetado: visual studio

First days

Well, this is my 4th day here and I feel very comfortable. The environment is much more quiet than what I was used to. During these days I been reading about ISO standards, learning about the organization and working with Entity Framework.

Yesterday while I was working with the Entity Data Model Designer I got an error and my Visual Studio stopped working “forever”. As usual I tried reopening it, but no way. Then MatiasW suggested me to open the visual studio command line tool and run “devenv.exe /?” to see if any of the options provides a way to fixed the problem. After two or three shots I got it, “devenv /ResetSkipPkgs” solved my I issue. Now you know: if you have any trouble with Visual Studio, try with devenv options before reinstalling it.

That ‘s all folks!

VS2008 extension for SharePoint 2007

Last week I started a development project based on SharePoint 2007 and for the first time for this kind of projects I am using Visual Studio 2008 and the corresponding extensions for SharePoint. Among other things, these extension add some projects templates. Yesterday I noticed that these project templates are class library projects, but with a particular behavior. When you right click on the project file there is a “Deploy” option, witch does not exist in the case of regular class library projects. At first I thought that it was because of some properties in the configuration of the project, but I checked it and there was…nothing. So I opened the project file with a text editor and I noticed that the SharePoint project file had the following additional line:

<ProjectTypeGuids>{593B0543-81F6-4436-BA1E-4747859CAAE2};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>

It seems that this line is the magic item that adds the “Deploy” option in the VS project file menu. I will try to get some more information about this curiosity.