以前在Windows 7系統中開發的WindowsCE項目,最近換成Windows 10系統,須要將項目進行修改,打開項目後提示以下錯誤:code
沒法讀取項目文件「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.開發
找不到(丟失)Microsoft.CompactFramework.CSharp.targets
文件
緣由是沒有安裝Power Toys for .NET Compact Framework 3.5
get
安裝Power Toys for .NET Compact Framework 3.5
:io
Power Toys for .NET Compact Framework 3.5
從新打開項目,再也不提示錯誤信息,項目成功打開.import