correction inline ----- Original Message ----- From: "Gert Driesen" <[EMAIL PROTECTED]> To: "Ian MacLean" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, March 04, 2003 9:35 AM Subject: [nant-dev] runtime support for .NET CF ?
> Hi Ian, > > Thanks for implementing support for multiple runtimes, but I had still have > issues if I want to use it for building assemblies for the .NET Compact > Framework. The following is an example of what a configuration section for > the .NET Compact Framework could look like : > > <frameworkinfo > name = "NETCF-1.0" > description = "Microsoft .Net Compact Framework Framework 1.0" > version = "1.1.4322" > RuntimeEngine="" > CsharpCompilerName = "csc" > ResGenName = "cfresgen" > > > <SdkDirectory useregistry="true" > regkey="Software\Microsoft\.NetCompactFramework" regvalue="sdkInstallRoot" > /> This should actually be : <SdkDirectory useregistry="true" regkey="Software\Microsoft\.NetFramework" regvalue="sdkInstallRootv1.1" /> > <frameworkDirectory useregistry="true" > regkey="Software\Microsoft\.NetFramework" regvalue="InstallRoot" /> > </frameworkinfo> > > However, this will not work because : > > - The .NET CF uses the SDk directory of the .NET 1.1 framework sdk for all > tools (like sn, gacutil...), but it does not use the .NET 1.1 framework sdk > for generating resource files (resgen), for resgen the location should be > the value of the Software\Microsoft\.NetCompactFramework\SdkInstallRoot + > "v1.0.5000" ( + "bin", but you already do this in code)" > > - We should have a different setting for specifying the location of the > system assemblies (eg. RuntimeAssemblyStore), because the .NET Compact > Framework must use the system assemblies that are located in <value of > Software\Microsoft\.NetCompactFramework\sdkInstallRoot> + "v1.0.5000\Windows > Ce". > > Would it be possible to add this ? > > By the way the FrameworkDirectory is fine for .NET Compact Framework because > it uses the .NET Framework 1.1 csc and .NET 1.1 assembly linker. > > The .NET CF actually has version number 1.0.5000, but it also relies on the > .NET Framework 1.1 ... so it actually has two version numbers ... one should > be used for locating the Framework directory, and one should be used for > locating the .NET Compact Framework sdk directory. > > I certainly don't mean to sound negative about the work you've been done, > it's really great !!!! But it's not enough for building a .NET CF assembly > ... > > By the way, if you intend to allow settings to be configured for individual > tasks (there already entries for this in the settings file), you should > perhaps confsider allowing these settings to be configured on the runtime > level for each task (separate settings for the csc task running in NET-1.0 > runtime and csc task running in Mono-020 runtime). > > Thanks, > > Gert > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nant-developers mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-developers > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
