WindowsCE project missing Microsoft.CompactFramework.CSharp.targets in Visual Studio 2008

00x0 前言

之前在Windows 7系统中开发的WindowsCE项目,最近换成Windows 10系统,需要将项目进行修改,打开项目后提示如下错误:

无法读取项目文件“App.csproj”。
...\App.csproj(209,11): The imported project "C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.CSharp.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

00x01 问题

找不到(丢失)Microsoft.CompactFramework.CSharp.targets文件
原因是没有安装Power Toys for .NET Compact Framework 3.5

00x02 方法

安装Power Toys for .NET Compact Framework 3.5:

00x03 收工

重新打开项目,不再提示错误信息,项目成功打开.

segmentfault

msdn

posted @ 2016-04-12 11:14  CodeHsu  阅读(558)  评论(0编辑  收藏  举报