Skip to content

Commit a208a2c

Browse files
authored
oops
I May or may not have messed something up, fixed now before it goes public
1 parent c2fc75b commit a208a2c

File tree

8 files changed

+54
-9
lines changed

8 files changed

+54
-9
lines changed

Pinger.csproj

+33-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,27 @@
1212
<FileAlignment>512</FileAlignment>
1313
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1414
<Deterministic>true</Deterministic>
15+
<PublishUrl>publish\</PublishUrl>
16+
<Install>true</Install>
17+
<InstallFrom>Disk</InstallFrom>
18+
<UpdateEnabled>false</UpdateEnabled>
19+
<UpdateMode>Foreground</UpdateMode>
20+
<UpdateInterval>7</UpdateInterval>
21+
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
22+
<UpdatePeriodically>false</UpdatePeriodically>
23+
<UpdateRequired>false</UpdateRequired>
24+
<MapFileExtensions>true</MapFileExtensions>
25+
<ApplicationRevision>0</ApplicationRevision>
26+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
27+
<IsWebBootstrapper>false</IsWebBootstrapper>
28+
<UseApplicationTrust>false</UseApplicationTrust>
29+
<BootstrapperEnabled>true</BootstrapperEnabled>
1530
</PropertyGroup>
1631
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1732
<PlatformTarget>AnyCPU</PlatformTarget>
1833
<DebugSymbols>true</DebugSymbols>
1934
<DebugType>full</DebugType>
20-
<Optimize>true</Optimize>
35+
<Optimize>false</Optimize>
2136
<OutputPath>bin\Debug\</OutputPath>
2237
<DefineConstants>DEBUG;TRACE</DefineConstants>
2338
<ErrorReport>prompt</ErrorReport>
@@ -27,11 +42,15 @@
2742
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2843
<PlatformTarget>AnyCPU</PlatformTarget>
2944
<DebugType>pdbonly</DebugType>
30-
<Optimize>true</Optimize>
45+
<Optimize>false</Optimize>
3146
<OutputPath>bin\Release\</OutputPath>
3247
<DefineConstants>TRACE</DefineConstants>
3348
<ErrorReport>prompt</ErrorReport>
3449
<WarningLevel>4</WarningLevel>
50+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
51+
</PropertyGroup>
52+
<PropertyGroup>
53+
<StartupObject>ConsoleApp2.Program</StartupObject>
3554
</PropertyGroup>
3655
<ItemGroup>
3756
<Reference Include="System" />
@@ -50,5 +69,17 @@
5069
<ItemGroup>
5170
<None Include="App.config" />
5271
</ItemGroup>
72+
<ItemGroup>
73+
<BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
74+
<Visible>False</Visible>
75+
<ProductName>Microsoft .NET Framework 4.7.2 %28x86 and x64%29</ProductName>
76+
<Install>true</Install>
77+
</BootstrapperPackage>
78+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
79+
<Visible>False</Visible>
80+
<ProductName>.NET Framework 3.5 SP1</ProductName>
81+
<Install>false</Install>
82+
</BootstrapperPackage>
83+
</ItemGroup>
5384
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
5485
</Project>

Pinger.csproj.user

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<PublishUrlHistory>publish\</PublishUrlHistory>
5+
<InstallUrlHistory />
6+
<SupportUrlHistory />
7+
<UpdateUrlHistory />
8+
<BootstrapperUrlHistory />
9+
<ErrorReportUrlHistory />
10+
<FallbackCulture>en-US</FallbackCulture>
11+
<VerifyUploadedFiles>false</VerifyUploadedFiles>
12+
</PropertyGroup>
13+
</Project>

Program.cs

+5-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111

12-
namespace Pinger
12+
namespace ConsoleApp2
1313
{
1414
internal class Program
1515
{
@@ -31,7 +31,6 @@ static void Main(string[] args)
3131

3232
var s = " "; // 8 spaces for the titles spacing, looks very messy but who cares.
3333

34-
fortnite:
3534
Thread.CurrentThread.IsBackground = true;
3635
for (int i = 0; i < int.MaxValue; i++)
3736
//{
@@ -80,8 +79,9 @@ static void Main(string[] args)
8079
Console.WriteLine();
8180
if (response == ConsoleKey.Y)
8281
{
83-
log = 1;
84-
}else
82+
log = 1;
83+
}
84+
else
8585
{
8686
log = 0;
8787
}
@@ -134,6 +134,7 @@ static void Main(string[] args)
134134
}
135135
}
136136
}).Start();
137+
Thread.Sleep(-1);
137138
}
138139
}
139140
}

Properties/AssemblyInfo.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
[assembly: AssemblyDescription("")]
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("IP Pinger?")]
13-
[assembly: AssemblyCopyright("Copyright © 0vm & zf9 2022")]
12+
[assembly: AssemblyProduct("IP Pinger")]
13+
[assembly: AssemblyCopyright("Copyright © 0vm 2022")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

@@ -20,7 +20,7 @@
2020
[assembly: ComVisible(false)]
2121

2222
// The following GUID is for the ID of the typelib if this project is exposed to COM
23-
[assembly: Guid("9e503346-e531-4ee3-a777-087d4a89bc14")]
23+
[assembly: Guid("434EA5CF-16D4-47B2-9AB9-DC8F39704739")]
2424

2525
// Version information for an assembly consists of the following four values:
2626
//

bin/Debug/Pinger.exe

512 Bytes
Binary file not shown.

bin/Release/Pinger.exe

2.5 KB
Binary file not shown.

obj/Debug/Pinger.exe

512 Bytes
Binary file not shown.

obj/Release/Pinger.exe

9 KB
Binary file not shown.

0 commit comments

Comments
 (0)