상세 컨텐츠

본문 제목

VS2008 Project Error

C#

by 탑~! 2017. 11. 1. 18:18

본문

NETCFv35PowerToys.zip

VS2008  Error Report


The imported project "C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.CSharp.targets" was not found.

Confirm that the path in the <import> declaration is correct, and that the file exists on disk.




원인 : C:\Windows\Microsoft.NET\Framework\v3.5microsoft.compactframework.csharp.targets 해당 파일이 존재하지 않아 에러 발생

해결 : https://www.microsoft.com/en-us/download/confirmation.aspx?id=13442 재설치


참고 : csproj 내용 중 


Open your csproj file in notepad and Find the below line:

  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

and change it into

  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />

출처 : http://stackoverflow.com/questions/36381909/microsoft-compactframework-csharp-targets-was-not-found


출처 : http://yk778899.tistory.com/entry/MicrosoftCompactFrameworkCSharptargets

관련글 더보기