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

MARKAND Bhatt picture MARKAND Bhatt · Apr 3, 2016 · Viewed 26.1k times · Source

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

Answer

Lex Li picture Lex Li · Apr 3, 2016

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.