StrataFrame Forum

Cannot compile MicroFour StrataFrame.sln

http://forum.strataframe.net/Topic28245.aspx

By Sam Tenney - 9/3/2010

I downloaded the StrataFrame Source Code for version 1.7.3.1 and ran the exe file to extract the needed files.  I changed the first line of the *.sln files to "Format Version 10.00" because I use Visual Studio 2008.  In Visual Studio I opened the MicroFour StrataFrame.sln project and the Error List shows 306 errors.  I am a beginner so I must have done something wrong, but I do not know how to solve this problem so I can compile the solution in debug mode so I can step through StrataFrame code.
By Ivan George Borges - 9/4/2010

Hi Sam.

Follow these steps and you should be fine:

  1. Open the solution file in your favorite text editor (ex: notepad).
  2. Find the Following:
    Microsoft Visual Studio Solution File, Format Version 11.00.
    # Visual Studio 2010.
    Replace with:
    Microsoft Visual Studio Solution File, Format Version 10.00.
    # Visual Studio 2008.

Then for the Projects (.csproj/vbproj):

  1. Open project file in your favorite text editor (ex: notepad).
  2. Find the Following:
    <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">.
    Replace with:
    <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">.

You will only notice that for the project, the VB.NET ones will show these lines above in a different order, but just change the "4.0" into "3.5"

You should do this for all the projects, which are in their respective folders:

  • MicroFour StrataFrame Base
  • MicroFour StrataFrame Business
  • MicroFour StrataFrame DBEngine
  • MicroFour StrataFrame Infragisitics Wrapper
  • MicroFour StrataFrame Inherited UI
  • MicroFour StrataFrame Security
  • MicroFour StrataFrame UI
  • MicroFour StrataFrame UI Expanded

Then Build the solution and you should be fine. Wink