You can change the compilation order (within VS 2008, which is what I am using, although VS 2005 may be similar) by performing the following steps:

  1. Load up your solution.
  2. Right-click on your project name in the Solution Explorer and select "Unload Project"
  3. Right-click on your project name and select "Edit <insert your project name>.fsharpp"
  4. Scroll down to section "Files".
  5. Move the entries around to the order in which you want them compiled. NOTE: One entry consists of the file name in double quotes ("), followed by a {, then various values (probably ProjRelPath), then a }. Move these lines as a unit.
  6. Save and close the file.
  7. Right-click on your project name and select "Reload Project".
  8. Viola - you are done.

Hopefully, that helps solve your problem.

Regards,

z.

By on 12/19/2007 9:45 AM ()

Thank you

By on 12/19/2007 10:35 AM ()

Brilliant, I never thought of opening up the project file and manipulating things this way. IDEs easy on the eyes horror to your soul. Another valuable life lesson - thank you

By on 12/19/2007 10:33 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper