2
Vote

Build project broken

description

The Build application uses .svn\entries file to obtain revision information directly from the SVN "entries" file. However, the SVN working copy metadata format recently changed and the build project is now broken.
 
I worked around the problem by changing the Revision() function as follows:
    static string Revision()
    {
        using (var reader = new IO.StreamReader("../../../../.svn/entries"))
        {
            return reader.ReadLine();
        }
    }
Note that I an not sure what the first line of the entry files contains, just that it returns "12" for me (which allows the build to proceed). Perhaps this dependency can somehow be removed to prevent issues like this in the future?

comments

manchuwook wrote Jul 4, 2012 at 8:38 PM

Did the developer on this project die or something?

sr_codeplex wrote Jul 4, 2012 at 9:16 PM

I hope not. cheer :P

wrote Feb 21, 2013 at 10:49 PM

sergey_shandar wrote Nov 7, 2013 at 4:01 AM

Use OpenLinqToXsd project http://openlinqtoxsd.codeplex.com/