New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to find .net 4.0 dir #790
Comments
any ideas where this is happening? |
I suspect ExecProcess |
For now as a temporary solution I did v4.5 => copy/paste/rename => v4.0 |
I run into the same issue. You can try to install windows 7 sdk which contains the v4.0 reference assemblies, but installing win7sdk is a pain (hint: you need to uninstall any vc++ runtime first). Running fake on a build agent with win 2012 is not very easy at the moment. Is there anything in fake that needs the v4.0 reference assemblies? I've tried changing the supportedRuntime in fake.exe.config to v4.5, but the error remains. PS> .\bin\FAKE\tools\FAKE.exe --printdetails non-existing.fsx
Build failed.
Error:
Could not find a part of the path 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0'.
-------------------
FAKE usage
-------------------
fake.exe [<scriptPath>] [<targetName>] [options] |
Could you please retry? |
More details in #794. Closing this one. |
On windows server 2012 I get this message:
Could not find a part of the path 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0'
See this reference: https://support.microsoft.com/en-us/kb/2765375
In other words it is not possible to have 4.0 directory on WinServer2012. Any idea why this is happening?
The text was updated successfully, but these errors were encountered: