NET 2.0 supporting

This commit is contained in:
Alexander Popov 2017-02-12 01:04:49 +03:00
parent 460a3dc5f7
commit a3e46eea79
6 changed files with 16 additions and 4 deletions

3
.gitignore vendored
View File

@ -1,2 +1,3 @@
DefectRand.exe
*.exe
!dist/DefectRand.exe
!dist/DefectRand_net2.0.exe

View File

@ -1,5 +1,16 @@
CS=csc /nologo
TARGET=DefectRand.exe
CS2=C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc /nologo
TARGET2=DefectRand_net2.0.exe
all: DefectRand.exe
DefectRand.exe:
$(CS) /out:DefectRand.exe /t:winexe main.cs AssemblyInfo.cs /win32icon:app.ico
$(CS) /out:$(TARGET) /t:winexe main.cs AssemblyInfo.cs /win32icon:app.ico
NET2:
$(CS2) /out:$(TARGET2) /t:winexe main.cs AssemblyInfo.cs /win32icon:app.ico
clean:
del DefectRand.exe DefectRand_net2.0.exe

View File

@ -3,4 +3,5 @@
![Screen](https://raw.githubusercontent.com/iiiypuk/DefectRand/master/screen.png)
[[Скачать](https://raw.githubusercontent.com/iiiypuk/DefectRand/master/dist/DefectRand.exe)]
[[Скачать .NET 4](https://raw.githubusercontent.com/iiiypuk/DefectRand/master/dist/DefectRand.exe)]
[[Скачать .NET 2](https://raw.githubusercontent.com/iiiypuk/DefectRand/master/dist/DefectRand_net2.0.exe)]

BIN
dist/DefectRand.exe vendored

Binary file not shown.

BIN
dist/DefectRand_net2.0.exe vendored Normal file

Binary file not shown.

View File

@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace DefectRand