Skip to content

Commit 8286a10

Browse files
committed
switch to sdk-style projects / move to DevExpress 23.1.6
1 parent e81785e commit 8286a10

File tree

5 files changed

+10
-227
lines changed

5 files changed

+10
-227
lines changed
Lines changed: 7 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,107 +1,17 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="14.0" DefaultTargets="Build" 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">
42
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{784EE4D3-F19D-40C6-81FD-585723422781}</ProjectGuid>
3+
<TargetFramework>net452</TargetFramework>
84
<OutputType>WinExe</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
105
<RootNamespace>KernelObjectHandles</RootNamespace>
116
<AssemblyName>KernelObjectHandles</AssemblyName>
12-
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
14-
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
7+
<UseWindowsForms>true</UseWindowsForms>
8+
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
159
</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-
<Prefer32Bit>true</Prefer32Bit>
26-
</PropertyGroup>
27-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28-
<PlatformTarget>AnyCPU</PlatformTarget>
29-
<DebugType>pdbonly</DebugType>
30-
<Optimize>true</Optimize>
31-
<OutputPath>bin\Release\</OutputPath>
32-
<DefineConstants>TRACE</DefineConstants>
33-
<ErrorReport>prompt</ErrorReport>
34-
<WarningLevel>4</WarningLevel>
35-
</PropertyGroup>
36-
<ItemGroup>
37-
<Reference Include="DevExpress.Data.v16.2, Version=16.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
38-
<Reference Include="DevExpress.Printing.v16.2.Core, Version=16.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
39-
<Reference Include="DevExpress.Sparkline.v16.2.Core, Version=16.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
40-
<Reference Include="DevExpress.Utils.v16.2, Version=16.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
41-
<Reference Include="DevExpress.XtraEditors.v16.2, Version=16.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
42-
<Reference Include="DevExpress.XtraGrid.v16.2, Version=16.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
43-
<Reference Include="DevExpress.XtraLayout.v16.2, Version=16.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
44-
<Reference Include="DevExpress.XtraPrinting.v16.2, Version=16.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
45-
<Reference Include="System" />
46-
<Reference Include="System.Core" />
47-
<Reference Include="System.Xml.Linq" />
48-
<Reference Include="System.Data.DataSetExtensions" />
49-
<Reference Include="Microsoft.CSharp" />
50-
<Reference Include="System.Data" />
51-
<Reference Include="System.Deployment" />
52-
<Reference Include="System.Drawing" />
53-
<Reference Include="System.Net.Http" />
54-
<Reference Include="System.Windows.Forms" />
55-
<Reference Include="System.Xml" />
56-
</ItemGroup>
57-
<ItemGroup>
58-
<Compile Include="MainForm.cs">
59-
<SubType>Form</SubType>
60-
</Compile>
61-
<Compile Include="MainForm.Designer.cs">
62-
<DependentUpon>MainForm.cs</DependentUpon>
63-
</Compile>
64-
<Compile Include="Program.cs" />
65-
<Compile Include="Properties\AssemblyInfo.cs" />
66-
<EmbeddedResource Include="MainForm.resx">
67-
<DependentUpon>MainForm.cs</DependentUpon>
68-
</EmbeddedResource>
69-
<EmbeddedResource Include="Properties\licenses.licx" />
70-
<EmbeddedResource Include="Properties\Resources.resx">
71-
<Generator>ResXFileCodeGenerator</Generator>
72-
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
73-
<SubType>Designer</SubType>
74-
</EmbeddedResource>
75-
<Compile Include="Properties\Resources.Designer.cs">
76-
<AutoGen>True</AutoGen>
77-
<DependentUpon>Resources.resx</DependentUpon>
78-
</Compile>
79-
<None Include="Properties\DataSources\RowViewModel.datasource" />
80-
<None Include="Properties\Settings.settings">
81-
<Generator>SettingsSingleFileGenerator</Generator>
82-
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
83-
</None>
84-
<Compile Include="Properties\Settings.Designer.cs">
85-
<AutoGen>True</AutoGen>
86-
<DependentUpon>Settings.settings</DependentUpon>
87-
<DesignTimeSharedInput>True</DesignTimeSharedInput>
88-
</Compile>
89-
</ItemGroup>
9010
<ItemGroup>
91-
<None Include="App.config" />
11+
<PackageReference Include="DevExpress.Win.Grid" Version="23.1.6" />
9212
</ItemGroup>
13+
9314
<ItemGroup>
94-
<ProjectReference Include="..\WinKernelObjectsDotNet\WinKernelObjectsDotNet.csproj">
95-
<Project>{E486E53D-FA94-4830-BFF4-F62470023797}</Project>
96-
<Name>WinKernelObjectsDotNet</Name>
97-
</ProjectReference>
15+
<ProjectReference Include="..\WinKernelObjectsDotNet\WinKernelObjectsDotNet.csproj" />
9816
</ItemGroup>
99-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
100-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
101-
Other similar extension points exist, see Microsoft.Common.targets.
102-
<Target Name="BeforeBuild">
103-
</Target>
104-
<Target Name="AfterBuild">
105-
</Target>
106-
-->
10717
</Project>

