Skip to content
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

Version 0.1.5.0 can't run in Windows 8 #8

Closed
kkbruce opened this issue Jul 24, 2013 · 16 comments
Closed

Version 0.1.5.0 can't run in Windows 8 #8

kkbruce opened this issue Jul 24, 2013 · 16 comments

Comments

@kkbruce
Copy link

kkbruce commented Jul 24, 2013

Hi,

I download sb.exe from NuGet, but run test will throw execpt.
I had install .NET Framework 4.5.

Error Message:

E:\Demo\packages\SuperBenchmarker.0.1.5.0\lib>sb -u http://google.com

未處理的例外狀況: System.IO.FileNotFoundException: 無法載入檔案或組件 'CommandLi
ne, Version=1.9.71.2, Culture=neutral, PublicKeyToken=de6f01bd326f8c32' 或其相依
性的其中之一。 系統找不到指定的檔案。
於 SuperBenchmarker.Program.Main(String[] args)

@aliostad
Copy link
Owner

Hi,

NuGet needs libraries so you need to download those. So do not use NuGet.
Best is to use Chocolatey.

Please answer to other open case and provide help so I can find out the issue

@kkbruce
Copy link
Author

kkbruce commented Jul 29, 2013

I use Chocolatey download it, but run will same error message.
This's picture: http://i.imgur.com/ktrBu8o.png

OS: Windows 8 x64 Ent.

TKS

@aliostad
Copy link
Owner

That is bizarre! The DLL is ilmerged in the exe and is there. Do you have .NET 4.5?

@aliostad
Copy link
Owner

The folder you are going to does not contain the exe. Can you run it in C:\Chocolatey\lib\SuperBenchmarker.0.1.5.0\tools please?

@aliostad
Copy link
Owner

Also please tell me version of your windows 8.

@kkbruce
Copy link
Author

kkbruce commented Jul 29, 2013

Hi,

  1. .NET Framework: http://i.imgur.com/iP8v8BD.png
  2. Windows 8 x64 Enterprise, Chinese Version: http://i.imgur.com/BnTDLLl.png
  3. Download Step : http://i.imgur.com/suu8Vo7.png
    exe in C:\Chocolatey\lib\SuperBenchmarker.0.1.5.0\lib.
  4. Run Step: http://i.imgur.com/TW4KpnR.png
    Run in C:\Chocolatey\lib\SuperBenchmarker.0.1.5.0\lib same result.
  5. No tools: http://i.imgur.com/euxcLu5.png
  6. Create tools, and copy sb.exe / sb.exe.config from lib, then run it: http://i.imgur.com/Tl0OrZw.png

I try Chocolatey all version sb.exe, just 0.1.5.0 and 0.1.3 will throw "System.IO.FileNotFoundException", other version sb.exe work well.

This is powerful tool, I will write in my Chinese book.
Thank you.

@aliostad
Copy link
Owner

Thanks for your detailed screenshots.
I actually do not see .NET 4.5. So I think that is your problem. As you can see, my machine shows it as ".NET Framework 4.5" and not SDK as you have it.

image

@aliostad aliostad reopened this Jul 29, 2013
@kkbruce
Copy link
Author

kkbruce commented Jul 29, 2013

Hi,

http://www.microsoft.com/en-us/download/confirmation.aspx?id=30653

I try to download "Microsoft .NET Framework 4.5", but "Install Instructions" say:

Note: Windows 8 and Windows Server 2012 include the .NET Framework 4.5. Therefore, you don't have to install this software on those operating systems.

and can't install to Windows 8 is true.

@kkbruce
Copy link
Author

kkbruce commented Jul 29, 2013

Hi,

I try sb.exe 0.1.5.0 in a Windows 8.1 Preview (VM) from Chocolatey ... is work @_@

.NET:http://i.imgur.com/T5Bu3IP.jpg
Run:http://i.imgur.com/l48uSgo.jpg

I found path is "tools" not Windows 8 "lib", feedback for you.

@aliostad
Copy link
Owner

You are right, that was a Windows 7. Now I checked my Windows 8 and it looks the same.
SO it works in Windows 8 now? Can I close this thread?

@kkbruce
Copy link
Author

kkbruce commented Jul 30, 2013

It works in Windows 8.1 Preview, Windows 8 ... not good.

@aliostad
Copy link
Owner

I can see your chocolatey has a different folder structue. What is the version?

@aliostad
Copy link
Owner

I know what it is ! You probably have an old sb.exe somewhere on your machine and regardless of these installations it is using that. Could it be the case? Do you mind searching for sb.exe?

@kkbruce
Copy link
Author

kkbruce commented Jul 30, 2013

  1. Chocolatey (v0.9.8.20)
  2. Yes, My local machine had other sb.exe, I search all sb.exe and delete it.
  3. I re-install Chocolatey and re-download SuperBenchmarker and run "sb -?" will show same error message.

@aliostad
Copy link
Owner

You need to use fuslogvw.exe:
http://msdn.microsoft.com/en-us/library/e74a18c4(v=vs.100).aspx

You might have to do this:
http://stackoverflow.com/questions/3240278/assembly-binding-log-viewer-fuslogvw-not-logging-any-bindings

That will tell you where it is looking for file and why it cannot find it.
Please show me the result after you have run.

@aliostad
Copy link
Owner

aliostad commented Jan 6, 2015

This for some reasons still showing open. CLosing.

@aliostad aliostad closed this as completed Jan 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants