4.5.2 Framework
PLink
Posts: 1 New member
We are unable to open a 4.5.2 project. The SA error says "This assembly targets .NET Framework v4.5.2, which is not available on this computer. Install the associated .NET Framework to process this assembly." However, the server (Windows 2008 R2) definitely has the 4.5.2 Framework installed.
Tagged:
Comments
- v4.5
- v4.6
- v4.6.1
...however, we can build v4.5.2 assemblies no problem!Seems it's not realising that the other SDK Targeting packs have been installed?
(We are also on a Win2008R2 box that's been using smartassembly since b4 RedGate's acquisition)
Sorry to hear you're running into issues with SmartAssembly!
This error will come up when SmartAssembly can't locate the reference assemblies for the particular framework you are trying to target, and installing the .NET SDK for the .NET version in question should resolve this. You can install these from the links below:
.NET 4.5: https://msdn.microsoft.com/en-us/library/windows/desktop/hh852363.aspx
.NET 4.5.1: https://msdn.microsoft.com/en-us/windows/desktop/bg162891.aspx
.NET 4.5.2: https://support.microsoft.com/en-us/kb/2901951
.NET 4.6: https://dev.windows.com/en-us/downloads/windows-10-sdk
.NET 4.6.1: https://www.microsoft.com/en-us/download/details.aspx?id=49978
Hope that helps!
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?
I encounter this error both in the following OS
Windows Server 2012 R2
Windows Server 2016