Skip to content

Commit 6fa2308

Browse files
committed
add some missing project files
1 parent 57e68f2 commit 6fa2308

File tree

42 files changed

+492
-185
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+492
-185
lines changed

snippets/csharp/VS_Snippets_ADO.NET/Classic WebData SqlCommand.ExecuteReader Example/CS/Project.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
4+
<OutputType>Library</OutputType>
55
<TargetFramework>net8.0</TargetFramework>
66
</PropertyGroup>
77

snippets/csharp/VS_Snippets_ADO.NET/Classic WebData SqlCommand.ExecuteReader2/CS/Project.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
4+
<OutputType>Library</OutputType>
55
<TargetFramework>net8.0</TargetFramework>
66
</PropertyGroup>
77

snippets/csharp/VS_Snippets_ADO.NET/Classic WebData SqlConnection.BeginTransaction Example/CS/Project.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
4+
<OutputType>Library</OutputType>
55
<TargetFramework>net8.0</TargetFramework>
66
</PropertyGroup>
77

snippets/csharp/VS_Snippets_ADO.NET/Classic WebData SqlConnection.BeginTransaction2 Example/CS/Project.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
4+
<OutputType>Library</OutputType>
55
<TargetFramework>net8.0</TargetFramework>
66
</PropertyGroup>
77

snippets/csharp/VS_Snippets_ADO.NET/Classic WebData SqlConnection.BeginTransaction3 Example/CS/Project.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
4+
<OutputType>Library</OutputType>
55
<TargetFramework>net8.0</TargetFramework>
66
</PropertyGroup>
77

snippets/csharp/VS_Snippets_ADO.NET/Classic WebData SqlDataReader.Read Example/CS/SqlDataReader.Read.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
4+
<OutputType>Library</OutputType>
55
<TargetFramework>net8.0</TargetFramework>
66
</PropertyGroup>
77

Lines changed: 11 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,18 @@
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+
33
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProductVersion>9.0.20829</ProductVersion>
7-
<SchemaVersion>2.0</SchemaVersion>
8-
<ProjectGuid>{404E1785-83BF-4026-B6D7-DC2AA2228D3F}</ProjectGuid>
94
<OutputType>Exe</OutputType>
10-
<AppDesignerFolder>Properties</AppDesignerFolder>
11-
<RootNamespace>DP_LINQ_to_DataSet_Examples</RootNamespace>
12-
<AssemblyName>DP LINQ to DataSet Examples</AssemblyName>
13-
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14-
<FileAlignment>512</FileAlignment>
15-
</PropertyGroup>
16-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17-
<DebugSymbols>true</DebugSymbols>
18-
<DebugType>full</DebugType>
19-
<Optimize>false</Optimize>
20-
<OutputPath>bin\Debug\</OutputPath>
21-
<DefineConstants>DEBUG;TRACE</DefineConstants>
22-
<ErrorReport>prompt</ErrorReport>
23-
<WarningLevel>4</WarningLevel>
24-
</PropertyGroup>
25-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26-
<DebugType>pdbonly</DebugType>
27-
<Optimize>true</Optimize>
28-
<OutputPath>bin\Release\</OutputPath>
29-
<DefineConstants>TRACE</DefineConstants>
30-
<ErrorReport>prompt</ErrorReport>
31-
<WarningLevel>4</WarningLevel>
5+
<TargetFramework>net4.8</TargetFramework>
6+
<LangVersion>11</LangVersion>
327
</PropertyGroup>
8+
339
<ItemGroup>
34-
<Reference Include="System" />
35-
<Reference Include="System.Core">
36-
<RequiredTargetFramework>3.5</RequiredTargetFramework>
37-
</Reference>
38-
<Reference Include="System.Windows.Forms" />
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.Xml" />
10+
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
4711
</ItemGroup>
12+
4813
<ItemGroup>
49-
<Compile Include="Program.cs" />
50-
<Compile Include="Properties\AssemblyInfo.cs" />
14+
<Reference Include="System.Data.DataSetExtensions" />
15+
<Reference Include="System.Windows.Forms" />
5116
</ItemGroup>
52-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
53-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
54-
Other similar extension points exist, see Microsoft.Common.targets.
55-
<Target Name="BeforeBuild">
56-
</Target>
57-
<Target Name="AfterBuild">
58-
</Target>
59-
-->
60-
</Project>
17+
18+
</Project>

snippets/csharp/VS_Snippets_ADO.NET/DP LINQ to DataSet Examples/CS/Program.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
// <SnippetImportsUsing>
22
using System;
3-
using System.Linq;
4-
using System.Linq.Expressions;
53
using System.Collections.Generic;
64
using System.Data;
75
using System.Data.SqlClient;
8-
using System.Data.Common;
96
using System.Globalization;
10-
// </SnippetImportsUsing>
7+
using System.Linq;
118
using System.Windows.Forms;
9+
// </SnippetImportsUsing>
1210

1311
namespace LINQtoDataSetSamples
1412
{

snippets/csharp/VS_Snippets_ADO.NET/DP LINQ to DataSet Examples/CS/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net4.8</TargetFramework>
6+
</PropertyGroup>
7+
8+
<ItemGroup>
9+
<PackageReference Include="System.Data.SqlClient" />
10+
</ItemGroup>
11+
12+
</Project>

0 commit comments

Comments
 (0)