mirror of
https://github.com/yck1509/ConfuserEx
synced 2026-06-08 18:29:44 +00:00
166 lines
8.2 KiB
XML
166 lines
8.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProductVersion>8.0.30703</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<ProjectGuid>{BEB67A6E-4C54-4DE5-8C6B-2C12F44A7B92}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>Confuser.Core</RootNamespace>
|
|
<AssemblyName>Confuser.Core</AssemblyName>
|
|
<TargetFrameworkVersion Condition=" !$(DefineConstants.Contains('NET45')) ">v4.0</TargetFrameworkVersion>
|
|
<TargetFrameworkVersion Condition=" $(DefineConstants.Contains('NET45')) ">v4.5</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
|
|
<RestorePackages>true</RestorePackages>
|
|
<TargetFrameworkProfile />
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>..\Debug\bin\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<DocumentationFile>..\Debug\bin\Confuser.Core.xml</DocumentationFile>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>..\Release\bin\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<DocumentationFile>..\Release\bin\Confuser.Core.xml</DocumentationFile>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<SignAssembly>true</SignAssembly>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<AssemblyOriginatorKeyFile>..\ConfuserEx.snk</AssemblyOriginatorKeyFile>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Xml" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="..\GlobalAssemblyInfo.cs">
|
|
<Link>Properties\GlobalAssemblyInfo.cs</Link>
|
|
</Compile>
|
|
<Compile Include="Annotations.cs" />
|
|
<Compile Include="API\APIStore.cs" />
|
|
<Compile Include="API\IDataStore.cs" />
|
|
<Compile Include="API\IOpaquePredicate.cs" />
|
|
<Compile Include="ModuleSorter.cs" />
|
|
<Compile Include="Helpers\ControlFlowGraph.cs" />
|
|
<Compile Include="Helpers\KeySequence.cs" />
|
|
<Compile Include="LZMA\Common\CRC.cs" />
|
|
<Compile Include="LZMA\Common\InBuffer.cs" />
|
|
<Compile Include="LZMA\Common\OutBuffer.cs" />
|
|
<Compile Include="LZMA\Compress\LZMA\LzmaBase.cs" />
|
|
<Compile Include="LZMA\Compress\LZMA\LzmaDecoder.cs" />
|
|
<Compile Include="LZMA\Compress\LZMA\LzmaEncoder.cs" />
|
|
<Compile Include="LZMA\Compress\LZ\IMatchFinder.cs" />
|
|
<Compile Include="LZMA\Compress\LZ\LzBinTree.cs" />
|
|
<Compile Include="LZMA\Compress\LZ\LzInWindow.cs" />
|
|
<Compile Include="LZMA\Compress\LZ\LzOutWindow.cs" />
|
|
<Compile Include="LZMA\Compress\RangeCoder\RangeCoder.cs" />
|
|
<Compile Include="LZMA\Compress\RangeCoder\RangeCoderBit.cs" />
|
|
<Compile Include="LZMA\Compress\RangeCoder\RangeCoderBitTree.cs" />
|
|
<Compile Include="LZMA\ICoder.cs" />
|
|
<Compile Include="ConfuserEngine.cs" />
|
|
<Compile Include="ConfuserException.cs" />
|
|
<Compile Include="ConfuserParameters.cs" />
|
|
<Compile Include="CoreComponent.cs" />
|
|
<Compile Include="DependencyResolver.cs" />
|
|
<Compile Include="ConfuserComponent.cs" />
|
|
<Compile Include="DnlibUtils.cs" />
|
|
<Compile Include="Helpers\InjectHelper.cs" />
|
|
<Compile Include="Helpers\MutationHelper.cs" />
|
|
<Compile Include="ILogger.cs" />
|
|
<Compile Include="Marker.cs" />
|
|
<Compile Include="MarkerResult.cs" />
|
|
<Compile Include="ModuleWriterListener.cs" />
|
|
<Compile Include="NativeEraser.cs" />
|
|
<Compile Include="ObfAttrMarker.cs" />
|
|
<Compile Include="ObfAttrParser.cs" />
|
|
<Compile Include="PluginDiscovery.cs" />
|
|
<Compile Include="NullLogger.cs" />
|
|
<Compile Include="Packer.cs" />
|
|
<Compile Include="Project\ConfuserProject.cs" />
|
|
<Compile Include="Project\InvalidPatternException.cs" />
|
|
<Compile Include="Project\PatternParser.cs" />
|
|
<Compile Include="Project\Patterns\AndOperator.cs" />
|
|
<Compile Include="Project\Patterns\HasAttrFunction.cs" />
|
|
<Compile Include="Project\Patterns\IsTypeFunction.cs" />
|
|
<Compile Include="Project\Patterns\InheritsFunction.cs" />
|
|
<Compile Include="Project\Patterns\IsPublicFunction.cs" />
|
|
<Compile Include="Project\Patterns\FullNameFunction.cs" />
|
|
<Compile Include="Project\Patterns\NotOperator.cs" />
|
|
<Compile Include="Project\Patterns\MemberTypeFunction.cs" />
|
|
<Compile Include="Project\Patterns\DeclTypeFunction.cs" />
|
|
<Compile Include="Project\Patterns\MatchFunction.cs" />
|
|
<Compile Include="Project\Patterns\ModuleFunction.cs" />
|
|
<Compile Include="Project\Patterns\NamespaceFunction.cs" />
|
|
<Compile Include="Project\Patterns\OrOperator.cs" />
|
|
<Compile Include="Project\Patterns\LiteralExpression.cs" />
|
|
<Compile Include="Project\Patterns\NameFunction.cs" />
|
|
<Compile Include="Project\Patterns\PatternExpression.cs" />
|
|
<Compile Include="Project\Patterns\PatternFunction.cs" />
|
|
<Compile Include="Project\Patterns\PatternOperator.cs" />
|
|
<Compile Include="Project\PatternToken.cs" />
|
|
<Compile Include="Project\PatternTokenizer.cs" />
|
|
<Compile Include="Protection.cs" />
|
|
<Compile Include="ProtectionDependencyAttributes.cs" />
|
|
<Compile Include="ProtectionPhase.cs" />
|
|
<Compile Include="ProtectionSettings.cs" />
|
|
<Compile Include="ProtectionTargets.cs" />
|
|
<Compile Include="ConfuserContext.cs" />
|
|
<Compile Include="ProtectionParameters.cs" />
|
|
<Compile Include="ProtectionPipeline.cs" />
|
|
<Compile Include="ProtectionPreset.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="ServiceRegistry.cs" />
|
|
<Compile Include="Services\CompressionService.cs" />
|
|
<Compile Include="Services\RuntimeService.cs" />
|
|
<Compile Include="Services\MarkerService.cs" />
|
|
<Compile Include="Services\RandomService.cs" />
|
|
<Compile Include="Services\TraceService.cs" />
|
|
<Compile Include="UnreachableException.cs" />
|
|
<Compile Include="Utils.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\dnlib\src\dnlib.csproj">
|
|
<Project>{FDFC1237-143F-4919-8318-4926901F4639}</Project>
|
|
<Name>dnlib</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Project\ConfuserPrj.xsd">
|
|
<SubType>Designer</SubType>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="..\ConfuserEx.snk">
|
|
<Link>Properties\ConfuserEx.snk</Link>
|
|
</None>
|
|
</ItemGroup>
|
|
<ItemGroup />
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
<PropertyGroup>
|
|
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
|
</PropertyGroup>
|
|
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
|
|
</Target>
|
|
<Target Name="BeforeBuild">
|
|
<MSBuild Projects="$(SolutionDir)\Build\UpdateVersion.csproj" Targets="Build" Properties="Configuration=Release" />
|
|
<Exec WorkingDirectory="$(SolutionDir)\Build" Command="UpdateVersion.exe "$(SolutionDir)" Timeout="60000" Condition=" '$(OS)' == 'Windows_NT' " />
|
|
<Exec WorkingDirectory="$(SolutionDir)\Build" Command="mono UpdateVersion.exe "$(SolutionDir)"" Timeout="60000" Condition=" '$(OS)' != 'Windows_NT' " />
|
|
</Target>
|
|
</Project> |