Sign in
Robert Horvick's Weblog
Team Foundation Server
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Code
coverage
Defects
General
ghostonthird
MSBuild
PDC
rails
rake
Rants
ruby
servicing
tfs
TFS Migration
TFS Version Control
tfsquiesce
Windows7
Archive
Archives
November 2010
(1)
February 2010
(1)
October 2009
(2)
January 2009
(3)
December 2008
(3)
October 2008
(2)
November 2007
(2)
April 2007
(2)
March 2007
(1)
January 2007
(4)
December 2006
(4)
November 2006
(9)
October 2006
(5)
September 2006
(1)
August 2006
(2)
May 2006
(1)
April 2006
(2)
February 2006
(5)
September 2005
(1)
May 2005
(1)
March 2004
(12)
February 2004
(4)
January 2004
(7)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Robert Horvick's Weblog
Doug talks about the VSTS Proxy Server (and other stuff)
Posted
over 8 years ago
by
Robert Horvick
0
Comments
After spending several months working on this it is fun to hear people talking about it - thanks Doug! http://channel9.msdn.com/showpost.aspx?postid=112427
Robert Horvick's Weblog
Where I've been ... Team Foundation Source Control Proxy
Posted
over 8 years ago
by
Robert Horvick
1
Comments
While I still work for the MBF (Microsoft Business Framework) team I've been "on loan" for a while helping to develop a source control proxy server for the Team Foundation source control system. Basically the proxy server reduces data transfer times...
Robert Horvick's Weblog
My first foray into Ink - the Dots-And-Boxes game.
Posted
over 9 years ago
by
Robert Horvick
4
Comments
As a kid I used to spend a lot of time in the car traveling from Minneapolis to the lakes country of Minnesota (near Detroit Lakes , if anyone cares). Two 4-hours trips a weekend was pretty normal. So what do you do with 6 kids crammed into a Suburban...
Robert Horvick's Weblog
MSBuild Task Generator: Part 11. IntRange explained and the exciting conclusion ...
Posted
over 9 years ago
by
Robert Horvick
4
Comments
Tomorrow … next week … read: the next time I post. Specifying an integer range is one of the problems we need solve to have a reasonably robust task generator. It’s one thing to say that a property is assignable from an int, but...
Robert Horvick's Weblog
MSBuild Task Generator: Part 10. Generating properties and the OneOf constraint explained
Posted
over 9 years ago
by
Robert Horvick
0
Comments
Yesterday we generated the fields and initializers, so today let’s move on to the properties. Let’s quickly look at an example input: <? xml version = " 1.0 " encoding = " utf-8 " ?> < Tasks > < Task Namespace...
Robert Horvick's Weblog
MSBuild Task Generator: Part 9. GenerateField and generating array initializers in the CodeDOM.
Posted
over 9 years ago
by
Robert Horvick
1
Comments
GenerateField is pretty straight-forward .. here, just look: CodeMemberField GenerateField( MBFTaskProperty tp) { string privateName = string .Format("m_{0}", tp.Name); CodeMemberField cmf = new CodeMemberField (tp.Type, privateName); ...
Robert Horvick's Weblog
MSBuild Task Generator: Part 8. Implementing ITaskGenerator (a series within a series)
Posted
over 9 years ago
by
Robert Horvick
2
Comments
Now that we’re all good friends with the CodeDOM it’s time to look at the far less interesting reason for this whole series … generating MSBuild tasks. Since we’ve implemented ITask and ITaskProperty it’s time to implement...
Robert Horvick's Weblog
MSBuild Task Generator: Part 7. Rendering a loop in the CodeDOM.
Posted
over 9 years ago
by
Robert Horvick
0
Comments
For those that asked – on a Friday “tomorrow” means Monday. J And a few people have asked “what does this have to do with MSBuild” – yeah, I suppose I’m a bit off topic but I’m trying to lay a little...
Robert Horvick's Weblog
MSBuild Task Generator: Part 6. Conditional statements in the CodeDOM.
Posted
over 9 years ago
by
Robert Horvick
1
Comments
Yesterday we introduced the CodeDOM and covered some fundamentals. Creating a namespace , a class , a member method and a method body. Today we’re going to cover conditionals. I know I promised loops too but conditionals is taking enough space that...
Robert Horvick's Weblog
MSBuild Task Generator: Part 5. Introducing the CodeDOM. Hello World was never so much fun.
Posted
over 9 years ago
by
Robert Horvick
2
Comments
Yesterday we looked at a basic implementation of ITaskProperty – and I promised we start looking at the code generation today. We won’t be looking at the XML -> C# rendering but rather the CodeDOM and generating some basic expressions....
Robert Horvick's Weblog
MSBuild Task Generator: Part 4. Implementing ITaskProperty and introducing a few new attributes.
Posted
over 9 years ago
by
Robert Horvick
4
Comments
Yesterday’s post was … well … boring. But a lot of software is boring so this really isn’t a surprise. Today’s will have a little more to it but still – we’re laying the foundation before talking about the more...
Robert Horvick's Weblog
MSBuild Task Generator: Part 3. Implementing ITask
Posted
over 9 years ago
by
Robert Horvick
1
Comments
Yesterday we introduced the ITask interface. Today we’ll look at a simple implementation of the ITask interface. I’m not a big fan of reading to be people what they can read for themselves so let’s move on to the code… ...
Robert Horvick's Weblog
MSBuild Task Generator: Part 2. The basic interfaces.
Posted
over 9 years ago
by
Robert Horvick
0
Comments
Last time we looked at the XSD file and a sample rendering from XML to C#. This time I’ll introduce the primary interfaces used in the rendering process. First we have an ITask. namespace GenTaskLib { public interface ITask ...
Robert Horvick's Weblog
MSBuild Tasks, code generation and a tangent I've been stuck on for a while...
Posted
over 9 years ago
by
Robert Horvick
0
Comments
I'm still quite distracted by MSBuild. I'm also a big fan of code generation. Any time you can combine a few passions you should. If I could find a way to mix in some seafood, a Willamette Valley (Oregon) wine and a Dave Matthew's Band album believe me...
Robert Horvick's Weblog
Struct packing, source listings and the Zen of preprocessed code.
Posted
over 9 years ago
by
Robert Horvick
0
Comments
It seems that no matter how good at people (definitely including me) are at writing buggy code they are much less adept at creating good reproduction cases or using their existing tools to figure out what’s going on. A recent issue I saw involved...
Robert Horvick's Weblog
MSBuild Task ... validating a source file link exists
Posted
over 9 years ago
by
Robert Horvick
0
Comments
Ok, I’m back. No defects this week though. I’ve been distracted by MSbuild. If you are not aware MSBuild is the new build platform for Whidbey. There is some great information about MSBuild here: http://msdn.microsoft.com/msdntv...
Robert Horvick's Weblog
SOLUTION : Spotting Code Defects #3 (C++ 101)
Posted
over 9 years ago
by
Robert Horvick
7
Comments
As always thanks to those that emailed responses. Please feel free to post them in the feedback area too! The biggest problem with this piece of code is that the stream is not being checked for errors after reading. Look at this block: int age;...
Robert Horvick's Weblog
Spotting Code Defects #3 (C++ 101)
Posted
over 9 years ago
by
Robert Horvick
2
Comments
This is an easy one – something for the C++ 101 kids J When first learning C++ there are some fairly canonical samples people go through. Hello World, a simple address book, a simple game of adventure, etc. The name/age lookup sample...
Robert Horvick's Weblog
SOLUTION: Spotting Code Defects #2 (Accessing Registry Values)
Posted
over 9 years ago
by
Robert Horvick
1
Comments
This defect seems to have led a few more people astray then the last. While no one posted publicly several people emailed me solutions. Thanks to all who contributed! So let’s start with the hints: Hint #1: It is not only important to...
Robert Horvick's Weblog
HINT: Spotting Code Defects #2 (Accessing Registry Values)
Posted
over 9 years ago
by
Robert Horvick
1
Comments
There are a few defects here ... ranging from a design issue to a potential buffer-overrun that could cause your system to be comprised and the attacker to be able to execute arbitrary code on your machine. Hint #1: It is not only important to test...
Robert Horvick's Weblog
Spotting Code Defects #2 (Accessing Registry Values)
Posted
over 9 years ago
by
Robert Horvick
1
Comments
Since there was positive feedback on the last one - here is another. I will post hints and the solution next week. There are multiple defects in this code. I added the _tmain to give some context on how the function getVersionString might be called...
Robert Horvick's Weblog
SOLUTION: Spotting Code Defects - #1 (Named Pipe Server)
Posted
over 9 years ago
by
Robert Horvick
4
Comments
So the results are back – and that was some buggy code! First I want to thank everyone who played along. Both those that had the courage to post to the public comments and those that replied offline. Also - before I go further - is this...
Robert Horvick's Weblog
Spotting Code Defects - #1 (Named Pipe Server)
Posted
over 9 years ago
by
Robert Horvick
14
Comments
When you read bad code you learn what not to do. You learn to identify the many classes of errors and the patterns that often lead up to them. When you read good code you learn how to write good code. You observe “tricks” of good programmers...
Robert Horvick's Weblog
Stack buffer overrun example.
Posted
over 9 years ago
by
Robert Horvick
0
Comments
[migrated from my other blog] I can never leave well-enough alone. If I read “this is how this works“ then it's only a matter of time before I write my own example to proof what I just read. This post is another example of that... There...
Robert Horvick's Weblog
Native code caller verification - and how not to do it.
Posted
over 9 years ago
by
Robert Horvick
0
Comments
[Since people asked - I re-posted this from my other blog. I didn't “steal“ it.] Recently on Raymond Chen’s blog he had a post about not trusting return addresses . Specifically to not use the _ReturnAddress() intrinsic and GetModuleHandleEx...
Page 3 of 3 (75 items)
1
2
3