2
Vote

File not found: postsharp.srv.4.0-x64.exe

description

I've downloaded Cache_Release.zip and tried to build it on Windows7 64bit with .Net 4 and postsharp 2.1 installed.
 
It returned me an error File not found: postsharp.srv.4.0-x64.exe
CacheAttribute\Source\Cache\lib\PostSharp\Release\postsharp.srv.4.0-x64.exe.
 
I've copied to lib\PostSharp\Release from
C:\Program Files (x86)\PostSharp 2.1\Release
postsharp.srv.4.0-x64.exe and
postsharp.srv.4.0-x64.exe.config
 
 

and received next error

postsharp.srv.4.0-x64.exe - System Error

The program can't start because PostSharp.Hosting.Native.x64.dll is missing from your computer. Try reinstalling the program to fix this problem.
 
Could you give any suggestions how to configure test project to build.?

comments

adamgbell wrote Feb 1, 2012 at 3:58 PM

Hi,
Sorry about this, I can't take a look at this right now, but the issue is this release was made on 32 bit machine and so some of 64 bit files are missing from \lib\PostSharp.

Try copying everything from C:\Program Files (x86)\PostSharp 2.1\Release in or since you have postsharp installed, just remove the refs to lib\post sharp from the .csproj files and postsharp will be found in your install locatation

wrote Mar 26, 2012 at 1:18 PM

CodeGuru wrote Mar 26, 2012 at 1:19 PM

Also I'm having the same issue in my project and cannot seem to get it to compile !

wrote Feb 13, 2013 at 10:40 PM