diff --git a/.gitignore b/.gitignore index 1647f40..eb718cc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -DefectRand.exe +*.exe !dist/DefectRand.exe +!dist/DefectRand_net2.0.exe diff --git a/Makefile b/Makefile index 8277192..861b078 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index 6e2f1a2..7364db3 100644 --- a/README.md +++ b/README.md @@ -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)] diff --git a/dist/DefectRand.exe b/dist/DefectRand.exe index cadbffa..5c5d855 100644 Binary files a/dist/DefectRand.exe and b/dist/DefectRand.exe differ diff --git a/dist/DefectRand_net2.0.exe b/dist/DefectRand_net2.0.exe new file mode 100644 index 0000000..9599db9 Binary files /dev/null and b/dist/DefectRand_net2.0.exe differ diff --git a/main.cs b/main.cs index efc1499..4daf3cb 100644 --- a/main.cs +++ b/main.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Windows.Forms; namespace DefectRand