Comments (6)
Sorry, the real cause is:
The line endings in the .sln is not Windows format. But Unix format.
Please fix it.
Original comment by [email protected]
on 18 Dec 2008 at 6:29
from googlemock.
We will fix it. Meanwhile, please see
http://code.google.com/p/googlemock/wiki/KnownIssues. Thanks.
Original comment by [email protected]
on 22 Dec 2008 at 8:00
- Changed title: The .sln file cannot be opened by double-clicking.
- Changed state: Accepted
- Added labels: OpSys-Windows
from googlemock.
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
from googlemock.
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 [email protected]
on 23 Dec 2008 at 2:09
from googlemock.
Original comment by [email protected]
on 8 Feb 2009 at 11:46
- Added labels: Priority-High
- Removed labels: Priority-Medium
from googlemock.
Fixed in the trunk. It will be in the next release of GoogleMock.
Original comment by [email protected]
on 13 Feb 2009 at 1:23
- Changed state: Fixed
from googlemock.
Related Issues (20)
- Make thread-safe on Windows HOT 2
- Use override keyword with new C++11 compilers HOT 15
- MOCK_METHOD with an std::pair argument doesn't compile with VS2010 HOT 11
- got segmentation error in Linux, When gtest library is linked from /usr/lib/lgtest HOT 1
- Visual Studio 10 release link fails
- smart pointers are leaked with InSequence
- [deleted issue]
- Enable make install, just set the library to nodist.
- complie 1.7 with vs 2010 fail HOT 2
- Crash caused by missing lock HOT 4
- Suport for Variadic Templates
- Building fails on r477 HOT 1
- Is it possible to mock function template methods? HOT 1
- looser throw specifier for
- Infinite Loop when calling a mock function that takes boost::filesystem::path as parameter HOT 5
- Throwing an exception as default breaks call count expectation
- MatchAndExplainImpl fails to compile with VC++ 2013 /analyze HOT 1
- FormatTimeInMillisAsSeconds in gtest/src/gtest.cc:3504 causes compile errors when using conversion checking HOT 3
- moving to GITHUB ?
- Multiple GCC warnings on TypedEq HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from googlemock.