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" >
4
2
<PropertyGroup >
5
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
6
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
7
- <ProjectGuid >{8A2EF454-D0B6-4DE6-8961-2B806C2F882F}</ProjectGuid >
8
- <OutputType >Library</OutputType >
9
- <AppDesignerFolder >Properties</AppDesignerFolder >
10
- <RootNamespace >Cake.Tfx</RootNamespace >
11
- <AssemblyName >Cake.Tfx</AssemblyName >
12
- <TargetFrameworkVersion >v4.5.2</TargetFrameworkVersion >
13
- <FileAlignment >512</FileAlignment >
14
- <NuGetPackageImportStamp >
15
- </NuGetPackageImportStamp >
3
+ <TargetFrameworks >net46;netstandard2.0</TargetFrameworks >
4
+ <TargetFrameworkProfile />
16
5
</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 >
6
+ <PropertyGroup >
25
7
<CodeAnalysisRuleSet >Cake.Tfx.ruleset</CodeAnalysisRuleSet >
26
- <DocumentationFile >bin\Debug\Cake.Tfx.XML</DocumentationFile >
27
8
</PropertyGroup >
28
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
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
- <CodeAnalysisRuleSet >Cake.Tfx.ruleset</CodeAnalysisRuleSet >
36
- <DocumentationFile >bin\Release\Cake.Tfx.XML</DocumentationFile >
9
+ <PropertyGroup Condition =" '$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net46|AnyCPU'" >
10
+ <DefineConstants >TRACE;DEBUG;net46;</DefineConstants >
11
+ </PropertyGroup >
12
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' " >
13
+ <DefineConstants >TRACE;DEBUG;NETSTANDARD</DefineConstants >
37
14
</PropertyGroup >
15
+ <PropertyGroup Condition =" '$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net46|AnyCPU'" >
16
+ <DocumentationFile >bin\Debug\net46\Cake.Tfx.xml</DocumentationFile >
17
+ </PropertyGroup >
18
+ <PropertyGroup Condition =" '$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net46|AnyCPU'" >
19
+ <DocumentationFile >bin\Release\net46\Cake.Tfx.xml</DocumentationFile >
20
+ </PropertyGroup >
21
+
38
22
<ItemGroup >
39
- <Reference Include =" Cake.Common, Version=0.17.0.0, Culture=neutral, processorArchitecture=MSIL" >
40
- <HintPath >..\packages\Cake.Common.0.17.0\lib\net45\Cake.Common.dll</HintPath >
41
- <Private >True</Private >
42
- </Reference >
43
- <Reference Include =" Cake.Core, Version=0.17.0.0, Culture=neutral, processorArchitecture=MSIL" >
44
- <HintPath >..\packages\Cake.Core.0.17.0\lib\net45\Cake.Core.dll</HintPath >
45
- <Private >True</Private >
46
- </Reference >
47
- <Reference Include =" System" />
48
- <Reference Include =" System.Core" />
49
- <Reference Include =" System.Xml.Linq" />
50
- <Reference Include =" System.Data.DataSetExtensions" />
23
+ <PackageReference Include =" Cake.Core" Version =" 0.26.0" />
24
+ </ItemGroup >
25
+
26
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net46' " >
51
27
<Reference Include =" Microsoft.CSharp" />
52
- <Reference Include =" System.Data " />
28
+ <Reference Include =" System.Net " />
53
29
<Reference Include =" System.Net.Http" />
54
- <Reference Include =" System.Xml" />
55
- </ItemGroup >
56
- <ItemGroup >
57
- <Compile Include =" ..\SolutionInfo.cs" >
58
- <Link >Properties\SolutionInfo.cs</Link >
59
- </Compile >
60
- <Compile Include =" Extension\Create\TfxExtensionCreateArgumentBuilder.cs" />
61
- <Compile Include =" Extension\Create\TfxExtensionCreateRunner.cs" />
62
- <Compile Include =" Extension\Create\TfxExtensionCreateSettings.cs" />
63
- <Compile Include =" Extension\ICreatePublishSettings.cs" />
64
- <Compile Include =" Extension\Install\TfxExtensionInstallArgumentBuilder.cs" />
65
- <Compile Include =" Extension\Install\TfxExtensionInstallRunner.cs" />
66
- <Compile Include =" Extension\Install\TfxExtensionInstallSettings.cs" />
67
- <Compile Include =" Extension\Publish\TfxExtensionPublishArgumentBuilder.cs" />
68
- <Compile Include =" Extension\Publish\TfxExtensionPublishRunner.cs" />
69
- <Compile Include =" Extension\Publish\TfxExtensionPublishSettings.cs" />
70
- <Compile Include =" Extension\Share\TfxExtensionShareArgumentBuilder.cs" />
71
- <Compile Include =" Extension\Share\TfxExtensionShareRunner.cs" />
72
- <Compile Include =" Extension\Share\TfxExtensionShareSettings.cs" />
73
- <Compile Include =" ITfxArgumentBuilder.cs" />
74
- <Compile Include =" Properties\AssemblyInfo.cs" />
75
- <Compile Include =" TfxAliases.cs" />
76
- <Compile Include =" TfxArgumentBuilder.cs" />
77
- <Compile Include =" TfxAuthType.cs" />
78
- <Compile Include =" TfxServerSettings.cs" />
79
- <Compile Include =" TfxSettings.cs" />
80
- <Compile Include =" TfxOutputType.cs" />
81
- <Compile Include =" TfxTool.cs" />
82
- </ItemGroup >
83
- <ItemGroup >
84
- <None Include =" Cake.Tfx.ruleset" />
85
- <None Include =" packages.config" />
86
- <None Include =" tfx.cake" >
87
- <CopyToOutputDirectory >Always</CopyToOutputDirectory >
88
- </None >
89
- </ItemGroup >
90
- <ItemGroup >
91
- <Analyzer Include =" ..\packages\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\Newtonsoft.Json.dll" />
92
- <Analyzer Include =" ..\packages\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\StyleCop.Analyzers.CodeFixes.dll" />
93
- <Analyzer Include =" ..\packages\StyleCop.Analyzers.1.0.0\analyzers\dotnet\cs\StyleCop.Analyzers.dll" />
30
+ <Reference Include =" System.Net.Http.WebRequest" />
94
31
</ItemGroup >
95
- <ItemGroup />
96
- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
97
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
98
- Other similar extension points exist, see Microsoft.Common.targets.
99
- <Target Name="BeforeBuild">
100
- </Target>
101
- <Target Name="AfterBuild">
102
- </Target>
103
- -->
104
- </Project >
32
+ </Project >
0 commit comments