developer tip

.NET 4.5.2 용 타겟팅 팩이 설치되지 않음

optionbox 2020. 12. 4. 08:07
반응형

.NET 4.5.2 용 타겟팅 팩이 설치되지 않음


Visual Studio에서 이미 존재하는 솔루션을 열 때

C # 프로젝트 "..."는이 컴퓨터에 설치되지 않은 ".NETFramework, Version = v4.5.2"를 대상으로합니다.

스크린 샷 오류 메시지

나는 이미 시도했다


모든 타겟팅 팩의 공식 목록 : 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에 포함되어 있습니다.

오래된 링크 :

링크를 찾은 방법

먼저 옵션 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

반응형