oo-70-245-1

oo-70-245-1 Commit Details


Date:2016-09-12 18:09:12 (8 years 3 months ago)
Author:Natalie Adams
Branch:master
Commit:867ca30982a2e4e50fc2db839f1cf84397487f8c
Parents: 52053902edd3eb047202782f1e9da8765f6a8163
Message:adding csharp compile

Changes:

File differences

csharp.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@echo off
:: Nathan Adams
:: 8/13/2014
:: 70-245 Object Oriented Design
:: This script is designed to invoke the C# compiler assuming that they don't have VS installed
:: Microsoft bundles csc.exe with the .Net Framework itself which lives under:
:: C:\Windows\Microsoft.NET\Framework
:: Note - .Net 3.0 does not seem to come packages with .Net compilers
:: This script will go down and attempt to find one - the assumption is that every system has .Net installed.
if exist C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe (
echo Compiling with .Net 4.0
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe %*
goto :end
)
if exist C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe (
echo Compiling with .Net 3.5
C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe %*
goto :end
)
if exist C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe (
echo Compiling with .Net 2.0
C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe %*
goto :end
)
:end
if exist %CD%\%~n1.exe (
%CD%\%~n1.exe
)
pause

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.17155s using 14 queries.