> ------=_Part_55722_14384925.1174380226721
> Content-Type: text/html; charset=ISO-8859-1
> X-Google-AttachSize: 1329
>
> Hi guys,<br><br>I'm experimenting with the code generator contrib and I really like the way it kills string literals :) nice. <br><br>There is one question I have (perhaps this is really obvious)<br><br>When it indexes Views it tries to match directories that end with 'Controller',
> <br>so the view folder should look something like:<br><br style="font-weight: bold;"><span style="font-weight: bold;">Views\</span><br style="font-weight: bold;"><span style="font-weight: bold;"> HomeController\ </span>
> <br style="font-weight: bold;"><span style="font-weight: bold;"> index.brail</span><br style="font-weight: bold;"><span style="font-weight: bold;"> UserController\</span><br style="font-weight: bold;"><span style="font-weight: bold;">
> index.brail</span><br style="font-weight: bold;"><br>The parser work fine and it updates MyViews. Then I surf to /home/index.rails and MR tells me it can't locate :<br><br><span style="font-weight: bold;">Views\Home\index.brail
> </span><br><br>It strips the Controller suffix. I rename the 'HomeController' directory to 'Home', MR works fine but the code generator doesn't pick up the changes... :(<br>It there and easy way to fix this?
> <br><br>cheers,<br><br>Ernst.<br><br><br><br><br> <br><br>
>
> ------=_Part_55722_14384925.1174380226721--
Sources="@(ControllerSources);@(WizardStepSources);@(ViewSources)"
But your @Compile may also be right, I'm not really an MSBuild user.
I think you're running into one of 2 things:
1) After you rename sitemap.generated.cs is not getting recreated
because the folder rename doesn't trigger a rebuild. Just delete the
file and build, or do a Rebuild (i'm not sure on rebuild so make some
really obvsious change in sitemap.generated.cs and make sure it gets
recreated)
2) Is your CodeGeneratedServices coming from windsor and not getting
recreated after making the change because the web application doesn't
restart? touch web.config or iisreset.
jacob