Was this problem with Slingshot not working with .NET 2003 sln files ever resolved?

I downloaded the 03-Jun-2003 NAnt Contrib and got the latest built slingshot exe and 
dll.

Slingshot however is still giving me the same "not a Format Version 7.00" error 
described by others.  I have a second copy of the project I am working on that I did 
not upgrade which still uses framework 1.0 and slingshot rocks with that sln file.

Any info would be great!

(In a Jam) 
-Shawn





-----Original Message-----
From: Jean Rajotte [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 07, 2003 12:07 PM
To: 'Danieius Jurna'; [EMAIL PROTECTED];
[EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: [Nant-users] Can't get slingshot working


Danieius -- i have the same problem.  i've fixed it and put the fix in
cvs.  you can wait for the next nightly build, or you can get and
compile the new source for SlingshotTask.cs.

dev --  an OptionSet is supposed to be an ArrayList of what?  Option or
OptionElement?  all code examples i see in tasks expect Option, but here
in SlingshotTask.cs, if we just blindly expect Option, we smoke.
OptionSet here contains OptionElements !?
the fix here is to check and cast appropriately. however, i'd recommend
that optionset be made into a safe collection if possible.  why have 2
classes (Option and OptionElement) when one oughtta be enough?

-- jean

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Danieius Jurna
> Sent: Wednesday, May 07, 2003 01:53
> To: [EMAIL PROTECTED]
> Subject: [Nant-users] Can't get slingshot working
> 
> 
> Hy.
> 
> I'm trying to convert my *.sln project to nant build file. 
> I'm using .NET Frameword 1.1 NAnt-0.8.2 
> NAntContrib-20030506-debug (is there a relese buld? I can only find 
> nighty build).
> 
> My build file:
> <?xml version="1.0"?>
> <project name="Test" default="build">
>       <target name="build">
>               <slingshot solution="Test.sln" format="nant" 
> output="Test.build">
>                  <parameters>
>                      <option name="build.basedir" value="."/>
>                  </parameters>
>              </slingshot>
>       </target>
> 
> </project>
> 
> When I'm executing NAnt, i get following error:
> 
> build:
> [slingshot] Converting Test.sln to Test.build using nant format
> 
> INTERNAL ERROR
> System.InvalidCastException: Specified cast is not valid.
>     at 
> NAnt.Contrib.Tasks.SlingshotTask.OptionSetToHashtable(OptionSet 
> options, String optionSetName)
>     at NAnt.Contrib.Tasks.SlingshotTask.ExecuteTask()
>     at SourceForge.NAnt.Task.Execute()
>     at SourceForge.NAnt.Target.Execute()
>     at SourceForge.NAnt.Project.Execute(String targetName)
>     at SourceForge.NAnt.Project.Execute()
>     at SourceForge.NAnt.Project.Run()
> Please send bug report to [EMAIL PROTECTED]
> 
> What I'm doing wrong?
> -- 
> Danieius Jurna
> [EMAIL PROTECTED]
> 
> 
> 
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, 
> Santa Clara The only event dedicated to issues related to 
> Linux enterprise solutions www.enterpriselinuxforum.com
> 
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/n> ant-users
> 



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to