At first sorry for my bad english.

As i wanted to use slingshot to convert a Solution-file containing a VB-Projct to a build-file by comandline, I ran into problems. Slingshot seems to have problems with projects other than C#.

I found out that there is only the Valid ProjectID given for C# sharp in the sourcefiles of slingshot.

 

I fixed this for me by changing the line 113 in Solution.cs

from: string commonProjectId = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}";

to: string commonProjectId = "{F184B08F-C81C-45F6-A57F-5ABD9991F28F}";

 

and compiled slingshot. I think this can cause the problems you have

 

I hope this works

 

In German:

 

Als ich versuchte eine Solution mit einem eingebettetem VB-Project zu konvertieren, mit slingshot per Komandozeile zu konvertieren. Stellte ich fest das, das VB-Projekt nicht konvertiert wurde. Nach einigem Probieren und stöbern im Sourcecode zu shlingshot. Fand ich heraus das sich die ProjectID’s von BV.NET und C# Projekten unterscheiden. Ich denke das kann auch bei anderen Projekten zutreffen. Im Sourcecode wird nur die ProjectID der C# Projekte behandelt.

 

Da ich nur VB.NET brauchte. Löste ich das indem ich in der Datei Solution.cs die Zeile 113

Von: string commonProjectId = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}";

Nach: string commonProjectId = "{F184B08F-C81C-45F6-A57F-5ABD9991F28F}";

änderte.

 

Neu kompilierte und die mitgelieferte Version von NANT überschrieb

 

 

Ich hoffe das hilft

 


I've stopped 761 spam messages. You can too!
One month FREE spam protection at www.cloudmark.com
Cloudmark SpamNet - Join the fight against spam!

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Eric Fetzer
Gesendet: Mittwoch, 27. August 2003 23:09
An: Nant Users
Betreff: [Nant-users] slingshot task

 

I'm experiencing a problem with slingshot:

 

D:\projects\procard>nant -f:BuildWebBuild.build
NAnt version 0.8.3 Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///D:/projects/procard/BuildWebBuild.build
[slingshot] Converting ProCard.Centre.Web.sln to MySolution.build using nant format
[slingshot]  -- option = bin
Total time: 0 seconds.

BUILD FAILED

The <parameters> option 'build.basedir' is required.

 

My <parameters> option contains build.basedir as follows:

 

<project name="Web">
   <slingshot solution="Project.SubProject.Web.sln" format="nant" output="MySolution.build">
       <parameters>
           <option name="build.basedir" value="bin"/>
       </parameters>
       <maps>
           <option name="http://localhost

" value="."/>
       </maps>
  </slingshot>
</project>

 

 

Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

<<image001.gif>>

Reply via email to