Can't get Sample ProjectTracker to build in VS2010

Can't get Sample ProjectTracker to build in VS2010

Old forum URL:

pintoj posted on Friday, May 14, 2010

I am having problems trying to build the ProjectTracker sample from the Expert C# 2008 book in VS2010 Ultimate. 

I downloaded the sample code from Apress and loaded it into the directories recommended in the readme file that came with it.

I opened the csla solution file and it converted and built without any problems.

I opened the ProjectTracker solution file and it converted with warnings about it being targeted to .Net 2.0 and not to make any references to newer .Net frameworks.  It also suggested changing the target .Net framework if necessary (though I can't find where to do that in the project's properties).

When I went then to build ProjectTracker, it failed with errors about missing files or assemblies for "PresentationCFFRasterizer" in the web.config file.  I don't see that name anywhere in the web.config file itself.

I am just getting started with all of this (.Net, VS2010, CSLA, etc.) and any help would be greatly appreciated.


RockfordLhotka replied on Friday, May 14, 2010

When you convert the solution, don't let it upgrade the projects to .NET 4. Or if you do, then you'll have to deal with the various .NET incompatibilities that have been discussed in various threads recently - CSLA 3.8 doesn't "just work" in .NET 4 without some minor tweaks.

But if you keep the .NET versions at their previous levels I suspect you should have a relatively easy time of it.

pintoj replied on Friday, May 14, 2010

I finally got ProjectTracker working in VS2010!  Here is what I had to do:

I went into each web.config file that listed the PresentationCFFRasterizer assembly and just commented it out.

I also changed the dataPortal config to be local (I don't have Cassini running/configured) for PTWin.

Now I can run it from VS2010. Yeah!


Copyright (c) Marimer LLC