Somehow I managed to download NAnt .85 and not NAntContrib (I wondered why
it looked exactly like the other binary I had, size and all). Now I am
getting a better error message (I think)
build.FACCBase:
[msbuild] Build started 5/26/2011 3:57:55 PM.
[msbuild] Project "C:\TESTTFS\FACCBase\FACCBase.sln" on node 0 (default
target
s).
[msbuild] C:\TESTTFS\FACCBase\FACCBase.sln.cache(136,5): error MSB4126:
The sp
ecified solution configuration "debug|BNB" is invalid. Please specify a
valid so
lution configuration using the Configuration and Platform properties (e.g.
MSBui
ld.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave
those
properties blank to use the default solution configuration.
[msbuild] Done Building Project "C:\TESTTFS\FACCBase\FACCBase.sln"
(default ta
rgets) -- FAILED.
[msbuild]
[msbuild] Build FAILED.
[msbuild]
[msbuild] "C:\TESTTFS\FACCBase\FACCBase.sln" (default target) (1) ->
[msbuild] (ValidateSolutionConfiguration target) ->
[msbuild] C:\TESTTFS\FACCBase\FACCBase.sln.cache(136,5): error
MSB4126: The
specified solution configuration "debug|BNB" is invalid. Please specify a
valid
solution configuration using the Configuration and Platform properties
(e.g. MSB
uild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or
leave tho
se properties blank to use the default solution configuration.
[msbuild]
[msbuild] 0 Warning(s)
[msbuild] 1 Error(s)
[msbuild]
[msbuild] Time Elapsed 00:00:00.01
BUILD FAILED
C:\TESTTFS\FACCBase\FACCBase.build(21,5):
Failed to start MSBuild.
C:\TESTTFS\FACCBase\FACCBase.build(21,5):
External Program Failed:
C:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe
(return code was 1)
From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Thursday, May 26, 2011 3:52 PM
To: Jed Padilla; 'Brass Tilde'
Cc: nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] Solution format of file is not supported.
The installation instruction for nantcontrib say to copy the
<nantcontrib>\bin files in the <nant>\bin folder. Did you do that?
-chris
From: Jed Padilla [mailto:jpadi...@flclerks.com]
Sent: Thursday, May 26, 2011 3:49 PM
To: 'Brass Tilde'
Cc: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Solution format of file is not supported.
I guess I am missing something simple. I went out and downloaded
nantcontrib 0.85. I tried adding the following to my build.FACCBase
target
<msbuild project="FACCBase.sln">
<property
name="Configuration" value="debug"/>
</msbuild>
And now I am getting the error Invalid element <msbuild>. Unknown task or
datatype.
I put NAntContrib in a different spot that I put NAnt 0.9, and changed my
nant.bat file to reflect the new location. What did I not do correctly?
I think once I overcome this initial hurdle I will be good to go.
From: Brass Tilde [mailto:brassti...@gmail.com]
Sent: Thursday, May 26, 2011 3:32 PM
To: Jed Padilla
Cc: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] Solution format of file is not supported.
We've found that it's easiest to just use the MSBuild task, rather than
the solution task, which calls out to MSBuild itself.
On Thu, May 26, 2011 at 2:22 PM, Jed Padilla <jpadi...@flclerks.com>
wrote:
I recently had a friend recommend NAnt to me. The project I am working on
has 10 different solutions to it, and each solution usually has multiple
projects within that will output dll files for the final solution to use.
I have a very simple .build file right now:
<project name="Solution Build Example" default="rebuild">
<property name="configuration" value="release"/>
<target name="clean" description="Delete all previously compiled
binaries.">
<delete>
<fileset>
<include name="**/bin/**" />
<include name="**/obj/**" />
</fileset>
</delete>
</target>
<target name="build" description="Build all targets.">
<call target="build.FACCBase"/>
</target>
<target name="rebuild" depends="clean, build" />
<target name="build.FACCBase">
<solution configuration="${configuration}"
solutionfile="FACCBase.sln">
</solution>
</target>
</project>
The clean part is working fine, however when I get to the build portion I
get errors:
Solution format of file 'C:\TESTTFS\FACCBase\FACCBase.sln' is not
supported.
I am sure that you all will need more information to help me, so if you
tell me what I am missing to get this working I will provide as much as I
can. The solution in question has 8 projects and an active config of
Debug|Any CPU
Thanks.
Jedadiah Padilla
Programmer/Analyst ||
Florida Association of Court Clerks
--------------------------------------------------------------------------
----
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
***This e-mail message is intended only for the above named recipient(s)
and may contain information that is sensitive or proprietary. If you have
received this message in error or are not the named recipient(s), please
immediately notify the sender, delete this e-mail message without making
a copy and do not disclose or relay this e-mail message to anyone.***
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users