I found out that the <solution> task doesn't compile the
MFC application correctly.
Basically, it's not adding the compiler
switch /D "_AFXDLL" or the necessary switches for MFC
configuration when compiling.
I will try to come up with a fix soon, if no one has a fix
- Create any MFC solution using Visual Studio.NET
- Create a simple NAnt build file containg something like
- Run NAnt on the script..
You would get the following errors:
1- It won't compile the resource files. This is fixed by a
previous bug (ID: 1077712)
2- The link will fail because of unresolved external
Log in to post a comment.