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.
Comments
3 comments
-
We're having a almost the OPPOSITE problem, but in our case we can't build anything targeting:
- v4.5
- v4.6
- v4.6.1
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) -
Hi all,
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! -
I follow the instruction to install .NET 4.5.2 but will hit the following error '.NET Framework 4.5.2 or a later update is already installed on this computer.'
I encounter this error both in the following OS
Windows Server 2012 R2
Windows Server 2016
Add comment
Please sign in to leave a comment.