MiscToolSet.csproj 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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="C:\NuGetLocalRepo\ILRepack.2.0.18\build\ILRepack.props" Condition="Exists('C:\NuGetLocalRepo\ILRepack.2.0.18\build\ILRepack.props')" />
  4. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  5. <PropertyGroup>
  6. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  7. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  8. <ProjectGuid>{9A38DF9F-2A22-413A-B51B-5647DCA8F131}</ProjectGuid>
  9. <OutputType>WinExe</OutputType>
  10. <AppDesignerFolder>Properties</AppDesignerFolder>
  11. <RootNamespace>MiscToolSet</RootNamespace>
  12. <AssemblyName>MiscToolSet</AssemblyName>
  13. <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
  14. <FileAlignment>512</FileAlignment>
  15. <NuGetPackageImportStamp>
  16. </NuGetPackageImportStamp>
  17. </PropertyGroup>
  18. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  19. <PlatformTarget>AnyCPU</PlatformTarget>
  20. <DebugSymbols>true</DebugSymbols>
  21. <DebugType>full</DebugType>
  22. <Optimize>false</Optimize>
  23. <OutputPath>bin\Debug\</OutputPath>
  24. <DefineConstants>DEBUG;TRACE</DefineConstants>
  25. <ErrorReport>prompt</ErrorReport>
  26. <WarningLevel>4</WarningLevel>
  27. </PropertyGroup>
  28. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  29. <PlatformTarget>AnyCPU</PlatformTarget>
  30. <DebugType>pdbonly</DebugType>
  31. <Optimize>true</Optimize>
  32. <OutputPath>bin\Release\</OutputPath>
  33. <DefineConstants>TRACE</DefineConstants>
  34. <ErrorReport>prompt</ErrorReport>
  35. <WarningLevel>4</WarningLevel>
  36. </PropertyGroup>
  37. <PropertyGroup>
  38. <RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
  39. </PropertyGroup>
  40. <ItemGroup>
  41. <Reference Include="Microsoft.AspNet.Identity.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
  42. <HintPath>C:\NuGetLocalRepo\Microsoft.AspNet.Identity.Core.2.2.3\lib\net45\Microsoft.AspNet.Identity.Core.dll</HintPath>
  43. <Private>True</Private>
  44. </Reference>
  45. <Reference Include="System" />
  46. <Reference Include="System.Core" />
  47. <Reference Include="System.Web" />
  48. <Reference Include="System.Xml.Linq" />
  49. <Reference Include="System.Data.DataSetExtensions" />
  50. <Reference Include="Microsoft.CSharp" />
  51. <Reference Include="System.Data" />
  52. <Reference Include="System.Deployment" />
  53. <Reference Include="System.Drawing" />
  54. <Reference Include="System.Net.Http" />
  55. <Reference Include="System.Windows.Forms" />
  56. <Reference Include="System.Xml" />
  57. </ItemGroup>
  58. <ItemGroup>
  59. <Compile Include="MainForm.cs">
  60. <SubType>Form</SubType>
  61. </Compile>
  62. <Compile Include="MainForm.Designer.cs">
  63. <DependentUpon>MainForm.cs</DependentUpon>
  64. </Compile>
  65. <Compile Include="Properties\AssemblyInfo.cs" />
  66. <EmbeddedResource Include="MainForm.resx">
  67. <DependentUpon>MainForm.cs</DependentUpon>
  68. </EmbeddedResource>
  69. </ItemGroup>
  70. <ItemGroup>
  71. <None Include="packages.config" />
  72. </ItemGroup>
  73. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  74. <PropertyGroup>
  75. <PostBuildEvent>
  76. if $(ConfigurationName) == Release if not exist $(TargetDir)Packed md $(TargetDir)Packed
  77. if $(ConfigurationName) == Release $(ILRepack) /ndebug /out:$(TargetDir)Packed\$(TargetFileName) $(TargetPath) Microsoft.AspNet.Identity.Core.dll
  78. if $(ConfigurationName) == Release if exist $(TargetDir)Packed\$(TargetFileName).config del $(TargetDir)Packed\$(TargetFileName).config</PostBuildEvent>
  79. </PropertyGroup>
  80. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  81. <PropertyGroup>
  82. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  83. </PropertyGroup>
  84. <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'))" />
  85. </Target>
  86. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  87. Other similar extension points exist, see Microsoft.Common.targets.
  88. <Target Name="BeforeBuild">
  89. </Target>
  90. <Target Name="AfterBuild">
  91. </Target>
  92. -->
  93. </Project>