1
- <?xml version =" 1.0" encoding =" utf-8" ?>
2
- <Project ToolsVersion =" 15.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
- <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
+
4
3
<PropertyGroup >
5
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
6
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
7
- <ProjectGuid >{34E0BBCE-CC08-40DF-A0DB-544F54C5130C}</ProjectGuid >
8
4
<OutputType >Exe</OutputType >
9
- <RootNamespace >WELSConsole</RootNamespace >
10
- <AssemblyName >WELSConsole</AssemblyName >
11
- <TargetFrameworkVersion >v4.8</TargetFrameworkVersion >
12
- <FileAlignment >512</FileAlignment >
13
- <AutoGenerateBindingRedirects >true</AutoGenerateBindingRedirects >
14
- <Deterministic >true</Deterministic >
5
+ <TargetFramework >net7.0</TargetFramework >
6
+ <ImplicitUsings >enable</ImplicitUsings >
7
+ <Nullable >enable</Nullable >
15
8
</PropertyGroup >
16
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
17
- <PlatformTarget >AnyCPU</PlatformTarget >
18
- <DebugSymbols >true</DebugSymbols >
19
- <DebugType >full</DebugType >
20
- <Optimize >false</Optimize >
21
- <OutputPath >bin\Debug\</OutputPath >
22
- <DefineConstants >DEBUG;TRACE</DefineConstants >
23
- <ErrorReport >prompt</ErrorReport >
24
- <WarningLevel >4</WarningLevel >
25
- </PropertyGroup >
26
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
27
- <PlatformTarget >AnyCPU</PlatformTarget >
28
- <DebugType >pdbonly</DebugType >
29
- <Optimize >true</Optimize >
30
- <OutputPath >bin\Release\</OutputPath >
31
- <DefineConstants >TRACE</DefineConstants >
32
- <ErrorReport >prompt</ErrorReport >
33
- <WarningLevel >4</WarningLevel >
34
- </PropertyGroup >
35
- <ItemGroup >
36
- <Reference Include =" System" />
37
- <Reference Include =" System.Configuration" />
38
- <Reference Include =" System.Core" />
39
- <Reference Include =" System.Xml.Linq" />
40
- <Reference Include =" System.Data.DataSetExtensions" />
41
- <Reference Include =" Microsoft.CSharp" />
42
- <Reference Include =" System.Data" />
43
- <Reference Include =" System.Net.Http" />
44
- <Reference Include =" System.Xml" />
45
- </ItemGroup >
46
- <ItemGroup >
47
- <Compile Include =" Configuration.cs" />
48
- <Compile Include =" ConfigurationReader.cs" />
49
- <Compile Include =" Program.cs" />
50
- <Compile Include =" Properties\AssemblyInfo.cs" />
51
- </ItemGroup >
52
- <ItemGroup >
53
- <None Include =" App.config" />
54
- </ItemGroup >
55
- <ItemGroup >
56
- <ProjectReference Include =" ..\WELSCore\WELSCore.csproj" >
57
- <Project >{bae13494-bf39-4533-b20a-5036d34eb131}</Project >
58
- <Name >WELSCore</Name >
59
- </ProjectReference >
60
- </ItemGroup >
61
- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
62
- </Project >
9
+
10
+ <PropertyGroup >
11
+ <Title >WindowsEventLogSearchConsole</Title >
12
+ <Product >WindowsEventLogSearchConsole</Product >
13
+ <AssemblyName >WindowsEventLogSearchConsole</AssemblyName >
14
+
15
+ <Authors >Ryan B and Adam White</Authors >
16
+ <Copyright >Copyright © Ryan B and Adam White 2023</Copyright >
17
+
18
+ <Version >$([System.DateTime]::Now.ToString("yyyy."$([System.DateTime]::Now.DayOfYear)".HHmm"))</Version >
19
+ <AssemblyVersion >$([System.DateTime]::Now.ToString("yyyy."$([System.DateTime]::Now.DayOfYear)".HHmm"))</AssemblyVersion >
20
+ <FileVersion >$([System.DateTime]::Now.ToString("yyyy."$([System.DateTime]::Now.DayOfYear)".HHmm"))</FileVersion >
21
+ <StartupObject >WELSConsole.Program</StartupObject >
22
+ <ProduceReferenceAssembly >False</ProduceReferenceAssembly >
23
+ </PropertyGroup >
24
+
25
+ <ItemGroup >
26
+ <PackageReference Include =" System.Configuration.ConfigurationManager" Version =" 7.0.0" />
27
+ </ItemGroup >
28
+
29
+ <ItemGroup >
30
+ <ProjectReference Include =" ..\WELSCore\WELSCore.csproj" />
31
+ </ItemGroup >
32
+
33
+ </Project >
0 commit comments