Made changes to compilation and other things

- Added basic support for embedded resources (resx files are next!)
- Print out exit code from executed command (makes debugging easier)
- Fixed dnvm2.cmd to avoid putting things on the user path
- Fixed up propagation of exit codes
This commit is contained in:
David Fowler 2015-10-18 19:02:09 -07:00
parent dc46d3e23e
commit 6ba4781c4f
7 changed files with 493 additions and 20 deletions

View file

@ -7,7 +7,7 @@ namespace Microsoft.DotNet.Tools.Compiler.Csc
{
public class Program
{
public static void Main(string[] args)
public static int Main(string[] args)
{
DebugHelper.HandleDebugSwitch(ref args);
@ -31,7 +31,7 @@ namespace Microsoft.DotNet.Tools.Compiler.Csc
return result.ExitCode;
});
app.Execute(args);
return app.Execute(args);
}
private static Command RunCsc(string cscArgs)