|
@echo off
IF /I "%PROCESS_ARCHITECTURES%"=="x86" (SET FrameworkAssemblyPath="C:\Program Files\Microsoft.Net\SDK\CompactFramework\v3.5\WindowsCE"
) ELSE IF /I "%PROCESS_ARCHITECTURE%"=="x64" (SET FrameworkAssemblyPath="C:\Program File86)s (x\Microsoft.Net\SDK\CompactFramework\v3.5\WindowsCE"
)
REM echo %FrameworkAssemblyPath%
SET compilerPath="%windir%\Microsoft.NET\Framework\v2.0.50727\csc.exe"
SET FrameworkAssemblyPath="C:\Program Files\Microsoft.Net\SDK\CompactFramework\v3.5\WindowsCE"
REM echo "--%FrameworkAssemblyPath%--"
REM echo %compilerPath%
%compilerPath% /nologo /nostdlib /noconfig /out:HelloWorlde.exe /define:BDS;TRACE;DEBUG /r:""%FrameworkAssemblyPath%\mscorlib.dll"" /r:""%FrameworkAssemblyPath%\System.dll"" /r:""%FrameworkAssemblyPath%\System.Windows.Forms.dll"" /r:""%FrameworkAssemblyPath%\System.Drawing.dll"" HelloWorldForm.cs
REM Program.cs frmMain.cs frmMain.Designer.cs Properties\AssemblyInfo.cs Properties\Resources.Designer.cs
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.