Thank you very much for the help guys, adding that to the .csproj fixed it!
I did suspect that having the generated files open might cause behaviour like that, but after doing some tests to check (before and after the csproj change), it doesn't seem to affect the behaviour. (this is VS 2008 Professional Edition, on WinXP SP3) Strange. Thanks again! Ed On Sun, Jan 18, 2009 at 7:57 PM, Gavin Lambert <[email protected]> wrote: > At 07:41 19/01/2009, Sam Harwell wrote: > >> Add the following in your .csproj: >> >> <PropertyGroup> >> >> <UseHostCompilerIfAvailable>False</UseHostCompilerIfAvailable> >> </PropertyGroup> >> > > Another option is to just make sure you close the generated files before > you build. > > The underlying problem is that if the generated files are open in the > editor, then VS will compile what's in the editor, not what's on disk > (unless you make the change above). And while the files on disk have been > regenerated, the editor hasn't reloaded them yet. You can tell when you get > it wrong because you'll be prompted to reload the files after the build. > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
