Thread (16 messages) flat view 16 messages, 5 authors, 2016-08-13

Re: [PATCH 1/2] Make generated MSVC solution file open from Windows Explorer

From: Sebastian Schuberth <hidden>
Date: 2016-06-15 22:47:27

On Sat, Sep 26, 2009 at 00:11, Alex Riesen [off-list ref] wrote:
On Sat, Sep 26, 2009 at 00:05, Shawn O. Pearce [off-list ref] wrote:
quoted
Sebastian Schuberth [off-list ref] wrote:
quoted
In order to be able to open the generated solution file by double-clicking it
in Windows Explorer, all project files need to use DOS line-endings and a
comment about the Visual Studio version needs to be added to the header of the
solution file. This also fixes the icon that is displayed for the solution file
in Windows Explorer.
Note that opening the solution file from a running instance of Visual Studio
already worked before.
Something is wrong with both patches; neither applies.  It looks
to be an issue with whitespace, like context lines are gaining an
extra space at the start of the line.
Besides, there is PERLIO environment variable. Try setting it to
PERLIO=':perlio'
But I don't feel like using it here would be the right thing to do.
Visual Studio project files should never ever be written out with Unix
line-endings, not even if someone created them under Unix. So instead
of relying on the environment variable to be set correctly, I believe
it's better to always enforce the correct line-endings here.

-- 
Sebastian Schuberth
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help