Rico Schaepe wrote: > ... > > The first compilation attempt works but the application won’t start > without error. I opened the windows task manager and look at start up. > The app was seen short in the process list and disappear. I was > looking for the reason and found some threads in the mailing list, > that a <resources> block should be included for windows apps. After > that change the compilation ends with an compiling error: > Here's a shot in the dark: Do you have copies of the ${lib.dir} dlls in the same directory as the .exe? If not, try copying them over into the that directory. > > BUILD FAILED > > The SDK for the 'net-2.0' framework is not available or not configured. > > I’m totally confused now. I only want to organize the file structure > of the C# project and want to make an Nant build file which works > correctly. > > Who can help ? > This message suggests that the .Net 2.0 SDK is needed to get at the resource tools. For a quick test, try one build with -t:net-1.1 on the NAnt command line, and another with -t:net-2.0, and see if there's any difference. If all that happens is that the message changes to "The SDK for the 'net-1.1' framework....", then see if you can install the appropriate SDK.
Gary ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users