rom3r4 / googlemock

Automatically exported from code.google.com/p/googlemock
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

The .sln file cannot be opened by double-clicking. #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try to open gmock-1.0.0\msvc\gmock.sln with vs2005.
2. open the .sln file with txt editor, the following information can be found:
Microsoft Visual Studio Solution File, Format Version 9.00
It seems it's for VS2008.

What is the expected output? What do you see instead?
The solution should be opened.
But nothing happens.
As claimed in the project home page, VS2005(8.0) SP1 should be supported.

What version of the product are you using? On what operating system?
1.0.0
WinXP

Please provide any additional information below.
No.

Original issue reported on code.google.com by billdavi...@gmail.com on 18 Dec 2008 at 4:42

GoogleCodeExporter commented 9 years ago
Sorry, the real cause is:
The line endings in the .sln is not Windows format. But Unix format.

Please fix it.

Original comment by billdavi...@gmail.com on 18 Dec 2008 at 6:29

GoogleCodeExporter commented 9 years ago
We will fix it.  Meanwhile, please see
http://code.google.com/p/googlemock/wiki/KnownIssues.  Thanks.

Original comment by shiq...@gmail.com on 22 Dec 2008 at 8:00

GoogleCodeExporter commented 9 years ago
If you are able to open the solution file from your IDE using File | Open, the 
line
endings are not the reason. Do you have both Visual Studio 2005 and a previous
version (e.g., Visual Studio 2003) installed on your system? This is likely 
Visual
Studio 2003 complaining.

What happens if you right click on the solution and select 'Open With' 
sub-menu? If
it shows "Microsoft Visual Studio Version Selector", try choosing it.

Original comment by vladlosev on 22 Dec 2008 at 11:28

GoogleCodeExporter commented 9 years ago
Thank you very much.

Yes, we can open the project through File->Open.

To my environment, I am sure there is only VS2005SP1. And I can see "Microsoft 
Visual
Studio Version Selector" after clicking 'Open With'.

But originally, the icon of gmock.sln file has no '8' on it. And I can't open 
the
solution by double clicking. If I open the .sln file and reset the line endings 
to
Windows format (CR+LF), '8' will occur. And I can open the .sln by double 
clicking.

I don't know what's the difference to VS2005 between double clicking and 
File->Open.
But according to my test, the line ending has really caused some problem. It may
puzzle some newbies to gmock.

Original comment by billdavi...@gmail.com on 23 Dec 2008 at 2:09

GoogleCodeExporter commented 9 years ago

Original comment by zhanyong...@gmail.com on 8 Feb 2009 at 11:46

GoogleCodeExporter commented 9 years ago
Fixed in the trunk.  It will be in the next release of GoogleMock.

Original comment by zhanyong...@gmail.com on 13 Feb 2009 at 1:23