You add references in the project properties using "-r ../Foo/foo.dll" etc. Right click in the solution explorer to access these. For an executable project you might like to use -R, which copies the DLL to the output directory.

You can also set the inter-project dependencies by right-clicking on the solution in the Solution Explorer.

There are some notes on using the Visual Studio mode at:

[link:www.strangelights.com]

You're encouraged to add add more information and questions to the information there if you can.

Cheers!

don

By on 4/8/2007 1:45 PM ()

Thanks for your prompt reply.

I am sorry that I didn't describe my question explicitly.

Now I want to put the programs in different folders within a solution, just like the packages in Java. However, I don't know how to find the modules defined in another folder. To be frankly, I know little about the OCaml and F#, I just follow the guideline in the manual, adding the namespace declaration in each program. But it failed to find the required modules. In Java, the files are automatically classified according to the package information and put into the folders. But I don't know whether it is feasible to address the modules in different folders using the namespace accordingly. I didn't mean to use multiple projects in a solution, however, I don't know how to add a folder in a solution, it seems that there is not an option for adding a new foler in the "Add Item" menu of the solution explorer.

Best Regards.

Sunglow

By on 4/8/2007 5:22 PM ()

Hi,

Note it doesn't matter what directory source code files are in. What matters is if one project references the DLL output of another project. Then all the modules in the second project can see the modules in the first project.

If the modules are part of the same project then later modules in the list can see earlier modules automatically.

If you want to send us your project solution at "fsbugs AT microsoft DOT com" then we can show you the settings you need.

Cheers!

don

By on 4/9/2007 3:30 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