views:

579

answers:

1

I have a Pocket PC 2003 solution, consisting of three projects, that was created in Visual Studio 2005. I open the solution in Visual Studio 2008 and two of the projects fail to convert due to errors like the following:

Unable to read the project file 'PDA.vbproj'. D:\PDA.vbproj(121,61): The imported project "C:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.VisualBasic.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

This file exists in the v2.0.50727 directory

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.CompactFramework.VisualBasic.targets

but not in the v3.5 directory. I looked on another of my development computers and the file is there. I reinstalled v3.5 of the .NET Framework and Compact Framework, but that did not restore the file. Where does it come from?

+1  A: 

It is one of the MSBuild target files and would be installed with visual studio.

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

Chris Lively
Thanks. A reinstall of VS2008 replaced them. It would be nice to know what made them disappear.
raven