.NET 4.5.2 용 타겟팅 팩이 설치되지 않음
Visual Studio에서 이미 존재하는 솔루션을 열 때
C # 프로젝트 "..."는이 컴퓨터에 설치되지 않은 ".NETFramework, Version = v4.5.2"를 대상으로합니다.
나는 이미 시도했다
- 옵션 2를 선택하면 일반 Microsoft 검색 페이지 ( http://www.microsoft.com/en-us/default.aspx )가 표시됩니다.
- .NET Framework 4.5 SDK 설치 ( 이 답변에서 제안한대로 )
모든 타겟팅 팩의 공식 목록 : https://www.microsoft.com/net/targeting . "런타임"이 아닌 "개발자 팩"을 다운로드해야합니다.
오프라인 설치 프로그램에 대한 직접 링크 : 4.5.2 , 4.6 , 4.6.1 , 4.6.2 , 4.7 , 4.7.1 , 4.7.2
이 문제는 Visual Studio 2013 및 Visual Studio 2015에 영향을 미치는 것으로 보입니다. 대상 지정 팩은 Visual Studio 2017에 포함되어 있습니다.
오래된 링크 :
- http://getdotnet.azurewebsites.net/target-dotnet-platforms.html
- http://blogs.msdn.com/b/dotnet/p/dotnet_sdks.aspx
링크를 찾은 방법
먼저 옵션 1, "대상을 .NET Framework 4.5로 변경"을 선택합니다.
그런 다음 영향을받는 프로젝트의 프로젝트 옵션으로 이동하여 "Application"을 선택한 다음 대상 프레임 워크 목록에서 "Install other frameworks ..."를 선택합니다.
This brings you to a website where you can choose your version of Visual Studio and download the targeting pack (called developer pack).
I had the same issue. When I loaded the project it always asked for the .NET framework 4.5.2 and I was not able to install it because it always said that it was already there.
What worked for me was to install the Microsoft .NET Framework 4.5.2 Developer Pack from https://www.microsoft.com/en-us/download/details.aspx?id=42637
Give it a try. It may work for you as well.
You need to download the .NET Framework 4.5.2 Developer Pack That link compile all the frameworks in one place
http://scottge.net/2015/07/04/a-complete-list-of-microsoft-sdks-for-download/
I had this issue with .NET 4.6.2 (VS2017) - I downloaded the Developer pack from the link provided by the error message and installed, but it didn't help.
But then I opened up the Programs and Features in Windows Control Panel, and selected to "Change" Visual Studio 2017. The installer contains a tab entitled "Individual Components", and in there I saw that Targeting Pack for 4.6.2 was not selected.
Selecting them and selecting "Modify" fixed the problem.
I faced the same problem. In spite of installing developer pack, problem did not seem to go away. I did a VS 2015 repair and voila it started working.
I was getting the same problem but downloading the NETFramework Targeting Pack didn't resolve the issue. I was prompted to change the version or download the correct version. Neither option worked. I could see .NET Framework in the registry, on the Visual STudio installer and on the turn programs on and off and verified they were there. Turns out Visual Studio 2017 Community and 2019 Community installed on c:Program Files. So it looks here for the framework files. C:\Program Files\Reference Assemblies\Framework.NETFramework\v????? For whatever reason the .NETFramework files all loaded here C:\Program Files (x86)\Reference Assemblies\Framework.NETFramework\v????? Once I copied one of the folders from x86 to the other, it worked and it was recognized and no more error. I searched but the best solution I found was to create a symbolic link from the one folder to the other. I didn't feel making a copy was a good long term solution. So I used mklink and linked the x86 folder to the other. Now it's working perfectly!
.NET Framework는 Targeting Pack과 동일하지 않습니다. Visual Studio가 제대로 작동하려면 나중에 설치해야합니다.
그만한 가치가있는 것은 필요한 개발자 팩을 설치 한 후 Visual Studio를 다시 시작해야 감지되기 전입니다. 이것이 누군가를 돕기를 바랍니다.
참고 URL : https://stackoverflow.com/questions/27931925/targeting-pack-for-net-4-5-2-not-installed
'developer tip' 카테고리의 다른 글
Java8 java.util.Date를 java.time.ZonedDateTime으로 변환 (0) | 2020.12.04 |
---|---|
두 파일이 동일한 콘텐츠를 저장하는지 확인 (0) | 2020.12.04 |
Xcode6 오류 : "응용 프로그램에 대해 일치하는 프로비저닝 프로파일이 없습니다." (0) | 2020.12.04 |
Javascript ES6 브라우저 간 감지 (0) | 2020.12.04 |
PHP에서 웹 서비스를 쉽게 사용하는 방법 (0) | 2020.12.04 |