1
- <? xml version = " 1.0 " encoding = " utf-8 " ? >
2
- < Project ToolsVersion = " 3.5 " DefaultTargets = " Build " xmlns = " http://schemas.microsoft.com/developer/msbuild/2003 " >
1
+ <Project Sdk = " Microsoft.NET.Sdk " >
2
+
3
3
<PropertyGroup >
4
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
5
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
6
- <ProductVersion >9.0.20612</ProductVersion >
7
- <SchemaVersion >2.0</SchemaVersion >
8
- <ProjectGuid >{F2593E93-91A2-4F64-88A4-7E3861B3FE01}</ProjectGuid >
9
- <OutputType >WinExe</OutputType >
10
- <AppDesignerFolder >Properties</AppDesignerFolder >
11
- <RootNamespace >DataViewSamples</RootNamespace >
12
- <AssemblyName >DataViewSamples</AssemblyName >
13
- <TargetFrameworkVersion >v3.5</TargetFrameworkVersion >
14
- <FileAlignment >512</FileAlignment >
15
- <Nonshipping >true</Nonshipping >
4
+ <OutputType >Exe</OutputType >
5
+ <TargetFramework >net8.0-windows</TargetFramework >
6
+ <UseWindowsForms >true</UseWindowsForms >
16
7
</PropertyGroup >
17
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
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
- <DebugType >pdbonly</DebugType >
28
- <Optimize >true</Optimize >
29
- <OutputPath >bin\Release\</OutputPath >
30
- <DefineConstants >TRACE</DefineConstants >
31
- <ErrorReport >prompt</ErrorReport >
32
- <WarningLevel >4</WarningLevel >
33
- </PropertyGroup >
34
- <ItemGroup >
35
- <Reference Include =" System" />
36
- <Reference Include =" System.Core" >
37
- <RequiredTargetFramework >3.5</RequiredTargetFramework >
38
- </Reference >
39
- <Reference Include =" System.Xml.Linq" >
40
- <RequiredTargetFramework >3.5</RequiredTargetFramework >
41
- </Reference >
42
- <Reference Include =" System.Data.DataSetExtensions" >
43
- <RequiredTargetFramework >3.5</RequiredTargetFramework >
44
- </Reference >
45
- <Reference Include =" System.Data" />
46
- <Reference Include =" System.Deployment" />
47
- <Reference Include =" System.Drawing" />
48
- <Reference Include =" System.Windows.Forms" />
49
- <Reference Include =" System.Xml" />
50
- </ItemGroup >
8
+
51
9
<ItemGroup >
52
- <Compile Include =" Form1.cs" >
53
- <SubType >Form</SubType >
54
- </Compile >
55
- <Compile Include =" Form1.Designer.cs" >
56
- <DependentUpon >Form1.cs</DependentUpon >
57
- </Compile >
58
- <Compile Include =" Program.cs" />
59
- <Compile Include =" Properties\AssemblyInfo.cs" />
60
- <EmbeddedResource Include =" Form1.resx" >
61
- <SubType >Designer</SubType >
62
- <DependentUpon >Form1.cs</DependentUpon >
63
- </EmbeddedResource >
64
- <EmbeddedResource Include =" Properties\Resources.resx" >
65
- <Generator >ResXFileCodeGenerator</Generator >
66
- <LastGenOutput >Resources.Designer.cs</LastGenOutput >
67
- <SubType >Designer</SubType >
68
- </EmbeddedResource >
69
- <Compile Include =" Properties\Resources.Designer.cs" >
70
- <AutoGen >True</AutoGen >
71
- <DependentUpon >Resources.resx</DependentUpon >
72
- </Compile >
73
- <None Include =" Properties\Settings.settings" >
74
- <Generator >SettingsSingleFileGenerator</Generator >
75
- <LastGenOutput >Settings.Designer.cs</LastGenOutput >
76
- </None >
77
- <Compile Include =" Properties\Settings.Designer.cs" >
78
- <AutoGen >True</AutoGen >
79
- <DependentUpon >Settings.settings</DependentUpon >
80
- <DesignTimeSharedInput >True</DesignTimeSharedInput >
81
- </Compile >
10
+ <PackageReference Include =" Microsoft.Data.SqlClient" Version =" 6.0.1" />
82
11
</ItemGroup >
83
- <Import Project =" $(MSBuildBinPath)\Microsoft.CSharp.targets" />
84
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
85
- Other similar extension points exist, see Microsoft.Common.targets.
86
- <Target Name="BeforeBuild">
87
- </Target>
88
- <Target Name="AfterBuild">
89
- </Target>
90
- -->
91
- </Project >
12
+
13
+ </Project >
0 commit comments