|
@@ -1,5 +1,6 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
+ <Import Project="C:\NuGetLocalRepo\ILRepack.2.0.18\build\ILRepack.props" Condition="Exists('C:\NuGetLocalRepo\ILRepack.2.0.18\build\ILRepack.props')" />
|
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
|
<PropertyGroup>
|
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
@@ -8,10 +9,13 @@
|
|
|
<OutputType>WinExe</OutputType>
|
|
|
<RootNamespace>ScreenExtender</RootNamespace>
|
|
|
<AssemblyName>ScreenExtender</AssemblyName>
|
|
|
- <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
|
|
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
|
|
<FileAlignment>512</FileAlignment>
|
|
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
|
|
<Deterministic>true</Deterministic>
|
|
|
+ <TargetFrameworkProfile>Client</TargetFrameworkProfile>
|
|
|
+ <NuGetPackageImportStamp>
|
|
|
+ </NuGetPackageImportStamp>
|
|
|
</PropertyGroup>
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
@@ -70,6 +74,20 @@
|
|
|
<EmbeddedResource Include="Resources\index.html" />
|
|
|
<Content Include="Utility\Spy\SOURCE.txt" />
|
|
|
</ItemGroup>
|
|
|
- <ItemGroup />
|
|
|
+ <ItemGroup>
|
|
|
+ <None Include="app.config" />
|
|
|
+ <None Include="packages.config" />
|
|
|
+ </ItemGroup>
|
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
|
+ <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
|
+ <PropertyGroup>
|
|
|
+ <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
|
|
|
+ </PropertyGroup>
|
|
|
+ <Error Condition="!Exists('C:\NuGetLocalRepo\ILRepack.2.0.18\build\ILRepack.props')" Text="$([System.String]::Format('$(ErrorText)', 'C:\NuGetLocalRepo\ILRepack.2.0.18\build\ILRepack.props'))" />
|
|
|
+ </Target>
|
|
|
+ <PropertyGroup>
|
|
|
+ <PostBuildEvent>if $(ConfigurationName) == Release if not exist "$(TargetDir)Packed" md "$(TargetDir)Packed"
|
|
|
+if $(ConfigurationName) == Release $(ILRepack) /ndebug "/out:$(TargetDir)Packed\$(TargetFileName)" "$(TargetPath)"
|
|
|
+if $(ConfigurationName) == Release if exist "$(TargetDir)Packed\$(TargetFileName).config" del "$(TargetDir)Packed\$(TargetFileName).config"</PostBuildEvent>
|
|
|
+ </PropertyGroup>
|
|
|
</Project>
|