Acropolis may cause problems with normal WPF projects in VS2008 RTM RRS feed

  • General discussion

  • When I stared to use VS2008 RTM on some xaml pages the designer won’t render the pages and showed this error line.


    Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Line '1' Position '396'.          


    But it still compiles and run fine.


    It worked fine before in VS2008 beta 2 and when I ask other people to check on there pc with VS2008 RTM it works.


    I reinstalled VS2008 and it still did the some thing.  I was just ready to reinstall my whole pc when I tried for the last time to uninstall all VS add-ons that I didn’t use. With my disbelieve it work and realize it was Acropolis Aug CTP that caused it.  When I installed it again the error came back and I uninstalled it again and the errors went away.



    Here is code that I used to test this


    <Window x:Class="WpfApplication4.Window1"



        Title="Window1" Height="300" Width="300">


            <Style x:Key="style1" TargetType="{x:Type ToggleButton}"  >

                <Setter Property="Background" Value="Red" />



        <TreeView Name="treeView1">



                    <ControlTemplate TargetType="{x:Type TreeViewItem}">

                        <ToggleButton Style="{StaticResource style1}" />








    I know Acropolis is dead and I ported my code a long time ago but did not uninstall it.


    For the people that still use Acropolis I hope you don’t run into the some problem.





    Thursday, March 27, 2008 12:30 PM