11<?xml version =" 1.0" encoding =" utf-8" ?>
22<Project ToolsVersion =" 15.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3+ <Import Project =" packages\ILMerge.3.0.41\build\ILMerge.props" Condition =" Exists('packages\ILMerge.3.0.41\build\ILMerge.props')" />
34 <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
45 <PropertyGroup >
56 <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
1314 <AutoGenerateBindingRedirects >true</AutoGenerateBindingRedirects >
1415 <Deterministic >true</Deterministic >
1516 <TargetFrameworkProfile />
17+ <NuGetPackageImportStamp >
18+ </NuGetPackageImportStamp >
1619 </PropertyGroup >
1720 <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
1821 <PlatformTarget >x86</PlatformTarget >
1922 <DebugSymbols >true</DebugSymbols >
2023 <DebugType >full</DebugType >
21- <Optimize >false </Optimize >
24+ <Optimize >true </Optimize >
2225 <OutputPath >bin\Debug\</OutputPath >
2326 <DefineConstants >DEBUG;TRACE</DefineConstants >
2427 <ErrorReport >prompt</ErrorReport >
118121 <None Include =" Resources\libcurl.dll" />
119122 </ItemGroup >
120123 <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
124+ <Target Name =" EnsureNuGetPackageBuildImports" BeforeTargets =" PrepareForBuild" >
125+ <PropertyGroup >
126+ <ErrorText >This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText >
127+ </PropertyGroup >
128+ <Error Condition =" !Exists('packages\ILMerge.3.0.41\build\ILMerge.props')" Text =" $([System.String]::Format('$(ErrorText)', 'packages\ILMerge.3.0.41\build\ILMerge.props'))" />
129+ </Target >
130+ <PropertyGroup >
131+ <PostBuildEvent >"$(SolutionDir)packages\ILMerge.3.0.41\tools\net452\ILMerge.exe" /out:"$(TargetDir)Merged.exe" "$(TargetPath)" "$(TargetDir)Newtonsoft.Json.dll"</PostBuildEvent >
132+ </PropertyGroup >
121133</Project >
0 commit comments