Skip to content

Commit dff1614

Browse files
committed
Convert to VS2017 project format
1 parent 5469c70 commit dff1614

File tree

8 files changed

+36
-282
lines changed

8 files changed

+36
-282
lines changed
Lines changed: 5 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,13 @@
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">
42
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{F7AC99CF-0972-4727-AC95-F537EF4EB4EA}</ProjectGuid>
83
<OutputType>Exe</OutputType>
9-
<RootNamespace>ClientLibraryConsoleAppSample</RootNamespace>
10-
<AssemblyName>ClientLibraryConsoleAppSample</AssemblyName>
11-
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
12-
<FileAlignment>512</FileAlignment>
4+
<TargetFramework>net452</TargetFramework>
135
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14-
<NuGetPackageImportStamp>
15-
</NuGetPackageImportStamp>
16-
</PropertyGroup>
17-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18-
<PlatformTarget>AnyCPU</PlatformTarget>
19-
<DebugSymbols>true</DebugSymbols>
20-
<DebugType>full</DebugType>
21-
<Optimize>false</Optimize>
22-
<OutputPath>bin\Debug\</OutputPath>
23-
<DefineConstants>DEBUG;TRACE</DefineConstants>
24-
<ErrorReport>prompt</ErrorReport>
25-
<WarningLevel>4</WarningLevel>
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-
<PropertyGroup>
37-
<StartupObject>ClientLibraryConsoleAppSample.Program</StartupObject>
6+
<RootNamespace>ClientLibraryConsoleAppSample</RootNamespace>
7+
<AssemblyName>ClientLibraryConsoleAppSample</AssemblyName>
388
</PropertyGroup>
399
<ItemGroup>
40-
<Compile Include="Program.cs" />
41-
<Compile Include="Properties\AssemblyInfo.cs" />
42-
</ItemGroup>
43-
<ItemGroup>
44-
<None Include="App.config" />
10+
<PackageReference Include="Microsoft.TeamFoundationServer.ExtendedClient" Version="15.118.0-preview" />
4511
</ItemGroup>
4612
<ItemGroup>
4713
<Reference Include="System" />
@@ -51,10 +17,4 @@
5117
<Reference Include="System.ServiceModel" />
5218
<Reference Include="System.Xml" />
5319
</ItemGroup>
54-
<ItemGroup>
55-
<PackageReference Include="Microsoft.TeamFoundationServer.ExtendedClient">
56-
<Version>15.118.0-preview</Version>
57-
</PackageReference>
58-
</ItemGroup>
59-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
6020
</Project>

ClientLibraryConsoleAppSample/Program.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
using Microsoft.TeamFoundation.WorkItemTracking.WebApi;
1+
using System;
2+
using System.Linq;
3+
4+
using Microsoft.TeamFoundation.WorkItemTracking.WebApi;
25
using Microsoft.TeamFoundation.WorkItemTracking.WebApi.Models;
36
using Microsoft.VisualStudio.Services.Client;
4-
using Microsoft.VisualStudio.Services.Common;
57
using Microsoft.VisualStudio.Services.WebApi;
6-
using System;
7-
using System.Linq;
88

