You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

shadowsocks-csharp.csproj 19 kB

12 years ago
12 years ago
12 years ago
10 years ago
10 years ago
12 years ago
12 years ago
10 years ago
12 years ago
12 years ago
9 years ago
12 years ago
12 years ago
12 years ago
10 years ago
12 years ago
12 years ago
10 years ago
12 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
10 years ago
12 years ago
10 years ago
10 years ago
12 years ago
12 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
12 years ago
12 years ago
12 years ago
12 years ago
10 years ago
10 years ago
10 years ago
10 years ago
12 years ago
12 years ago
10 years ago
10 years ago
12 years ago
12 years ago
12 years ago
12 years ago
9 years ago
12 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <PropertyGroup>
  4. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  5. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  6. <ProductVersion>9.0.21022</ProductVersion>
  7. <SchemaVersion>2.0</SchemaVersion>
  8. <ProjectGuid>{8C02D2F7-7CDB-4D55-9F25-CD03EF4AA062}</ProjectGuid>
  9. <OutputType>WinExe</OutputType>
  10. <AppDesignerFolder>Properties</AppDesignerFolder>
  11. <RootNamespace>Shadowsocks</RootNamespace>
  12. <AssemblyName>Shadowsocks</AssemblyName>
  13. <TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
  14. <FileAlignment>512</FileAlignment>
  15. <StartupObject>
  16. </StartupObject>
  17. <ApplicationIcon>shadowsocks.ico</ApplicationIcon>
  18. <IsWebBootstrapper>false</IsWebBootstrapper>
  19. <FileUpgradeFlags>
  20. </FileUpgradeFlags>
  21. <UpgradeBackupLocation>
  22. </UpgradeBackupLocation>
  23. <OldToolsVersion>3.5</OldToolsVersion>
  24. <TargetFrameworkProfile>
  25. </TargetFrameworkProfile>
  26. <PublishUrl>publish\</PublishUrl>
  27. <Install>true</Install>
  28. <InstallFrom>Disk</InstallFrom>
  29. <UpdateEnabled>false</UpdateEnabled>
  30. <UpdateMode>Foreground</UpdateMode>
  31. <UpdateInterval>7</UpdateInterval>
  32. <UpdateIntervalUnits>Days</UpdateIntervalUnits>
  33. <UpdatePeriodically>false</UpdatePeriodically>
  34. <UpdateRequired>false</UpdateRequired>
  35. <MapFileExtensions>true</MapFileExtensions>
  36. <ApplicationRevision>1</ApplicationRevision>
  37. <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
  38. <UseApplicationTrust>false</UseApplicationTrust>
  39. <BootstrapperEnabled>true</BootstrapperEnabled>
  40. <NuGetPackageImportStamp>
  41. </NuGetPackageImportStamp>
  42. </PropertyGroup>
  43. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
  44. <DebugSymbols>true</DebugSymbols>
  45. <OutputPath>bin\x86\Debug\</OutputPath>
  46. <DefineConstants>TRACE;DEBUG</DefineConstants>
  47. <DebugType>full</DebugType>
  48. <PlatformTarget>x86</PlatformTarget>
  49. <ErrorReport>prompt</ErrorReport>
  50. <CodeAnalysisRuleSet>ManagedMinimumRules.ruleset</CodeAnalysisRuleSet>
  51. <Prefer32Bit>false</Prefer32Bit>
  52. <Optimize>false</Optimize>
  53. </PropertyGroup>
  54. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
  55. <OutputPath>bin\x86\Release\</OutputPath>
  56. <DefineConstants>TRACE</DefineConstants>
  57. <Optimize>true</Optimize>
  58. <DebugType>pdbonly</DebugType>
  59. <PlatformTarget>x86</PlatformTarget>
  60. <ErrorReport>prompt</ErrorReport>
  61. <CodeAnalysisRuleSet>ManagedMinimumRules.ruleset</CodeAnalysisRuleSet>
  62. <Prefer32Bit>false</Prefer32Bit>
  63. <DebugSymbols>true</DebugSymbols>
  64. </PropertyGroup>
  65. <PropertyGroup>
  66. <ApplicationManifest>app.manifest</ApplicationManifest>
  67. </PropertyGroup>
  68. <ItemGroup>
  69. <Reference Include="GlobalHotKey, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
  70. <HintPath>3rd\GlobalHotKey.1.1.0\lib\GlobalHotKey.dll</HintPath>
  71. <Private>True</Private>
  72. </Reference>
  73. <Reference Include="Microsoft.CSharp" />
  74. <Reference Include="Microsoft.VisualBasic" />
  75. <Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
  76. <HintPath>3rd\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
  77. <Private>True</Private>
  78. </Reference>
  79. <Reference Include="System" />
  80. <Reference Include="System.Data" />
  81. <Reference Include="System.Drawing" />
  82. <Reference Include="System.Management" />
  83. <Reference Include="System.Net" />
  84. <Reference Include="System.Windows.Forms" />
  85. <Reference Include="System.Windows.Forms.DataVisualization" />
  86. <Reference Include="System.XML" />
  87. <Reference Include="WindowsBase" />
  88. </ItemGroup>
  89. <ItemGroup>
  90. <Compile Include="3rd\zxing\BarcodeFormat.cs" />
  91. <Compile Include="3rd\zxing\BaseLuminanceSource.cs" />
  92. <Compile Include="3rd\zxing\Binarizer.cs" />
  93. <Compile Include="3rd\zxing\BinaryBitmap.cs" />
  94. <Compile Include="3rd\zxing\BitmapLuminanceSource.cs" />
  95. <Compile Include="3rd\zxing\common\BitArray.cs" />
  96. <Compile Include="3rd\zxing\common\BitMatrix.cs" />
  97. <Compile Include="3rd\zxing\common\BitSource.cs" />
  98. <Compile Include="3rd\zxing\common\DecoderResult.cs" />
  99. <Compile Include="3rd\zxing\common\DefaultGridSampler.cs" />
  100. <Compile Include="3rd\zxing\common\DetectorResult.cs" />
  101. <Compile Include="3rd\zxing\common\detector\MathUtils.cs" />
  102. <Compile Include="3rd\zxing\common\GlobalHistogramBinarizer.cs" />
  103. <Compile Include="3rd\zxing\common\GridSampler.cs" />
  104. <Compile Include="3rd\zxing\common\HybridBinarizer.cs" />
  105. <Compile Include="3rd\zxing\common\PerspectiveTransform.cs" />
  106. <Compile Include="3rd\zxing\common\reedsolomon\GenericGF.cs" />
  107. <Compile Include="3rd\zxing\common\reedsolomon\GenericGFPoly.cs" />
  108. <Compile Include="3rd\zxing\common\reedsolomon\ReedSolomonDecoder.cs" />
  109. <Compile Include="3rd\zxing\common\reedsolomon\ReedSolomonEncoder.cs" />
  110. <Compile Include="3rd\zxing\common\StringUtils.cs" />
  111. <Compile Include="3rd\zxing\DecodeHintType.cs" />
  112. <Compile Include="3rd\zxing\EncodeHintType.cs" />
  113. <Compile Include="3rd\zxing\LuminanceSource.cs" />
  114. <Compile Include="3rd\zxing\qrcode\decoder\BitMatrixParser.cs" />
  115. <Compile Include="3rd\zxing\qrcode\decoder\DataBlock.cs" />
  116. <Compile Include="3rd\zxing\qrcode\decoder\DataMask.cs" />
  117. <Compile Include="3rd\zxing\qrcode\decoder\DecodedBitStreamParser.cs" />
  118. <Compile Include="3rd\zxing\qrcode\decoder\Decoder.cs" />
  119. <Compile Include="3rd\zxing\qrcode\decoder\ErrorCorrectionLevel.cs" />
  120. <Compile Include="3rd\zxing\qrcode\decoder\FormatInformation.cs" />
  121. <Compile Include="3rd\zxing\qrcode\decoder\Mode.cs" />
  122. <Compile Include="3rd\zxing\qrcode\decoder\QRCodeDecoderMetaData.cs" />
  123. <Compile Include="3rd\zxing\qrcode\decoder\Version.cs" />
  124. <Compile Include="3rd\zxing\qrcode\detector\AlignmentPattern.cs" />
  125. <Compile Include="3rd\zxing\qrcode\detector\AlignmentPatternFinder.cs" />
  126. <Compile Include="3rd\zxing\qrcode\detector\Detector.cs" />
  127. <Compile Include="3rd\zxing\qrcode\detector\FinderPattern.cs" />
  128. <Compile Include="3rd\zxing\qrcode\detector\FinderPatternFinder.cs" />
  129. <Compile Include="3rd\zxing\qrcode\detector\FinderPatternInfo.cs" />
  130. <Compile Include="3rd\zxing\qrcode\encoder\BlockPair.cs" />
  131. <Compile Include="3rd\zxing\qrcode\encoder\ByteMatrix.cs" />
  132. <Compile Include="3rd\zxing\qrcode\encoder\Encoder.cs" />
  133. <Compile Include="3rd\zxing\qrcode\encoder\MaskUtil.cs" />
  134. <Compile Include="3rd\zxing\qrcode\encoder\MatrixUtil.cs" />
  135. <Compile Include="3rd\zxing\qrcode\encoder\QRCode.cs" />
  136. <Compile Include="3rd\zxing\qrcode\QRCodeReader.cs" />
  137. <Compile Include="3rd\zxing\Result.cs" />
  138. <Compile Include="3rd\zxing\ResultMetadataType.cs" />
  139. <Compile Include="3rd\zxing\ResultPoint.cs" />
  140. <Compile Include="3rd\zxing\ResultPointCallback.cs" />
  141. <Compile Include="3rd\zxing\WriterException.cs" />
  142. <Compile Include="Model\HotKeyConfig.cs" />
  143. <Compile Include="Model\ProxyConfig.cs" />
  144. <Compile Include="Proxy\DirectConnect.cs" />
  145. <Compile Include="Proxy\HttpProxy.cs" />
  146. <Compile Include="Proxy\IProxy.cs" />
  147. <Compile Include="Controller\Service\AvailabilityStatistics.cs" />
  148. <Compile Include="Controller\Strategy\HighAvailabilityStrategy.cs" />
  149. <Compile Include="Controller\Strategy\StatisticsStrategy.cs" />
  150. <Compile Include="Controller\System\AutoStartup.cs" />
  151. <Compile Include="Controller\FileManager.cs" />
  152. <Compile Include="Controller\Service\GFWListUpdater.cs" />
  153. <Compile Include="Controller\I18N.cs" />
  154. <Compile Include="Controller\Service\Listener.cs" />
  155. <Compile Include="Controller\Logging.cs" />
  156. <Compile Include="Controller\Service\PortForwarder.cs" />
  157. <Compile Include="Controller\Service\UDPRelay.cs" />
  158. <Compile Include="Controller\Service\UpdateChecker.cs" />
  159. <Compile Include="Encryption\EncryptorBase.cs" />
  160. <Compile Include="Encryption\EncryptorFactory.cs" />
  161. <Compile Include="Encryption\IVEncryptor.cs" />
  162. <Compile Include="Encryption\MbedTLS.cs" />
  163. <Compile Include="Encryption\MbedTLSEncryptor.cs" />
  164. <Compile Include="Encryption\Sodium.cs" />
  165. <Compile Include="Encryption\SodiumEncryptor.cs" />
  166. <Compile Include="Encryption\IEncryptor.cs" />
  167. <Compile Include="Controller\Service\PACServer.cs" />
  168. <Compile Include="Model\LogViewerConfig.cs" />
  169. <Compile Include="Model\Server.cs" />
  170. <Compile Include="Model\Configuration.cs" />
  171. <Compile Include="Model\StatisticsRecord.cs" />
  172. <Compile Include="Model\StatisticsStrategyConfiguration.cs" />
  173. <Compile Include="Properties\Resources.Designer.cs">
  174. <AutoGen>True</AutoGen>
  175. <DesignTime>True</DesignTime>
  176. <DependentUpon>Resources.resx</DependentUpon>
  177. </Compile>
  178. <Compile Include="Controller\Strategy\BalancingStrategy.cs" />
  179. <Compile Include="Controller\Strategy\StrategyManager.cs" />
  180. <Compile Include="Controller\Strategy\IStrategy.cs" />
  181. <Compile Include="Proxy\Socks5Proxy.cs" />
  182. <Compile Include="StringEx.cs" />
  183. <Compile Include="Util\Hotkeys.cs" />
  184. <Compile Include="Util\ProcessManagement\Job.cs" />
  185. <Compile Include="Util\ProcessManagement\ThreadUtil.cs" />
  186. <Compile Include="Util\Sockets\LineReader.cs" />
  187. <Compile Include="Util\Sockets\SocketUtil.cs" />
  188. <Compile Include="Util\Sockets\WrappedSocket.cs" />
  189. <Compile Include="Util\SystemProxy\INTERNET_OPTION.cs" />
  190. <Compile Include="Util\SystemProxy\INTERNET_PER_CONN_OPTION.cs" />
  191. <Compile Include="Util\SystemProxy\INTERNET_PER_CONN_OPTION_LIST.cs" />
  192. <Compile Include="Util\SystemProxy\NativeMethods.cs" />
  193. <Compile Include="Util\SystemProxy\RAS.cs" />
  194. <Compile Include="Util\SystemProxy\WinINet.cs" />
  195. <Compile Include="Util\Util.cs" />
  196. <Compile Include="View\ConfigForm.cs">
  197. <SubType>Form</SubType>
  198. </Compile>
  199. <Compile Include="View\ConfigForm.Designer.cs">
  200. <DependentUpon>ConfigForm.cs</DependentUpon>
  201. </Compile>
  202. <Compile Include="Controller\Service\TCPRelay.cs" />
  203. <Compile Include="Controller\Service\PrivoxyRunner.cs" />
  204. <Compile Include="Program.cs" />
  205. <Compile Include="Properties\AssemblyInfo.cs" />
  206. <Compile Include="Controller\ShadowsocksController.cs" />
  207. <Compile Include="Controller\System\SystemProxy.cs" />
  208. <Compile Include="View\CalculationControl.cs">
  209. <SubType>UserControl</SubType>
  210. </Compile>
  211. <Compile Include="View\CalculationControl.Designer.cs">
  212. <DependentUpon>CalculationControl.cs</DependentUpon>
  213. </Compile>
  214. <Compile Include="View\HotkeySettingsForm.cs">
  215. <SubType>Form</SubType>
  216. </Compile>
  217. <Compile Include="View\HotkeySettingsForm.designer.cs">
  218. <DependentUpon>HotkeySettingsForm.cs</DependentUpon>
  219. </Compile>
  220. <Compile Include="View\LogForm.cs">
  221. <SubType>Form</SubType>
  222. </Compile>
  223. <Compile Include="View\LogForm.Designer.cs">
  224. <DependentUpon>LogForm.cs</DependentUpon>
  225. </Compile>
  226. <Compile Include="View\MenuViewController.cs" />
  227. <Compile Include="View\ProxyForm.cs">
  228. <SubType>Form</SubType>
  229. </Compile>
  230. <Compile Include="View\ProxyForm.Designer.cs">
  231. <DependentUpon>ProxyForm.cs</DependentUpon>
  232. </Compile>
  233. <Compile Include="View\QRCodeForm.cs">
  234. <SubType>Form</SubType>
  235. </Compile>
  236. <Compile Include="View\QRCodeForm.Designer.cs">
  237. <DependentUpon>QRCodeForm.cs</DependentUpon>
  238. </Compile>
  239. <Compile Include="View\QRCodeSplashForm.cs">
  240. <SubType>Form</SubType>
  241. </Compile>
  242. <Compile Include="View\StatisticsStrategyConfigurationForm.cs">
  243. <SubType>Form</SubType>
  244. </Compile>
  245. <Compile Include="View\StatisticsStrategyConfigurationForm.Designer.cs">
  246. <DependentUpon>StatisticsStrategyConfigurationForm.cs</DependentUpon>
  247. </Compile>
  248. <EmbeddedResource Include="View\ConfigForm.resx">
  249. <DependentUpon>ConfigForm.cs</DependentUpon>
  250. <SubType>Designer</SubType>
  251. </EmbeddedResource>
  252. <EmbeddedResource Include="Properties\Resources.resx">
  253. <Generator>ResXFileCodeGenerator</Generator>
  254. <SubType>Designer</SubType>
  255. <LastGenOutput>Resources.Designer.cs</LastGenOutput>
  256. </EmbeddedResource>
  257. <EmbeddedResource Include="View\CalculationControl.resx">
  258. <DependentUpon>CalculationControl.cs</DependentUpon>
  259. </EmbeddedResource>
  260. <EmbeddedResource Include="View\HotkeySettingsForm.resx">
  261. <DependentUpon>HotkeySettingsForm.cs</DependentUpon>
  262. </EmbeddedResource>
  263. <EmbeddedResource Include="View\LogForm.resx">
  264. <DependentUpon>LogForm.cs</DependentUpon>
  265. </EmbeddedResource>
  266. <EmbeddedResource Include="View\ProxyForm.resx">
  267. <DependentUpon>ProxyForm.cs</DependentUpon>
  268. </EmbeddedResource>
  269. <EmbeddedResource Include="View\QRCodeForm.resx">
  270. <DependentUpon>QRCodeForm.cs</DependentUpon>
  271. </EmbeddedResource>
  272. <EmbeddedResource Include="View\StatisticsStrategyConfigurationForm.resx">
  273. <DependentUpon>StatisticsStrategyConfigurationForm.cs</DependentUpon>
  274. </EmbeddedResource>
  275. <None Include="app.config" />
  276. <None Include="app.manifest">
  277. <SubType>Designer</SubType>
  278. </None>
  279. <None Include="Data\abp.js.gz" />
  280. <None Include="Data\libsscrypto.dll.gz" />
  281. <None Include="Data\mgwz.dll.gz" />
  282. <None Include="Data\privoxy.exe.gz" />
  283. <None Include="Data\proxy.pac.txt.gz" />
  284. </ItemGroup>
  285. <ItemGroup>
  286. <None Include="packages.config" />
  287. <None Include="Properties\DataSources\Shadowsocks.Model.StatisticsStrategyConfiguration.datasource" />
  288. <None Include="Resources\ss20.png" />
  289. <None Include="Resources\ss16.png" />
  290. <None Include="Resources\ss24.png" />
  291. <None Include="Resources\ssw128.png" />
  292. <Content Include="Data\cn.txt" />
  293. <Content Include="Data\privoxy_conf.txt" />
  294. <Content Include="Data\user-rule.txt" />
  295. <Content Include="Data\zh_tw.txt" />
  296. <Content Include="FodyWeavers.xml">
  297. <SubType>Designer</SubType>
  298. </Content>
  299. <Content Include="Resources\ssIn24.png" />
  300. <Content Include="Resources\ssOut24.png" />
  301. <Content Include="shadowsocks.ico" />
  302. </ItemGroup>
  303. <ItemGroup>
  304. <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
  305. <Visible>False</Visible>
  306. <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
  307. <Install>false</Install>
  308. </BootstrapperPackage>
  309. <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
  310. <Visible>False</Visible>
  311. <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
  312. <Install>false</Install>
  313. </BootstrapperPackage>
  314. <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
  315. <Visible>False</Visible>
  316. <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
  317. <Install>false</Install>
  318. </BootstrapperPackage>
  319. <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
  320. <Visible>False</Visible>
  321. <ProductName>.NET Framework 3.5</ProductName>
  322. <Install>true</Install>
  323. </BootstrapperPackage>
  324. <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
  325. <Visible>False</Visible>
  326. <ProductName>.NET Framework 3.5 SP1</ProductName>
  327. <Install>false</Install>
  328. </BootstrapperPackage>
  329. <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
  330. <Visible>False</Visible>
  331. <ProductName>Windows Installer 3.1</ProductName>
  332. <Install>true</Install>
  333. </BootstrapperPackage>
  334. </ItemGroup>
  335. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  336. <UsingTask TaskName="CosturaCleanup" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll" TaskFactory="CodeTaskFactory">
  337. <ParameterGroup>
  338. <Config Output="false" Required="true" ParameterType="Microsoft.Build.Framework.ITaskItem" />
  339. <Files Output="false" Required="true" ParameterType="Microsoft.Build.Framework.ITaskItem[]" />
  340. </ParameterGroup>
  341. <Task Evaluate="true">
  342. <Reference xmlns="http://schemas.microsoft.com/developer/msbuild/2003" Include="System.Xml" />
  343. <Reference xmlns="http://schemas.microsoft.com/developer/msbuild/2003" Include="System.Xml.Linq" />
  344. <Using xmlns="http://schemas.microsoft.com/developer/msbuild/2003" Namespace="System" />
  345. <Using xmlns="http://schemas.microsoft.com/developer/msbuild/2003" Namespace="System.IO" />
  346. <Using xmlns="http://schemas.microsoft.com/developer/msbuild/2003" Namespace="System.Xml.Linq" />
  347. <Code xmlns="http://schemas.microsoft.com/developer/msbuild/2003" Type="Fragment" Language="cs"><![CDATA[
  348. var config = XElement.Load(Config.ItemSpec).Elements("Costura").FirstOrDefault();
  349. if (config == null) return true;
  350. var excludedAssemblies = new List<string>();
  351. var attribute = config.Attribute("ExcludeAssemblies");
  352. if (attribute != null)
  353. foreach (var item in attribute.Value.Split('|').Select(x => x.Trim()).Where(x => x != string.Empty))
  354. excludedAssemblies.Add(item);
  355. var element = config.Element("ExcludeAssemblies");
  356. if (element != null)
  357. foreach (var item in element.Value.Split(new[] { "\r\n", "\n" }, StringSplitOptions.RemoveEmptyEntries).Select(x => x.Trim()).Where(x => x != string.Empty))
  358. excludedAssemblies.Add(item);
  359. var filesToCleanup = Files.Select(f => f.ItemSpec).Where(f => !excludedAssemblies.Contains(Path.GetFileNameWithoutExtension(f), StringComparer.InvariantCultureIgnoreCase));
  360. foreach (var item in filesToCleanup)
  361. File.Delete(item);
  362. ]]></Code>
  363. </Task>
  364. </UsingTask>
  365. <Target Name="CleanReferenceCopyLocalPaths" AfterTargets="AfterBuild;NonWinFodyTarget">
  366. <CosturaCleanup Config="FodyWeavers.xml" Files="@(ReferenceCopyLocalPaths->'$(OutDir)%(DestinationSubDirectory)%(Filename)%(Extension)')" />
  367. </Target>
  368. <Import Project="3rd\Fody.1.29.4\build\dotnet\Fody.targets" Condition="Exists('3rd\Fody.1.29.4\build\dotnet\Fody.targets')" />
  369. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  370. <PropertyGroup>
  371. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  372. </PropertyGroup>
  373. <Error Condition="!Exists('3rd\Fody.1.29.4\build\dotnet\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '3rd\Fody.1.29.4\build\dotnet\Fody.targets'))" />
  374. </Target>
  375. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  376. Other similar extension points exist, see Microsoft.Common.targets.
  377. <Target Name="BeforeBuild">
  378. </Target>
  379. <Target Name="AfterBuild">
  380. </Target>
  381. -->
  382. </Project>