tag:blogger.com,1999:blog-30748878.comments2023-09-21T23:00:10.435+10:00Add coffee, and shake wellDavid Keavenyhttp://www.blogger.com/profile/07944978161341604262noreply@blogger.comBlogger60125tag:blogger.com,1999:blog-30748878.post-25468333656107262802017-12-22T12:09:52.888+11:002017-12-22T12:09:52.888+11:00HI Mohammad, thanks for your correction - I rename...HI Mohammad, thanks for your correction - I renamed the fork, and forgot to update the blog post to match. This has now been corrected.David Keavenyhttps://www.blogger.com/profile/07944978161341604262noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-86486329540147373352017-11-13T00:19:59.306+11:002017-11-13T00:19:59.306+11:00your link is not working for github. Is it moved s...your link is not working for github. Is it moved somewhere else? can you please provide updated link for this powershell script?<br /><br />Thanks,<br />Mohammad ImranMohammad Imranhttps://www.blogger.com/profile/01836834138885594617noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-24430581981346558562017-08-31T21:56:26.992+10:002017-08-31T21:56:26.992+10:00Superb post. ThanksSuperb post. ThanksAnonymoushttps://www.blogger.com/profile/04877785821939815090noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-20216400831976564452017-08-31T21:55:53.118+10:002017-08-31T21:55:53.118+10:00Suberb post and very much to the point.
ThanksSuberb post and very much to the point.<br />ThanksAnonymoushttps://www.blogger.com/profile/04877785821939815090noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-90188491221559014842017-01-06T05:30:31.038+11:002017-01-06T05:30:31.038+11:00Thanks for the tips! I would suggest to please ad...Thanks for the tips! I would suggest to please add the namespaces to the sample code. (or use fully qualified names). granadaCoderhttps://www.blogger.com/profile/02752822942527478679noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-52309987141997200862015-10-06T12:55:35.961+11:002015-10-06T12:55:35.961+11:00Sorry about that @Bruno; with Codeplex movie its c...Sorry about that @Bruno; with Codeplex movie its content to GitHub, conversations appear to have disappeared. Maybe the internet archives will still have the original discussion?David Keavenyhttps://www.blogger.com/profile/07944978161341604262noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-34583856214083443562015-10-06T06:03:19.099+11:002015-10-06T06:03:19.099+11:00Sadly, the links are dead.Sadly, the links are dead.Bruno Branthttps://www.blogger.com/profile/16623201036572688380noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-57779734380099969802013-05-17T05:33:59.312+10:002013-05-17T05:33:59.312+10:00Interesting post!
I ran into the same problem yes...Interesting post! <br />I ran into the same problem yesterday. <br /><br />I resolved it by wrapping log4net in my own Logger class, and let it resolve the type of the calling class by examing the StackTrace.<br /><br /><br />public class MyLogger : IMyLogger<br />{<br /> private static ILog _logger;<br /> <br /> ...Some LogMethods here..<br /> <br /> public void Info(string format, params object[] parameters)<br /> {<br /> var logger = GetLoggerInstance();<br /> logger.InfoFormat(CultureInfo.InvariantCulture, format, parameters);<br /> }<br /> <br /> private ILog GetLoggerInstance()<br /> {<br /> var callingClassType =<br /> (<br /> from frame in new StackTrace().GetFrames()<br /> let type = frame.GetMethod().DeclaringType<br /> where type != typeof(MyLogger)<br /> select type<br /> )<br /> .First();<br /> <br /> _logger = LogManager.GetLogger(callingClassType);<br /> <br /> return _logger;<br /> }<br />}Sietz0rhttps://www.blogger.com/profile/16096387125390036408noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-61553280358969116082013-05-17T05:33:46.885+10:002013-05-17T05:33:46.885+10:00Interesting post!
I ran into the same problem yes...Interesting post! <br />I ran into the same problem yesterday. <br /><br />I resolved it by wrapping log4net in my own Logger class, and let it resolve the type of the calling class by examing the StackTrace.<br /><br /><br />public class MyLogger : IMyLogger<br />{<br /> private static ILog _logger;<br /> <br /> ...Some LogMethods here..<br /> <br /> public void Info(string format, params object[] parameters)<br /> {<br /> var logger = GetLoggerInstance();<br /> logger.InfoFormat(CultureInfo.InvariantCulture, format, parameters);<br /> }<br /> <br /> private ILog GetLoggerInstance()<br /> {<br /> var callingClassType =<br /> (<br /> from frame in new StackTrace().GetFrames()<br /> let type = frame.GetMethod().DeclaringType<br /> where type != typeof(MyLogger)<br /> select type<br /> )<br /> .First();<br /> <br /> _logger = LogManager.GetLogger(callingClassType);<br /> <br /> return _logger;<br /> }<br />}Sietz0rhttps://www.blogger.com/profile/16096387125390036408noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-70668740562306357912012-09-12T22:54:28.309+10:002012-09-12T22:54:28.309+10:00There's nothing to get - the humour is in the ...There's nothing to get - the humour is in the set-up, all the details like the penguins being fond of each other but not being very good at speaking English, and then the complete absence of a punchline.<br /><br />Speaking of oldies-but-goldies:<br /><br />Two parrots are sitting on a perch. One says, "Can you smell fish?"David Keavenyhttps://www.blogger.com/profile/07944978161341604262noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-82847082410714265892012-09-12T14:01:03.486+10:002012-09-12T14:01:03.486+10:00...don't get it :(...don't get it :(Sanson Lowehttps://www.blogger.com/profile/13180968137162748161noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-17282871219148301392012-09-12T14:00:49.138+10:002012-09-12T14:00:49.138+10:00....don't get it :(....don't get it :(Sanson Lowehttps://www.blogger.com/profile/13180968137162748161noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-32626495411874403282011-11-15T10:39:33.126+11:002011-11-15T10:39:33.126+11:00Not a solution really, but more of a workaround - ...Not a solution really, but more of a workaround - I use <a href="http://uppercut.googlecode.com" rel="nofollow">Uppercut</a> to manage my builds, since it handles multiple build environments nicely, and I have an extra task in there to copy the correct configuration file into the output folder.<br /><br />I would be interested to know if anyone can come up with an actual fix for this though.David Keavenyhttps://www.blogger.com/profile/07944978161341604262noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-11109919243608657892011-08-11T04:18:18.639+10:002011-08-11T04:18:18.639+10:00One small problem with this approach...
For non w...One small problem with this approach...<br /><br />For non web applications, the App.config gets renamed to match the name of the executable. For some add reason, the .config doesn't get copied into the _PublishedApplications folder. <br /><br />The modified .target file relies on files in the /obj folder to move into the _PublishedApplications folder, but the .config file doesn't get copied into the /obj folder. So, I'm at a loss as to how to fix this issue.Im_No_Scrubhttps://www.blogger.com/profile/00465626128616480329noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-60947416765935668242011-08-11T02:03:29.559+10:002011-08-11T02:03:29.559+10:00Unfortunately, this solution has one small bug. W...Unfortunately, this solution has one small bug. When building non web applications, the App.config file is not copied into the appropriate _PublishedApplications folder. <br /><br />The reason appears to be due to the removal of all reference to the /bin folder from the .targets file. The App.config file (which always gets renamed on a build to match the .exe name) doesn't get copied to the /obj folder during a build, which is where the modified .target file instructs MSBuild to get it's files from.<br /><br />Unfortunately, I haven't figured-out a solution to this yet.Im_No_Scrubhttps://www.blogger.com/profile/00465626128616480329noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-88365425011142208742011-03-24T04:10:14.771+11:002011-03-24T04:10:14.771+11:00Good post, thanks!Good post, thanks!Madmanhttps://www.blogger.com/profile/13588895718633545729noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-89571360053644520742011-03-21T14:12:16.722+11:002011-03-21T14:12:16.722+11:00Thanks man!Thanks man!Rhttps://www.blogger.com/profile/12855475030818677022noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-37246041107775272282011-03-10T15:43:12.360+11:002011-03-10T15:43:12.360+11:00That's actually pretty hot!That's actually pretty hot!Unknownhttps://www.blogger.com/profile/15155515070964520786noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-54335114115358941802010-11-11T14:38:14.492+11:002010-11-11T14:38:14.492+11:00I think I've added you as a project committer,...I think I've added you as a project committer, so you should be able to commit. Perhaps try creating a branch and adding your changes there first?David Keavenyhttps://www.blogger.com/profile/07944978161341604262noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-65380780897812629792010-11-11T08:09:22.453+11:002010-11-11T08:09:22.453+11:00Hey David, I'm not sure of the best way to con...Hey David, I'm not sure of the best way to contact you, but I've got a patch for Defects 12 and 18 on svnrevisionlabeller for you. If you add "seiggy2k" (gmailaccount) to the project I'll check it in, or just shoot me an email at that address, and I can email you the .cs file with the fix.<br /><br />Thanks.Seiggyhttps://www.blogger.com/profile/07485933589369763337noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-30988742790477044692009-07-14T20:22:45.283+10:002009-07-14T20:22:45.283+10:00More fun and games at Google
http://googleeaster...More fun and games at Google<br /><br /><br />http://googleeastereggs.com/google-elmer-fudd-elmer/Anonymoushttps://www.blogger.com/profile/12185868456290359090noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-81129853033949272412009-07-01T13:22:31.038+10:002009-07-01T13:22:31.038+10:00heidi and I are both waiting to get his and her iP...heidi and I are both waiting to get his and her iPhones next year.<br /><br />It'd be interesting to see the 3 offer. Fairly certain they will offer tethering for free. <br /><br />I must admit my experience with Optus is very disappointing thus far.Sanson Lowehttps://www.blogger.com/profile/13180968137162748161noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-41296593119503752692009-06-19T09:25:20.236+10:002009-06-19T09:25:20.236+10:00{build} can be set by you - it's an optional f...{build} can be set by you - it's an optional field in the configuration. Or you can leave it alone, and the labeller should increment it on each forced build (you can set the resetBuildAfterVersionChange field to false if you do not want the build count to reset after a commit).David Keavenyhttps://www.blogger.com/profile/07944978161341604262noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-57250365298048377122009-06-16T22:59:04.277+10:002009-06-16T22:59:04.277+10:00Any plans on releasing a build for 1.4.4 SP1? For ...Any plans on releasing a build for 1.4.4 SP1? For whatever funny reason, when I download the current source and compile against the 1.4.4 SP1 libs, NetReflector seems to be unable to find the implementation for the labeller with a type with NetReflector name svnRevisionLabeller does not exist.Unknownhttps://www.blogger.com/profile/06969846129911548901noreply@blogger.comtag:blogger.com,1999:blog-30748878.post-78521255969314491212009-06-11T00:03:12.725+10:002009-06-11T00:03:12.725+10:00Hi David,
Thanks for the update to SvnRevisionLab...Hi David,<br /><br />Thanks for the update to SvnRevisionLabeller. I am using the 2.0.0.20990 release.<br /><br />Can I confirm whether >build" is a user defined value or automatically generated. I had assumed it was generated value, but I do not think so now.<br /><br />I am currently using :-<br /><br /><major>0\<major><br /><minor>0\<minor><br /><pattern>{major}.{minor}.{build}.{revision}<pattern><br /><br />What I would really like is for the labeller to change on every build. This means that I can use <tagOnSuccess>True<tagOnSuccess> in the <sourcecontrol type="svn"> rule. Currently if I force a build it does not change the label and the tag fails because it already exists in the repository.<br /><br />I know that there is the <rebuild> tag but I do not like the value being reset back to 0 for each.<br /><br />What I support I want is for <build> to the incremented count of for each build, similar to the default labeller. Perhaps another tag could be added <buildnumber> for using the the pattern string.Unknownhttps://www.blogger.com/profile/08677275372646852006noreply@blogger.com