1
- <? xml version = " 1.0 " encoding = " utf-8 " ? >
2
- < Project ToolsVersion = " 12.0 " 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)' == '' " >x86</Platform >
6
- <ProductVersion >
7
- </ProductVersion >
8
- <SchemaVersion >2.0</SchemaVersion >
9
- <ProjectGuid >{28D8D430-EDFB-4B2D-8FF3-59CE4313485F}</ProjectGuid >
10
- <OutputType >WinExe</OutputType >
11
- <StartupObject >BackgroundWorkerSimple.My.MyApplication</StartupObject >
12
- <RootNamespace >BackgroundWorkerSimple</RootNamespace >
13
- <AssemblyName >BackgroundWorkerSimple</AssemblyName >
14
- <FileAlignment >512</FileAlignment >
15
- <MyType >WindowsForms</MyType >
16
- <TargetFrameworkVersion >v4.8</TargetFrameworkVersion >
17
- <TargetFrameworkProfile />
4
+ <OutputType >Exe</OutputType >
5
+ <TargetFramework >net9.0-windows</TargetFramework >
6
+ <UseWindowsForms >true</UseWindowsForms >
18
7
</PropertyGroup >
19
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|x86' " >
20
- <PlatformTarget >x86</PlatformTarget >
21
- <DebugSymbols >true</DebugSymbols >
22
- <DebugType >full</DebugType >
23
- <DefineDebug >true</DefineDebug >
24
- <DefineTrace >true</DefineTrace >
25
- <OutputPath >bin\Debug\</OutputPath >
26
- <DocumentationFile >BackgroundWorkerSimple.xml</DocumentationFile >
27
- <NoWarn >42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn >
28
- </PropertyGroup >
29
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|x86' " >
30
- <PlatformTarget >x86</PlatformTarget >
31
- <DebugType >pdbonly</DebugType >
32
- <DefineDebug >false</DefineDebug >
33
- <DefineTrace >true</DefineTrace >
34
- <Optimize >true</Optimize >
35
- <OutputPath >bin\Release\</OutputPath >
36
- <DocumentationFile >BackgroundWorkerSimple.xml</DocumentationFile >
37
- <NoWarn >42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn >
38
- </PropertyGroup >
39
- <PropertyGroup >
40
- <OptionExplicit >On</OptionExplicit >
41
- </PropertyGroup >
42
- <PropertyGroup >
43
- <OptionCompare >Binary</OptionCompare >
44
- </PropertyGroup >
45
- <PropertyGroup >
46
- <OptionStrict >Off</OptionStrict >
47
- </PropertyGroup >
48
- <PropertyGroup >
49
- <OptionInfer >On</OptionInfer >
50
- </PropertyGroup >
51
- <ItemGroup >
52
- <Reference Include =" System" />
53
- <Reference Include =" System.Data" />
54
- <Reference Include =" System.Deployment" />
55
- <Reference Include =" System.Drawing" />
56
- <Reference Include =" System.Windows.Forms" />
57
- <Reference Include =" System.Xml" />
58
- <Reference Include =" System.Core" />
59
- <Reference Include =" System.Xml.Linq" />
60
- <Reference Include =" System.Data.DataSetExtensions" />
61
- </ItemGroup >
62
- <ItemGroup >
63
- <Import Include =" Microsoft.VisualBasic" />
64
- <Import Include =" System" />
65
- <Import Include =" System.Collections" />
66
- <Import Include =" System.Collections.Generic" />
67
- <Import Include =" System.Data" />
68
- <Import Include =" System.Drawing" />
69
- <Import Include =" System.Diagnostics" />
70
- <Import Include =" System.Windows.Forms" />
71
- <Import Include =" System.Linq" />
72
- <Import Include =" System.Xml.Linq" />
73
- </ItemGroup >
74
- <ItemGroup >
75
- <Compile Include =" Form1.vb" >
76
- <SubType >Form</SubType >
77
- </Compile >
78
- <Compile Include =" Form1.Designer.vb" >
79
- <DependentUpon >Form1.vb</DependentUpon >
80
- <SubType >Form</SubType >
81
- </Compile >
82
- <Compile Include =" My Project\AssemblyInfo.vb" />
83
- <Compile Include =" My Project\Application.Designer.vb" >
84
- <AutoGen >True</AutoGen >
85
- <DependentUpon >Application.myapp</DependentUpon >
86
- </Compile >
87
- <Compile Include =" My Project\Resources.Designer.vb" >
88
- <AutoGen >True</AutoGen >
89
- <DesignTime >True</DesignTime >
90
- <DependentUpon >Resources.resx</DependentUpon >
91
- </Compile >
92
- <Compile Include =" My Project\Settings.Designer.vb" >
93
- <AutoGen >True</AutoGen >
94
- <DependentUpon >Settings.settings</DependentUpon >
95
- <DesignTimeSharedInput >True</DesignTimeSharedInput >
96
- </Compile >
97
- </ItemGroup >
98
- <ItemGroup >
99
- <EmbeddedResource Include =" Form1.resx" >
100
- <DependentUpon >Form1.vb</DependentUpon >
101
- </EmbeddedResource >
102
- <EmbeddedResource Include =" My Project\Resources.resx" >
103
- <Generator >VbMyResourcesResXFileCodeGenerator</Generator >
104
- <LastGenOutput >Resources.Designer.vb</LastGenOutput >
105
- <CustomToolNamespace >My.Resources</CustomToolNamespace >
106
- <SubType >Designer</SubType >
107
- </EmbeddedResource >
108
- </ItemGroup >
109
- <ItemGroup >
110
- <None Include =" My Project\Application.myapp" >
111
- <Generator >MyApplicationCodeGenerator</Generator >
112
- <LastGenOutput >Application.Designer.vb</LastGenOutput >
113
- </None >
114
- <None Include =" My Project\Settings.settings" >
115
- <Generator >SettingsSingleFileGenerator</Generator >
116
- <CustomToolNamespace >My</CustomToolNamespace >
117
- <LastGenOutput >Settings.Designer.vb</LastGenOutput >
118
- </None >
119
- </ItemGroup >
120
- <Import Project =" $(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
121
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
122
- Other similar extension points exist, see Microsoft.Common.targets.
123
- <Target Name="BeforeBuild">
124
- </Target>
125
- <Target Name="AfterBuild">
126
- </Target>
127
- -->
128
- </Project >
8
+
9
+ </Project >
0 commit comments