99
namespace ClientLibraryConsoleAppSample
1010
{

ClientLibraryConsoleAppSample/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 10 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,23 @@
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>{4B81F1A9-4A60-4793-ABEE-85546AAA480E}</ProjectGuid>
83
<OutputType>Exe</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
4+
<TargetFramework>net452</TargetFramework>
5+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
106
<RootNamespace>DeviceProfileSample</RootNamespace>
117
<AssemblyName>DeviceProfileSample</AssemblyName>
12-
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
14-
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
15-
</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>
348
</PropertyGroup>
359
<ItemGroup>
10+
<PackageReference Include="Microsoft.IdentityModel.Clients.ActiveDirectory" Version="3.16.0" />
11+
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
12+
</ItemGroup>
13+
<ItemGroup>
14+
<Reference Include="Microsoft.CSharp" />
3615
<Reference Include="System" />
3716
<Reference Include="System.Core" />
38-
<Reference Include="System.Xml.Linq" />
39-
<Reference Include="System.Data.DataSetExtensions" />
40-
<Reference Include="Microsoft.CSharp" />
4117
<Reference Include="System.Data" />
18+
<Reference Include="System.Data.DataSetExtensions" />
4219
<Reference Include="System.Net.Http" />
4320
<Reference Include="System.Xml" />
21+
<Reference Include="System.Xml.Linq" />
4422
</ItemGroup>
45-
<ItemGroup>
46-
<Compile Include="Program.cs" />
47-
<Compile Include="Properties\AssemblyInfo.cs" />
48-
</ItemGroup>
49-
<ItemGroup>
50-
<None Include="App.config" />
51-
</ItemGroup>
52-
<ItemGroup>
53-
<PackageReference Include="Microsoft.IdentityModel.Clients.ActiveDirectory">
54-
<Version>3.16.0</Version>
55-
</PackageReference>
56-
<PackageReference Include="Newtonsoft.Json">
57-
<Version>10.0.3</Version>
58-
</PackageReference>
59-
</ItemGroup>
60-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
61-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
62-
Other similar extension points exist, see Microsoft.Common.targets.
63-
<Target Name="BeforeBuild">
64-
</Target>
65-
<Target Name="AfterBuild">
66-
</Target>
67-
-->
6823
</Project>

DeviceProfileSample/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 14 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,26 @@
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>{755BC9EF-A095-48DC-BBF6-AF39F8C3363E}</ProjectGuid>
83
<OutputType>Exe</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
4+
<TargetFramework>net452</TargetFramework>
5+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
106
<RootNamespace>ManagedClientConsoleAppSample</RootNamespace>
117
<AssemblyName>ManagedClientConsoleAppSample</AssemblyName>
12-
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
14-
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
15-
</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-
<PropertyGroup>
36-
<StartupObject>ManagedClientConsoleAppSample.Program</StartupObject>
378
</PropertyGroup>
389
<ItemGroup>
10+
<PackageReference Include="Microsoft.IdentityModel.Clients.ActiveDirectory" Version="3.13.8" />
11+
<PackageReference Include="Microsoft.VisualStudio.Services.InteractiveClient" Version="15.112.1" />
12+
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
13+
</ItemGroup>
14+
<ItemGroup>
15+
<Reference Include="Microsoft.CSharp" />
3916
<Reference Include="System" />
4017
<Reference Include="System.Core" />
41-
<Reference Include="System.Runtime.Serialization" />
42-
<Reference Include="System.ServiceModel" />
43-
<Reference Include="System.Xml.Linq" />
44-
<Reference Include="System.Data.DataSetExtensions" />
45-
<Reference Include="Microsoft.CSharp" />
4618
<Reference Include="System.Data" />
19+
<Reference Include="System.Data.DataSetExtensions" />
4720
<Reference Include="System.Net.Http" />
21+
<Reference Include="System.Runtime.Serialization" />
22+
<Reference Include="System.ServiceModel" />
4823
<Reference Include="System.Xml" />
49-
</ItemGroup>
50-
<ItemGroup>
51-
<Compile Include="Program.cs" />
52-
<Compile Include="Properties\AssemblyInfo.cs" />
53-
</ItemGroup>
54-
<ItemGroup>
55-
<None Include="App.config">
56-
<SubType>Designer</SubType>
57-
</None>
58-
</ItemGroup>
59-
<ItemGroup>
60-
<PackageReference Include="Microsoft.IdentityModel.Clients.ActiveDirectory">
61-
<Version>3.13.8</Version>
62-
</PackageReference>
63-
<PackageReference Include="Microsoft.VisualStudio.Services.InteractiveClient">
64-
<Version>15.112.1</Version>
65-
</PackageReference>
66-
<PackageReference Include="Newtonsoft.Json">
67-
<Version>9.0.1</Version>
68-
</PackageReference>
69-
</ItemGroup>
70-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
71-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
72-
Other similar extension points exist, see Microsoft.Common.targets.
73-
<Target Name="BeforeBuild">
74-
</Target>
75-
<Target Name="AfterBuild">
76-
</Target>
77-
-->
24+
<Reference Include="System.Xml.Linq" />
25+
</ItemGroup>
7826
</Project>

ManagedClientConsoleAppSample/Program.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
using Microsoft.IdentityModel.Clients.ActiveDirectory;
2-
using System;
1+
using System;
32
using System.Linq;
43
using System.Net.Http;
54
using System.Net.Http.Headers;
6-
using Microsoft.VisualStudio.Services.Client;
7-
using Microsoft.VisualStudio.Services.WebApi;
5+
6+
using Microsoft.IdentityModel.Clients.ActiveDirectory;
87

98
namespace ManagedClientConsoleAppSample
109
{

ManagedClientConsoleAppSample/Properties/AssemblyInfo.cs

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

0 commit comments

Comments
 (0)