I have created a site definition using Visual Studio. Which have a deploy option (or F5) to deploy the solution to the current solution. Now, how can I use the same site definition solution to another site which is located in a different server.
I think you have created it using the Visual Studio extensions (VSeWSS) and that packages everything for you into a wsp.In your folder strucutre you should have a wsp, you can use this .wsp file and deploy it as a solution to whichever farm you want and then use it.Check out this blog: blogs.msdn.com/.../...nition-using-vsewss-1-3.aspxSimplest way would be take the WSP from your current server and then use it. To get the WSP from Current server use following in the console app and run it from the WFE (u r server):SPSolutionCollection solutions = SPFarm.Local.Solutions;foreach (SPSolution solution in solutions){ SPPersistedFile wspFile = solution.SolutionFile; wspFile.SaveAs("c:\\Temp\\Solutions\\" + solution.Name);}