This project is read-only.

Role of .csproj file in module

Topics: Writing modules
Aug 23, 2011 at 3:14 PM

What role does the csproj file play when in a module within a Nuget package? Does Orchard compile the module based on that project file? If so, does it use the references listed in it? I'm trying to figure out where the references should point for things like Orchard.Core.dll and Orchard.Framework.dll.

Aug 23, 2011 at 7:33 PM

Yes, Orchard dynamically compiles the csproj, and it should use the references. You should be able to find examples of that in existing modules.