|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk">
|
2 | 2 |
|
3 | 3 | <PropertyGroup>
|
4 |
| - <TargetFramework>netcoreapp2.0</TargetFramework> |
5 |
| - <AssemblyName>WebDriver.Net.Core</AssemblyName> |
| 4 | + <TargetFrameworks>netstandard2.0;net45;net40;net35</TargetFrameworks> |
| 5 | + <AssemblyName>WebDriver</AssemblyName> |
| 6 | + <GenerateAssemblyInfo>false</GenerateAssemblyInfo> |
| 7 | + <BuildSystem>visual-studio</BuildSystem> |
| 8 | + </PropertyGroup> |
| 9 | + |
| 10 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> |
| 11 | + <OutputPath>..\..\..\build\cli\Release\</OutputPath> |
6 | 12 | </PropertyGroup>
|
7 | 13 |
|
8 | 14 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
9 | 15 | <OutputPath>..\..\..\build\cli\Debug\</OutputPath>
|
10 | 16 | </PropertyGroup>
|
11 | 17 |
|
12 |
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> |
13 |
| - <OutputPath>..\..\..\build\cli\Release\</OutputPath> |
| 18 | + <PropertyGroup> |
| 19 | + <FrameworkPathOverride Condition="'$(TargetFramework)'=='net35'">C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client</FrameworkPathOverride> |
| 20 | + </PropertyGroup> |
| 21 | + |
| 22 | + <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net35|AnyCPU'"> |
| 23 | + <DocumentationFile>..\..\..\build\cli\Release\net35\WebDriver.xml</DocumentationFile> |
| 24 | + </PropertyGroup> |
| 25 | + |
| 26 | + <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net35|AnyCPU'"> |
| 27 | + <DocumentationFile>..\..\..\build\cli\Debug\net35\WebDriver.xml</DocumentationFile> |
| 28 | + <WarningLevel>0</WarningLevel> |
| 29 | + </PropertyGroup> |
| 30 | + |
| 31 | + <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net40|AnyCPU'"> |
| 32 | + <DocumentationFile>..\..\..\build\cli\Release\net40\WebDriver.xml</DocumentationFile> |
| 33 | + </PropertyGroup> |
| 34 | + |
| 35 | + <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net40|AnyCPU'"> |
| 36 | + <DocumentationFile>..\..\..\build\cli\Debug\net40\WebDriver.xml</DocumentationFile> |
| 37 | + <WarningLevel>0</WarningLevel> |
| 38 | + </PropertyGroup> |
| 39 | + |
| 40 | + <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net45|AnyCPU'"> |
| 41 | + <DocumentationFile>..\..\..\build\cli\Release\net45\WebDriver.xml</DocumentationFile> |
| 42 | + </PropertyGroup> |
| 43 | + |
| 44 | + <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net45|AnyCPU'"> |
| 45 | + <DocumentationFile>..\..\..\build\cli\Debug\net45\WebDriver.xml</DocumentationFile> |
| 46 | + <WarningLevel>0</WarningLevel> |
| 47 | + </PropertyGroup> |
| 48 | + |
| 49 | + <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'"> |
| 50 | + <DocumentationFile>..\..\..\build\cli\Release\netstandard2.0\WebDriver.xml</DocumentationFile> |
| 51 | + </PropertyGroup> |
| 52 | + |
| 53 | + <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'"> |
| 54 | + <DocumentationFile>..\..\..\build\cli\Debug\netstandard2.0\WebDriver.xml</DocumentationFile> |
| 55 | + <WarningLevel>0</WarningLevel> |
14 | 56 | </PropertyGroup>
|
15 | 57 |
|
16 | 58 | <ItemGroup>
|
17 |
| - <Compile Remove="Properties\AssemblyInfo.cs" /> |
| 59 | + <Compile Remove="obj\**" /> |
| 60 | + <Compile Remove="obj_core\**" /> |
| 61 | + <EmbeddedResource Remove="obj\**" /> |
| 62 | + <EmbeddedResource Remove="obj_core\**" /> |
| 63 | + <None Remove="obj\**" /> |
| 64 | + <None Remove="obj_core\**" /> |
18 | 65 | </ItemGroup>
|
19 | 66 |
|
20 | 67 | <ItemGroup>
|
21 | 68 | <None Remove="BUCK" />
|
22 | 69 | <None Remove="build.desc" />
|
23 | 70 | <None Remove="Settings.StyleCop" />
|
| 71 | + <None Remove="WebDriver.nuspec" /> |
24 | 72 | <None Remove="WebDriver.ruleset" />
|
25 | 73 | </ItemGroup>
|
26 | 74 |
|
27 |
| - <ItemGroup> |
| 75 | + <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> |
| 76 | + <Reference Include="ImageSharp"> |
| 77 | + <HintPath>..\..\..\third_party\dotnet\imagesharp-1.0.0-alpha9-00194\netstandard1.3\ImageSharp.dll</HintPath> |
| 78 | + </Reference> |
28 | 79 | <Reference Include="Newtonsoft.Json">
|
29 | 80 | <HintPath>..\..\..\third_party\dotnet\json-net-10.0r2\netstandard1.3\Newtonsoft.Json.dll</HintPath>
|
30 | 81 | </Reference>
|
31 |
| - <Reference Include="ImageSharp"> |
32 |
| - <HintPath>..\..\..\third_party\dotnet\imagesharp-1.0.0-alpha9-00182\netstandard1.3\ImageSharp.dll</HintPath> |
| 82 | + </ItemGroup> |
| 83 | + |
| 84 | + <ItemGroup Condition="'$(TargetFramework)' == 'net45'"> |
| 85 | + <Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> |
| 86 | + <SpecificVersion>False</SpecificVersion> |
| 87 | + <HintPath>..\..\..\third_party\dotnet\json-net-10.0r2\net45\Newtonsoft.Json.dll</HintPath> |
33 | 88 | </Reference>
|
| 89 | + <Reference Include="System" /> |
| 90 | + <Reference Include="System.Core" /> |
| 91 | + <Reference Include="System.Drawing" /> |
| 92 | + <Reference Include="System.Xml.Linq" /> |
| 93 | + <Reference Include="System.Data.DataSetExtensions" /> |
| 94 | + <Reference Include="Microsoft.CSharp" /> |
| 95 | + <Reference Include="System.Data" /> |
| 96 | + <Reference Include="System.Net.Http" /> |
| 97 | + <Reference Include="System.Xml" /> |
| 98 | + </ItemGroup> |
| 99 | + |
| 100 | + <ItemGroup Condition="'$(TargetFramework)' == 'net40'"> |
| 101 | + <Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> |
| 102 | + <SpecificVersion>False</SpecificVersion> |
| 103 | + <HintPath>..\..\..\third_party\dotnet\json-net-10.0r2\net40\Newtonsoft.Json.dll</HintPath> |
| 104 | + </Reference> |
| 105 | + <Reference Include="System" /> |
| 106 | + <Reference Include="System.Core" /> |
| 107 | + <Reference Include="System.Drawing" /> |
| 108 | + <Reference Include="System.Xml.Linq" /> |
| 109 | + <Reference Include="System.Data.DataSetExtensions" /> |
| 110 | + <Reference Include="Microsoft.CSharp" /> |
| 111 | + <Reference Include="System.Data" /> |
| 112 | + <Reference Include="System.Xml" /> |
| 113 | + </ItemGroup> |
| 114 | + |
| 115 | + <ItemGroup Condition="'$(TargetFramework)' == 'net35'"> |
| 116 | + <Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> |
| 117 | + <SpecificVersion>False</SpecificVersion> |
| 118 | + <HintPath>..\..\..\third_party\dotnet\json-net-10.0r2\net35\Newtonsoft.Json.dll</HintPath> |
| 119 | + </Reference> |
| 120 | + <Reference Include="System" /> |
| 121 | + <Reference Include="System.Core" /> |
| 122 | + <Reference Include="System.Drawing" /> |
| 123 | + <Reference Include="System.Xml.Linq" /> |
| 124 | + <Reference Include="System.Data.DataSetExtensions" /> |
| 125 | + <Reference Include="System.Data" /> |
| 126 | + <Reference Include="System.Xml" /> |
34 | 127 | </ItemGroup>
|
35 | 128 |
|
36 | 129 | <ItemGroup>
|
37 | 130 | <Folder Include="Properties\" />
|
38 | 131 | </ItemGroup>
|
39 | 132 |
|
| 133 | + <ItemGroup Condition="'$(BuildSystem)' == 'buck'"> |
| 134 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\javascript\firefox-driver\webdriver\webdriver.xpi"> |
| 135 | + <Visible>False</Visible> |
| 136 | + <LogicalName>WebDriver.FirefoxExt.zip</LogicalName> |
| 137 | + </EmbeddedResource> |
| 138 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\javascript\firefox-driver\webdriver_prefs"> |
| 139 | + <Visible>False</Visible> |
| 140 | + <LogicalName>WebDriver.FirefoxPreferences</LogicalName> |
| 141 | + </EmbeddedResource> |
| 142 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\javascript\webdriver\atoms\getAttribute.js"> |
| 143 | + <Visible>False</Visible> |
| 144 | + <LogicalName>getAttribute.js</LogicalName> |
| 145 | + </EmbeddedResource> |
| 146 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\javascript\atoms\fragments\is-displayed.js"> |
| 147 | + <Visible>False</Visible> |
| 148 | + <LogicalName>isDisplayed.js</LogicalName> |
| 149 | + </EmbeddedResource> |
| 150 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\cpp\prebuilt\i386\x_ignore_nofocus.so"> |
| 151 | + <Visible>False</Visible> |
| 152 | + <LogicalName>WebDriver.FirefoxNoFocus.x86.dll</LogicalName> |
| 153 | + </EmbeddedResource> |
| 154 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\cpp\prebuilt\amd64\x_ignore_nofocus.so"> |
| 155 | + <Visible>False</Visible> |
| 156 | + <LogicalName>WebDriver.FirefoxNoFocus.x64.dll</LogicalName> |
| 157 | + </EmbeddedResource> |
| 158 | + </ItemGroup> |
| 159 | + |
40 | 160 | </Project>
|
0 commit comments