Search code examples
c#.netvisual-studio-2008compact-frameworkwindows-ce

Microsoft.CompactFramework.CSharp.targets was not found while opening projects


I tried to create a smart device project in Visual Studio 2008.

Target Platform: Windows Mobile 5.0 Pocket PC SDK.

.NET Compact Framework version: .NET Compact Framework 3.5

But I get the following error:

enter image description here


Solution

  • It is poorly documented.

    Both .NET Compact Framework Redistributable and Power Toys must be installed for all necessary files (such as MSBuild targets files) to be available for compilation.