src/KernelObjectHandles/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/KernelObjectHandles/Properties/licenses.licx

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/WinKernelObjectsDotNet/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 3 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,9 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="14.0" DefaultTargets="Build" 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">
42
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{E486E53D-FA94-4830-BFF4-F62470023797}</ProjectGuid>
3+
<TargetFramework>net452</TargetFramework>
84
<OutputType>Library</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>WinKernelObjectsDotNet</RootNamespace>
11-
<AssemblyName>WinKernelObjectsDotNet</AssemblyName>
12-
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
145
</PropertyGroup>
15-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16-
<DebugSymbols>true</DebugSymbols>
17-
<DebugType>full</DebugType>
18-
<Optimize>false</Optimize>
19-
<OutputPath>bin\Debug\</OutputPath>
20-
<DefineConstants>DEBUG;TRACE</DefineConstants>
21-
<ErrorReport>prompt</ErrorReport>
22-
<WarningLevel>4</WarningLevel>
23-
</PropertyGroup>
24-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
25-
<DebugType>pdbonly</DebugType>
26-
<Optimize>true</Optimize>
27-
<OutputPath>bin\Release\</OutputPath>
28-
<DefineConstants>TRACE</DefineConstants>
29-
<ErrorReport>prompt</ErrorReport>
30-
<WarningLevel>4</WarningLevel>
31-
</PropertyGroup>
32-
<ItemGroup>
33-
<Reference Include="System" />
34-
<Reference Include="System.Core" />
35-
<Reference Include="System.Xml.Linq" />
36-
<Reference Include="System.Data.DataSetExtensions" />
37-
<Reference Include="Microsoft.CSharp" />
38-
<Reference Include="System.Data" />
39-
<Reference Include="System.Net.Http" />
40-
<Reference Include="System.Xml" />
41-
</ItemGroup>
426
<ItemGroup>
43-
<Compile Include="DuplicatedObjectHandle.cs" />
44-
<Compile Include="Helpers.cs" />
45-
<Compile Include="KernelObjectsFacade.cs" />
46-
<Compile Include="DevicePathConverter.cs" />
47-
<Compile Include="KernelObject.cs" />
48-
<Compile Include="NativeMethods.cs" />
49-
<Compile Include="NtStatusException.cs" />
50-
<Compile Include="ObjectTypeFilter.cs" />
51-
<Compile Include="ObjectTypeInfo.cs" />
52-
<Compile Include="Properties\AssemblyInfo.cs" />
7+
<Folder Include="Properties\" />
538
</ItemGroup>
54-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
55-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
56-
Other similar extension points exist, see Microsoft.Common.targets.
57-
<Target Name="BeforeBuild">
58-
</Target>
59-
<Target Name="AfterBuild">
60-
</Target>
61-
-->
629
</Project>

0 commit comments

Comments
 (0)