* Rebuildt Prebuild.exe to fix vs2008 not creating Solution
* Wrapped solution streamwrites in using for great justice0.6.0-stable
parent
0fc57de7de
commit
c0d69d0ec7
|
@ -719,8 +719,8 @@ namespace Prebuild.Core.Targets
|
||||||
|
|
||||||
kernel.Log.Write("");
|
kernel.Log.Write("");
|
||||||
string solutionFile = Helper.MakeFilePath(solution.FullPath, solution.Name, "sln");
|
string solutionFile = Helper.MakeFilePath(solution.FullPath, solution.Name, "sln");
|
||||||
StreamWriter ss = new StreamWriter(solutionFile);
|
using (StreamWriter ss = new StreamWriter(solutionFile))
|
||||||
|
{
|
||||||
kernel.CurrentWorkingDirectory.Push();
|
kernel.CurrentWorkingDirectory.Push();
|
||||||
Helper.SetCurrentDir(Path.GetDirectoryName(solutionFile));
|
Helper.SetCurrentDir(Path.GetDirectoryName(solutionFile));
|
||||||
|
|
||||||
|
@ -812,6 +812,7 @@ namespace Prebuild.Core.Targets
|
||||||
|
|
||||||
ss.WriteLine("EndGlobal");
|
ss.WriteLine("EndGlobal");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
kernel.CurrentWorkingDirectory.Pop();
|
kernel.CurrentWorkingDirectory.Pop();
|
||||||
}
|
}
|
||||||
|
|
BIN
bin/Prebuild.exe
BIN
bin/Prebuild.exe
Binary file not shown.
Loading…
Reference in New Issue