<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>KB Article on VB Compiler Bug is Posted</title><link>http://msmvps.com/blogs/kathleen/archive/2007/12/14/kb-article-on-vb-compiler-bug-is-posted.aspx</link><description>The VB team posted the KB article on the VB 9.0 compiler bug I’ve been talking about. It’s at KB945425 an titled “Lines of code may be missing if you compile a solution that has a complex project structure in Visual Studio 2008”</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: KB Article on VB Compiler Bug is Posted</title><link>http://msmvps.com/blogs/kathleen/archive/2007/12/14/kb-article-on-vb-compiler-bug-is-posted.aspx#1521778</link><pubDate>Fri, 22 Feb 2008 16:05:16 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1521778</guid><dc:creator>Kathleen</dc:creator><description>&lt;p&gt;Chris,&lt;/p&gt;
&lt;p&gt;First, I'm sorry that I overlooked getting your post approved. I sent it by some folks that really understand this bug and the exact bug I encoutered should not be possible in VS 2005 becuase the diamond reference was illegal. Thus, you've got something else going on and it needs more follow up if a) it recurs and is causing you a problem or b) you can repro it in 2008. If you see it in 2005 and don't have 2008 loaded anywhere and can send your project to MS, they can load it in 2008. &lt;/p&gt;
&lt;p&gt;Anything that causes the breakpoints to shift, which means anything that is causing IL and source to differ, is serious. But the fix may also be going to VS 2008 SP1 (when available). &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1521778" width="1" height="1"&gt;</description></item><item><title>re: KB Article on VB Compiler Bug is Posted</title><link>http://msmvps.com/blogs/kathleen/archive/2007/12/14/kb-article-on-vb-compiler-bug-is-posted.aspx#1518164</link><pubDate>Mon, 18 Feb 2008 17:24:47 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1518164</guid><dc:creator>Chris Anderson</dc:creator><description>&lt;p&gt;Oddly enough, it&amp;#39;s not just VS2008 that seems to exhibit this behavior. I&amp;#39;ve just had it happen to me in VS2005, with a variation.... while spelunking through some WCF code, my current line of execution kept jumping around to some very arbitrary places. &amp;nbsp;That&amp;#39;s when I remembered reading about this problem in VisualStudio.... I removed several projects and got back down below the magic number 5..... and viola! Things now track back through the code the way they should be. &lt;/p&gt;
&lt;p&gt;the differences were VS2005 and not VS2008, and all references were File, not project. But we do have the complicated class model described in the problem. I&amp;#39;m glad now I didn&amp;#39;t just totally dismiss this as &amp;quot;not my problem.&amp;quot;&lt;/p&gt;
&lt;p&gt;-Chris&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1518164" width="1" height="1"&gt;</description></item><item><title>re: KB Article on VB Compiler Bug is Posted</title><link>http://msmvps.com/blogs/kathleen/archive/2007/12/14/kb-article-on-vb-compiler-bug-is-posted.aspx#1464542</link><pubDate>Tue, 15 Jan 2008 19:22:23 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1464542</guid><dc:creator>Aaron Young</dc:creator><description>&lt;p&gt;We've just tried to port our huge application (depending on configuration; 150+ projects) to VS08 and everything &amp;quot;seemed&amp;quot; to go well, (all projects target the 2.0 framework), until we tried to run the executable which failed miserabley with the &amp;lt;Your Program&amp;gt; has failed dialog.&lt;/p&gt;
&lt;p&gt;It's pure C# (there are one or two C++ projects) and the odd thing is, if we replace the Executable with one previsouly generated in VS05 (before the upgrade), the application runs fine. &amp;nbsp;This same behavior seems to exist trying to compile a new execitable in VS05 now that VS08 is installed.&lt;/p&gt;
&lt;p&gt;It seems to be a compiler issue, like this one for VB, I don't know how else to explain it.&lt;/p&gt;
&lt;p&gt;MSBuild.exe for the 2.0 framework was updated by VS08 (not sure why), so I'm sure this is the problem.&lt;/p&gt;
&lt;p&gt;Our development manager is having to contact MS to try and get some help, but it looks like we'll be backing out of VS08, at least for now.&lt;/p&gt;
&lt;p&gt;If this is a problem that will be addressed with SP1, how long do you think it'll take to be released?&lt;/p&gt;
&lt;p&gt;- Aaron.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1464542" width="1" height="1"&gt;</description></item><item><title>re: KB Article on VB Compiler Bug is Posted</title><link>http://msmvps.com/blogs/kathleen/archive/2007/12/14/kb-article-on-vb-compiler-bug-is-posted.aspx#1447642</link><pubDate>Tue, 08 Jan 2008 16:59:53 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1447642</guid><dc:creator>Justin Bennett</dc:creator><description>&lt;p&gt;I've been hitting this issue since porting a large'ish solution (16 projects to VS08). &amp;nbsp;It's a web interface with VB/C# (during port to C# entirely) and custom control projects and data access projects. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Various controls nest other custom controls so have references all over the place - just mapped in Visio and it's not pretty!&lt;/p&gt;
&lt;p&gt;It's quite a nuisance this, all the C# code works fine, but VB code that's been there for some time has started to mis-compile which is a major nuisance!&lt;/p&gt;
&lt;p&gt;I'm going to review all the references (all project based) to see where I can improve things and remove the nesting if possible, roll on SP1 asap!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1447642" width="1" height="1"&gt;</description></item></channel></rss>