You don't need visual studio installed. I run a build server that uses
the solution task without VS. However, you do need the .Net framework
installed.

Bob


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Osbun, Alex
Sent: Wednesday, April 14, 2004 10:51 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Solution task prerequisites

Does Visual Studio .Net need to be part of the build environment in
order to use the Solution task?  On an environment that has VS.Net
installed the solution task works, but I get the following error on an
environment that doesn't have VS.Net installed.  


BUILD FAILED

INTERNAL ERROR

System.Runtime.Remoting.RemotingException: Object
</80d69086_d670_4ed2_8de0_953b152a1823/I9f789nIXCMiqIgYtFK4cWGN_3.rem>
has been disconnected or does not exist at the server.

Server stack trace: 
   at
System.Runtime.Remoting.Channels.ChannelServices.CheckDisconnectedOrCrea
teWellKnownObject(IMessage msg)
   at
System.Runtime.Remoting.Channels.ChannelServices.SyncDispatchMessage(IMe
ssage msg)

Exception rethrown at [0]: 
   at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
   at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
   at NAnt.VSNet.GacResolver.IsAssemblyInGAC(String assemblyFile) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.VSNet\ReferenceGac
Cache.cs:line 133
   at NAnt.VSNet.ReferenceGacCache.IsAssemblyInGac(String assemblyFile)
in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.VSNet\ReferenceGac
Cache.cs:line 93
   at NAnt.VSNet.Reference.ResolveFromPath(String path) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.VSNet\Reference.cs
:line 617
   at NAnt.VSNet.Reference.ResolveFromFolderList(StringCollection
folderList, String fileName) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.VSNet\Reference.cs
:line 505
   at NAnt.VSNet.Reference.ResolveFromAssemblyFolders(XmlElement
referenceElement) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.VSNet\Reference.cs
:line 597
   at NAnt.VSNet.Reference.ResolveAssemblyReference(XmlElement
referenceElement) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.VSNet\Reference.cs
:line 478
   at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps,
XmlElement elemReference, ReferenceGacCache gacCache, SolutionTask
solutionTask, DirectoryInfo outputDir) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.VSNet\Reference.cs
:line 126
   at NAnt.VSNet.Project.Load(Solution sln, String projectPath) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.VSNet\Project.cs:l
ine 174
   at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask
slnTask, TempFileCollection tfc, ReferenceGacCache gacCache,
DirectoryInfo outputDir, String path) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.VSNet\ProjectFacto
ry.cs:line 70
   at NAnt.VSNet.Solution.LoadProjects(ReferenceGacCache gacCache) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.VSNet\Solution.cs:
line 491
   at NAnt.VSNet.Solution..ctor(FileInfo solutionFile, ArrayList
additionalProjects, ArrayList referenceProjects, TempFileCollection tfc,
SolutionTask solutionTask, WebMapCollection webMaps, FileSet
excludesProjects, DirectoryInfo outputDir, ReferenceGacCache gacCache)
in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.VSNet\Solution.cs:
line 127
   at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.VSNet\Tasks\Soluti
onTask.cs:line 364
   at NAnt.Core.Task.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.Core\Task.cs:line
151
   at NAnt.Core.Target.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.Core\Target.cs:lin
e 252
   at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies) in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.Core\Project.cs:li
ne 878
   at NAnt.Core.Project.Execute() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.Core\Project.cs:li
ne 835
   at NAnt.Core.Project.Run() in
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tmp75.tmp\src\NAnt.Core\Project.cs:li
ne 903

Thanks in advance!

Alex


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to