2017-06-14 468 views
26

當試圖編譯一個解決方案,我得到下面的生成錯誤:爲框架的引用程序集」 .NETFramework,版本= v4.6.2" 均未發現

Error MSB3644 The reference assemblies for framework ".NETFramework,Version=v4.6.2" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. C:\RPR\Dev\Libraries\Common\Common.csproj C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets 1111

我已經嘗試安裝.NET Framework 4.6.2 SDK以及4.6 Targeting Pack,但是我已經安裝了這兩個錯誤。我也嘗試安裝Visual Studio 2017,但它仍然給出相同的錯誤。

任何想法?

+1

我已經看到了這個問題消失,當你安裝了4.5.2開發包(即不是4.6.2,但是4.5.2開發包)。 –

回答

相關問題