wfSpy icon indicating copy to clipboard operation
wfSpy copied to clipboard

Precompiled executable

Open UweKeim opened this issue 8 years ago • 10 comments

Since I'm getting compilation errors (probably my Managed C++ setup is buggy/incomplete), I'm looking for a precompiled executable including the DLLs.

My question:

Is there a precompiled executable of wfSpy available somewhere?

(The one I found on The CodeProject is from 2003 and seems to work only with .NET 1.1)

UweKeim avatar Apr 27 '18 14:04 UweKeim

I've a VS 2017 clean installation, with C++ components installed, and I also can't compile the solution:

Severity Code Description Project File Line Suppression State Error CS0006 Metadata file 'D:\Softwares\Tools\wfSpy-4.0\wfspyhook\Debug\wfspyhook.dll' could not be found wfspylib D:\Softwares\Tools\wfSpy-4.0\wfspylib\CSC 1 Active Error CS0006 Metadata file 'D:\Softwares\Tools\wfSpy-4.0\wfspyhook\Debug\wfspyhook.dll' could not be found wfspy D:\Softwares\Tools\wfSpy-4.0\wfspy\CSC 1 Active Error CS0006 Metadata file 'D:\Softwares\Tools\wfSpy-4.0\wfspylib\bin\Debug\wfspylib.dll' could not be found wfspy D:\Softwares\Tools\wfSpy-4.0\wfspy\CSC 1 Active Error MSB8020 The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". wfspyhook D:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Platform.targets 55

Has someone an idea of where the problems could come from ?

Thank you

Fabsky avatar Jan 15 '19 16:01 Fabsky

Hmm. I'll see if I can build it.

cplotts avatar Jan 17 '19 15:01 cplotts

I did a rewrite with latest Managed C++, it is compiling and running but actually not working and I was stuck with finding the cause.

It is currently living on our internal Git only, but if anyone might use this as a basis, I would be really glad.

UweKeim avatar Jan 17 '19 16:01 UweKeim

I actually have something compiled and working ... but I still need to look at it some more. Stay tuned.

cplotts avatar Jan 17 '19 17:01 cplotts

Alright ... took me a bit to figure out ... but I forgot that you need to compile the x86 version in order to spy on a x86 application ... and the x64 version in order to spy on a x64 application.

I have no idea why people can't compile ... I was able to compile both x86 and x64 with VS 2017.

cplotts avatar Jan 17 '19 18:01 cplotts

Isn’t „works on my machine“ the most important term that every developer needs to know?

UweKeim avatar Jan 17 '19 18:01 UweKeim

I took another look at the build errors above.

Error MSB8020 The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 build tools.

I'm sure that this has to be at the heart of the problem.

I went and double checked ... I do have the Platform Toolset set to 'Visual Studio 2017 (v141)'.

So, again, I don't know why people are having trouble compiling wfSpy. I'll see if I can quickly create some binaries for people to use.

cplotts avatar Jan 17 '19 19:01 cplotts

Ok two things. I found an issue where the /clr option wasn't set for the release projects. I normally build in debug :laughing:.

I also created a tag and a release with the binaries that I was able to build. https://github.com/cplotts/wfSpy/releases/tag/2017.0

I hope this works for everyone!

cplotts avatar Jan 17 '19 19:01 cplotts

Let me know if this does work and I'll close this issue.

cplotts avatar Jan 17 '19 19:01 cplotts

Seems to work smoothly. Thanks a lot for helping me on this one.

UweKeim avatar Jan 18 '19 04:01 UweKeim