Updated Project System to SDK Style Projects
Preparing the .NET Standard compatibility
This commit is contained in:
Родитель
5d3664050c
Коммит
2bce5bb210
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
|
@ -10,8 +10,7 @@
|
|||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Confuser.CLI</RootNamespace>
|
||||
<AssemblyName>Confuser.CLI</AssemblyName>
|
||||
<TargetFrameworkVersion Condition=" !$(DefineConstants.Contains('NET45')) ">v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion Condition=" $(DefineConstants.Contains('NET45')) ">v4.5</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
|
||||
<RestorePackages>true</RestorePackages>
|
||||
|
@ -28,6 +27,7 @@
|
|||
<WarningLevel>4</WarningLevel>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
|
@ -39,6 +39,7 @@
|
|||
<WarningLevel>4</WarningLevel>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
|
@ -80,15 +81,12 @@
|
|||
<Project>{A45C184F-F98F-4258-A928-BFF437034791}</Project>
|
||||
<Name>Confuser.Runtime</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\dnlib\src\dnlib.csproj">
|
||||
<Project>{FDFC1237-143F-4919-8318-4926901F4639}</Project>
|
||||
<Name>dnlib</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\ConfuserEx.snk">
|
||||
<Link>Properties\ConfuserEx.snk</Link>
|
||||
</None>
|
||||
<None Include="app.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
||||
|
|
|
@ -1,165 +1,35 @@
|
|||
<?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>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<Import Project="..\ConfuserEx.Common.props" Condition="Exists('..\ConfuserEx.Common.props')" />
|
||||
|
||||
<PropertyGroup Label="Assembly Settings">
|
||||
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<AssemblyOriginatorKeyFile>..\ConfuserEx.snk</AssemblyOriginatorKeyFile>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml" />
|
||||
|
||||
<PropertyGroup Label="Assembly Information">
|
||||
<Title>ConfuserEx Core</Title>
|
||||
<Description>Core framework of ConfuserEx</Description>
|
||||
<Copyright>Bla</Copyright>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Label="Nuget Dependencies">
|
||||
<PackageReference Include="Microsoft.Win32.Registry" Version="4.*" />
|
||||
<PackageReference Include="System.Threading" Version="4.*" />
|
||||
</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="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 Label="Project Dependencies">
|
||||
<ProjectReference Include="..\dnlib\src\dnlib.netstandard.csproj" />
|
||||
</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>
|
||||
|
||||
<Import Project="..\ConfuserEx.Common.targets" Condition="Exists('..\ConfuserEx.Common.targets')" />
|
||||
|
||||
</Project>
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyTitle("ConfuserEx Core")]
|
||||
[assembly: AssemblyDescription("Core framework of ConfuserEx")]
|
|
@ -1,106 +1,23 @@
|
|||
<?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>{E832E9B8-2158-4FC0-89A1-56C6ECC10F6B}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Confuser.DynCipher</RootNamespace>
|
||||
<AssemblyName>Confuser.DynCipher</AssemblyName>
|
||||
<TargetFrameworkVersion Condition=" !$(DefineConstants.Contains('NET45')) ">v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion Condition=" $(DefineConstants.Contains('NET45')) ">v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<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>
|
||||
</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>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<Import Project="..\ConfuserEx.Common.props" Condition="Exists('..\ConfuserEx.Common.props')" />
|
||||
|
||||
<PropertyGroup Label="Assembly Settings">
|
||||
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<AssemblyOriginatorKeyFile>..\ConfuserEx.snk</AssemblyOriginatorKeyFile>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
|
||||
<PropertyGroup Label="Assembly Information">
|
||||
<Title>ConfuserEx Dynamic Cipher Library</Title>
|
||||
<Description>Cipher generator of ConfuserEx</Description>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Label="Project Dependencies">
|
||||
<ProjectReference Include="..\Confuser.Core\Confuser.Core.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\GlobalAssemblyInfo.cs">
|
||||
<Link>Properties\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="AST\ArrayIndexExpression.cs" />
|
||||
<Compile Include="AST\AssignmentStatement.cs" />
|
||||
<Compile Include="AST\BinOpExpression.cs" />
|
||||
<Compile Include="AST\Expression.cs" />
|
||||
<Compile Include="AST\LiteralExpression.cs" />
|
||||
<Compile Include="AST\LoopStatement.cs" />
|
||||
<Compile Include="AST\Statement.cs" />
|
||||
<Compile Include="AST\StatementBlock.cs" />
|
||||
<Compile Include="AST\UnaryOpExpression.cs" />
|
||||
<Compile Include="AST\Variable.cs" />
|
||||
<Compile Include="AST\VariableExpression.cs" />
|
||||
<Compile Include="DynCipherComponent.cs" />
|
||||
<Compile Include="DynCipherService.cs" />
|
||||
<Compile Include="Elements\AddKey.cs" />
|
||||
<Compile Include="Elements\BinOp.cs" />
|
||||
<Compile Include="Elements\CryptoElement.cs" />
|
||||
<Compile Include="Elements\Matrix.cs" />
|
||||
<Compile Include="Elements\NumOp.cs" />
|
||||
<Compile Include="Elements\RotateBit.cs" />
|
||||
<Compile Include="Elements\Swap.cs" />
|
||||
<Compile Include="Generation\CipherGenContext.cs" />
|
||||
<Compile Include="Generation\CipherGenerator.cs" />
|
||||
<Compile Include="Generation\CILCodeGen.cs" />
|
||||
<Compile Include="Generation\DMCodeGen.cs" />
|
||||
<Compile Include="Generation\ExpressionGenerator.cs" />
|
||||
<Compile Include="Generation\x86CodeGen.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Transforms\ConvertVariables.cs" />
|
||||
<Compile Include="Transforms\ExpansionTransform.cs" />
|
||||
<Compile Include="Transforms\MulToShiftTransform.cs" />
|
||||
<Compile Include="Transforms\NormalizeBinOpTransform.cs" />
|
||||
<Compile Include="Transforms\ShuffleTransform.cs" />
|
||||
<Compile Include="Utils.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Confuser.Core\Confuser.Core.csproj">
|
||||
<Project>{BEB67A6E-4C54-4DE5-8C6B-2C12F44A7B92}</Project>
|
||||
<Name>Confuser.Core</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\dnlib\src\dnlib.csproj">
|
||||
<Project>{FDFC1237-143F-4919-8318-4926901F4639}</Project>
|
||||
<Name>dnlib</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\ConfuserEx.snk">
|
||||
<Link>Properties\ConfuserEx.snk</Link>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
|
||||
<Import Project="..\ConfuserEx.Common.targets" Condition="Exists('..\ConfuserEx.Common.targets')" />
|
||||
|
||||
</Project>
|
|
@ -1,5 +0,0 @@
|
|||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyTitle("ConfuserEx Dynamic Cipher Library")]
|
||||
[assembly: AssemblyDescription("Cipher generator of ConfuserEx")]
|
|
@ -1,163 +1,25 @@
|
|||
<?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>{3EAB01B5-9B49-48D8-BFA1-5493B26CCB71}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Confuser.Protections</RootNamespace>
|
||||
<AssemblyName>Confuser.Protections</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>
|
||||
</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>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<Import Project="..\ConfuserEx.Common.props" Condition="Exists('..\ConfuserEx.Common.props')" />
|
||||
|
||||
<PropertyGroup Label="Assembly Settings">
|
||||
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<AssemblyOriginatorKeyFile>..\ConfuserEx.snk</AssemblyOriginatorKeyFile>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml" />
|
||||
|
||||
<PropertyGroup Label="Assembly Information">
|
||||
<Title>ConfuserEx Protections</Title>
|
||||
<Description>Protections and packers of ConfuserEx</Description>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Label="Project Dependencies">
|
||||
<ProjectReference Include="..\Confuser.DynCipher\Confuser.DynCipher.csproj" />
|
||||
<ProjectReference Include="..\Confuser.Renamer\Confuser.Renamer.csproj" />
|
||||
<ProjectReference Include="..\Confuser.Runtime\Confuser.Runtime.csproj" Condition="'$(TargetFramework)' == 'net461'" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\GlobalAssemblyInfo.cs">
|
||||
<Link>Properties\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="AntiILDasmProtection.cs" />
|
||||
<Compile Include="AntiTamper\AntiTamperProtection.cs" />
|
||||
<Compile Include="AntiTamper\DynamicDeriver.cs" />
|
||||
<Compile Include="AntiTamper\IKeyDeriver.cs" />
|
||||
<Compile Include="AntiTamper\IModeHandler.cs" />
|
||||
<Compile Include="AntiTamper\JITBody.cs" />
|
||||
<Compile Include="AntiTamper\JITMode.cs" />
|
||||
<Compile Include="AntiTamper\NormalDeriver.cs" />
|
||||
<Compile Include="AntiTamper\NormalMode.cs" />
|
||||
<Compile Include="Compress\Compressor.cs" />
|
||||
<Compile Include="Compress\CompressorContext.cs" />
|
||||
<Compile Include="Compress\DynamicDeriver.cs" />
|
||||
<Compile Include="Compress\ExtractPhase.cs" />
|
||||
<Compile Include="Compress\IKeyDeriver.cs" />
|
||||
<Compile Include="Compress\NormalDeriver.cs" />
|
||||
<Compile Include="Compress\StubProtection.cs" />
|
||||
<Compile Include="Constants\CEContext.cs" />
|
||||
<Compile Include="Constants\ConstantProtection.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Constants\ReferenceReplacer.cs" />
|
||||
<Compile Include="Constants\x86Mode.cs" />
|
||||
<Compile Include="Constants\DynamicMode.cs" />
|
||||
<Compile Include="Constants\EncodeElements.cs" />
|
||||
<Compile Include="Constants\EncodePhase.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Constants\IEncodeMode.cs" />
|
||||
<Compile Include="Constants\InjectPhase.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Constants\Mode.cs" />
|
||||
<Compile Include="Constants\NormalMode.cs" />
|
||||
<Compile Include="ControlFlow\CFContext.cs" />
|
||||
<Compile Include="ControlFlow\ControlFlowPhase.cs" />
|
||||
<Compile Include="ControlFlow\ControlFlowProtection.cs" />
|
||||
<Compile Include="ControlFlow\BlockParser.cs" />
|
||||
<Compile Include="ControlFlow\Blocks.cs" />
|
||||
<Compile Include="ControlFlow\NormalPredicate.cs" />
|
||||
<Compile Include="ControlFlow\x86Predicate.cs" />
|
||||
<Compile Include="ControlFlow\ExpressionPredicate.cs" />
|
||||
<Compile Include="ControlFlow\IPredicate.cs" />
|
||||
<Compile Include="ControlFlow\JumpMangler.cs" />
|
||||
<Compile Include="ControlFlow\ManglerBase.cs" />
|
||||
<Compile Include="ControlFlow\SwitchMangler.cs" />
|
||||
<Compile Include="AntiDumpProtection.cs" />
|
||||
<Compile Include="AntiDebugProtection.cs" />
|
||||
<Compile Include="InvalidMetadataProtection.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ReferenceProxy\x86Encoding.cs" />
|
||||
<Compile Include="ReferenceProxy\ExpressionEncoding.cs" />
|
||||
<Compile Include="ReferenceProxy\NormalEncoding.cs" />
|
||||
<Compile Include="ReferenceProxy\MildMode.cs" />
|
||||
<Compile Include="ReferenceProxy\IRPEncoding.cs" />
|
||||
<Compile Include="ReferenceProxy\RPMode.cs" />
|
||||
<Compile Include="ReferenceProxy\StrongMode.cs" />
|
||||
<Compile Include="ReferenceProxy\ReferenceProxyPhase.cs" />
|
||||
<Compile Include="ReferenceProxy\ReferenceProxyProtection.cs" />
|
||||
<Compile Include="ReferenceProxy\RPContext.cs" />
|
||||
<Compile Include="Resources\DynamicMode.cs" />
|
||||
<Compile Include="Resources\IEncodeMode.cs" />
|
||||
<Compile Include="Resources\InjectPhase.cs" />
|
||||
<Compile Include="Resources\MDPhase.cs" />
|
||||
<Compile Include="Resources\Mode.cs" />
|
||||
<Compile Include="Resources\NormalMode.cs" />
|
||||
<Compile Include="Resources\REContext.cs" />
|
||||
<Compile Include="Resources\ResourceProtection.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\ConfuserEx.snk">
|
||||
<Link>Properties\ConfuserEx.snk</Link>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Confuser.Core\Confuser.Core.csproj">
|
||||
<Project>{BEB67A6E-4C54-4DE5-8C6B-2C12F44A7B92}</Project>
|
||||
<Name>Confuser.Core</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Confuser.DynCipher\Confuser.DynCipher.csproj">
|
||||
<Project>{E832E9B8-2158-4FC0-89A1-56C6ECC10F6B}</Project>
|
||||
<Name>Confuser.DynCipher</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Confuser.Renamer\Confuser.Renamer.csproj">
|
||||
<Project>{862DA0DA-52E1-47CD-B9C2-46B106031B28}</Project>
|
||||
<Name>Confuser.Renamer</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Confuser.Runtime\Confuser.Runtime.csproj">
|
||||
<Project>{A45C184F-F98F-4258-A928-BFF437034791}</Project>
|
||||
<Name>Confuser.Runtime</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\dnlib\src\dnlib.csproj">
|
||||
<Project>{FDFC1237-143F-4919-8318-4926901F4639}</Project>
|
||||
<Name>dnlib</Name>
|
||||
</ProjectReference>
|
||||
</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>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
|
||||
<Import Project="..\ConfuserEx.Common.targets" Condition="Exists('..\ConfuserEx.Common.targets')" />
|
||||
|
||||
</Project>
|
|
@ -1,5 +0,0 @@
|
|||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyTitle("ConfuserEx Protections")]
|
||||
[assembly: AssemblyDescription("Protections and packers of ConfuserEx")]
|
|
@ -1,121 +1,27 @@
|
|||
<?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>{862DA0DA-52E1-47CD-B9C2-46B106031B28}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Confuser.Renamer</RootNamespace>
|
||||
<AssemblyName>Confuser.Renamer</AssemblyName>
|
||||
<TargetFrameworkVersion Condition=" !$(DefineConstants.Contains('NET45')) ">v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion Condition=" $(DefineConstants.Contains('NET45')) ">v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<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>
|
||||
</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>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<Import Project="..\ConfuserEx.Common.props" Condition="Exists('..\ConfuserEx.Common.props')" />
|
||||
|
||||
<PropertyGroup Label="Assembly Settings">
|
||||
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<AssemblyOriginatorKeyFile>..\ConfuserEx.snk</AssemblyOriginatorKeyFile>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="WindowsBase" />
|
||||
|
||||
<PropertyGroup Label="Assembly Information">
|
||||
<Title>ConfuserEx Renamer</Title>
|
||||
<Description>Renaming analysis of ConfuserEx</Description>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Label="Nuget Dependencies">
|
||||
<PackageReference Include="System.IO.Packaging" Version="4.*" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\GlobalAssemblyInfo.cs">
|
||||
<Link>Properties\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="AnalyzePhase.cs" />
|
||||
<Compile Include="Analyzers\CaliburnAnalyzer.cs" />
|
||||
<Compile Include="Analyzers\InterReferenceAnalyzer.cs" />
|
||||
<Compile Include="Analyzers\JsonAnalyzer.cs" />
|
||||
<Compile Include="Analyzers\LdtokenEnumAnalyzer.cs" />
|
||||
<Compile Include="Analyzers\ResourceAnalyzer.cs" />
|
||||
<Compile Include="Analyzers\TypeBlobAnalyzer.cs" />
|
||||
<Compile Include="Analyzers\VTableAnalyzer.cs" />
|
||||
<Compile Include="Analyzers\WinFormsAnalyzer.cs" />
|
||||
<Compile Include="Analyzers\WPFAnalyzer.cs" />
|
||||
<Compile Include="BAML\BAMLAnalyzer.cs" />
|
||||
<Compile Include="BAML\BamlDocument.cs" />
|
||||
<Compile Include="BAML\BamlElement.cs" />
|
||||
<Compile Include="BAML\BAMLPropertyReference.cs" />
|
||||
<Compile Include="BAML\BamlRecords.cs" />
|
||||
<Compile Include="BAML\BamlRW.cs" />
|
||||
<Compile Include="BAML\BAMLStringReference.cs" />
|
||||
<Compile Include="BAML\IBAMLReference.cs" />
|
||||
<Compile Include="BAML\KnownThingsv4.cs" />
|
||||
<Compile Include="BAML\IKnownThings.cs" />
|
||||
<Compile Include="BAML\KnownThingsv3.cs" />
|
||||
<Compile Include="BAML\PropertyPath.cs" />
|
||||
<Compile Include="GenericArgumentResolver.cs" />
|
||||
<Compile Include="PostRenamePhase.cs" />
|
||||
<Compile Include="IRenamer.cs" />
|
||||
<Compile Include="NameProtection.cs" />
|
||||
<Compile Include="INameReference.cs" />
|
||||
<Compile Include="NameService.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="References\BAMLEnumReference.cs" />
|
||||
<Compile Include="References\BAMLPathTypeReference.cs" />
|
||||
<Compile Include="References\BAMLTypeReference.cs" />
|
||||
<Compile Include="References\CAMemberReference.cs" />
|
||||
<Compile Include="References\BAMLAttributeReference.cs" />
|
||||
<Compile Include="References\BAMLConverterTypeReference.cs" />
|
||||
<Compile Include="References\BAMLConverterMemberReference.cs" />
|
||||
<Compile Include="References\StringTypeReference.cs" />
|
||||
<Compile Include="References\TypeRefReference.cs" />
|
||||
<Compile Include="References\OverrideDirectiveReference.cs" />
|
||||
<Compile Include="References\MemberRefReference.cs" />
|
||||
<Compile Include="References\ResourceReference.cs" />
|
||||
<Compile Include="RenameMode.cs" />
|
||||
<Compile Include="RenamePhase.cs" />
|
||||
<Compile Include="ReversibleRenamer.cs" />
|
||||
<Compile Include="RickRoller.cs" />
|
||||
<Compile Include="VTable.cs" />
|
||||
|
||||
<ItemGroup Label="Project Dependencies">
|
||||
<ProjectReference Include="..\Confuser.Core\Confuser.Core.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Confuser.Core\Confuser.Core.csproj">
|
||||
<Project>{BEB67A6E-4C54-4DE5-8C6B-2C12F44A7B92}</Project>
|
||||
<Name>Confuser.Core</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\dnlib\src\dnlib.csproj">
|
||||
<Project>{FDFC1237-143F-4919-8318-4926901F4639}</Project>
|
||||
<Name>dnlib</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\ConfuserEx.snk">
|
||||
<Link>Properties\ConfuserEx.snk</Link>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
|
||||
<Import Project="..\ConfuserEx.Common.targets" Condition="Exists('..\ConfuserEx.Common.targets')" />
|
||||
|
||||
</Project>
|
|
@ -1,5 +0,0 @@
|
|||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyTitle("ConfuserEx Renamer")]
|
||||
[assembly: AssemblyDescription("Renaming analysis of ConfuserEx")]
|
|
@ -1,82 +1,20 @@
|
|||
<?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>{A45C184F-F98F-4258-A928-BFF437034791}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Confuser.Runtime</RootNamespace>
|
||||
<AssemblyName>Confuser.Runtime</AssemblyName>
|
||||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<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>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<Import Project="..\ConfuserEx.Common.props" Condition="Exists('..\ConfuserEx.Common.props')" />
|
||||
|
||||
<PropertyGroup Label="Assembly Settings">
|
||||
<TargetFrameworks>net20</TargetFrameworks>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</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>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<AssemblyOriginatorKeyFile>..\ConfuserEx.snk</AssemblyOriginatorKeyFile>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\GlobalAssemblyInfo.cs">
|
||||
<Link>Properties\GlobalAssemblyInfo.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="AntiDump.cs" />
|
||||
<Compile Include="AntiDebug.Win32.cs" />
|
||||
<Compile Include="AntiDebug.Antinet.cs" />
|
||||
<Compile Include="antinet\AntiManagedDebugger.cs" />
|
||||
<Compile Include="antinet\AntiManagedProfiler.cs" />
|
||||
<Compile Include="antinet\HandleProcessCorruptedStateExceptionsAttribute.cs" />
|
||||
<Compile Include="antinet\PEInfo.cs" />
|
||||
<Compile Include="Compressor.cs" />
|
||||
<Compile Include="Constant.cs" />
|
||||
<Compile Include="AntiTamper.JIT.cs" />
|
||||
<Compile Include="Compressor.Compat.cs" />
|
||||
<Compile Include="Lzma.cs" />
|
||||
<Compile Include="Mutation.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="RefProxy.Strong.cs" />
|
||||
<Compile Include="AntiDebug.Safe.cs" />
|
||||
<Compile Include="Resource.cs" />
|
||||
<Compile Include="AntiTamper.Normal.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\ConfuserEx.snk">
|
||||
<Link>Properties\ConfuserEx.snk</Link>
|
||||
</None>
|
||||
<None Include="antinet\ABOUT" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
|
||||
<PropertyGroup Label="Assembly Information">
|
||||
<Title>ConfuserEx Runtime</Title>
|
||||
<Description>Runtime library of ConfuserEx</Description>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="..\ConfuserEx.Common.targets" Condition="Exists('..\ConfuserEx.Common.targets')" />
|
||||
|
||||
</Project>
|
|
@ -1,5 +0,0 @@
|
|||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyTitle("ConfuserEx Runtime")]
|
||||
[assembly: AssemblyDescription("Runtime library of ConfuserEx")]
|
|
@ -1,11 +1,11 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Confuser.Core", "Confuser.Core\Confuser.Core.csproj", "{BEB67A6E-4C54-4DE5-8C6B-2C12F44A7B92}"
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.27703.2035
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Confuser.Core", "Confuser.Core\Confuser.Core.csproj", "{BEB67A6E-4C54-4DE5-8C6B-2C12F44A7B92}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dnlib", "dnlib\src\dnlib.csproj", "{FDFC1237-143F-4919-8318-4926901F4639}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Confuser.Protections", "Confuser.Protections\Confuser.Protections.csproj", "{3EAB01B5-9B49-48D8-BFA1-5493B26CCB71}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Confuser.Protections", "Confuser.Protections\Confuser.Protections.csproj", "{3EAB01B5-9B49-48D8-BFA1-5493B26CCB71}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{2C631F61-84D5-4E49-8CD7-0876A07A3B21}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
|
@ -15,17 +15,19 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{2C631F
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Confuser.CLI", "Confuser.CLI\Confuser.CLI.csproj", "{CE61ADEE-C032-43EC-ACD8-E4A742F894A3}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Confuser.Renamer", "Confuser.Renamer\Confuser.Renamer.csproj", "{862DA0DA-52E1-47CD-B9C2-46B106031B28}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Confuser.Renamer", "Confuser.Renamer\Confuser.Renamer.csproj", "{862DA0DA-52E1-47CD-B9C2-46B106031B28}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Confuser.DynCipher", "Confuser.DynCipher\Confuser.DynCipher.csproj", "{E832E9B8-2158-4FC0-89A1-56C6ECC10F6B}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Confuser.DynCipher", "Confuser.DynCipher\Confuser.DynCipher.csproj", "{E832E9B8-2158-4FC0-89A1-56C6ECC10F6B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Confuser.Runtime", "Confuser.Runtime\Confuser.Runtime.csproj", "{A45C184F-F98F-4258-A928-BFF437034791}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Confuser.Runtime", "Confuser.Runtime\Confuser.Runtime.csproj", "{A45C184F-F98F-4258-A928-BFF437034791}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{BEB67A6E-4C54-4DE5-8C6B-2C12F44A7B92} = {BEB67A6E-4C54-4DE5-8C6B-2C12F44A7B92}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConfuserEx", "ConfuserEx\ConfuserEx.csproj", "{B5205EBA-EC32-4C53-86A0-FAEEE7393EC0}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dnlib.netstandard", "dnlib\src\dnlib.netstandard.csproj", "{8AF54053-37AA-4D06-90A8-CCEFDFDF902F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
@ -36,10 +38,6 @@ Global
|
|||
{BEB67A6E-4C54-4DE5-8C6B-2C12F44A7B92}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BEB67A6E-4C54-4DE5-8C6B-2C12F44A7B92}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BEB67A6E-4C54-4DE5-8C6B-2C12F44A7B92}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{FDFC1237-143F-4919-8318-4926901F4639}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FDFC1237-143F-4919-8318-4926901F4639}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FDFC1237-143F-4919-8318-4926901F4639}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FDFC1237-143F-4919-8318-4926901F4639}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{3EAB01B5-9B49-48D8-BFA1-5493B26CCB71}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3EAB01B5-9B49-48D8-BFA1-5493B26CCB71}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3EAB01B5-9B49-48D8-BFA1-5493B26CCB71}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
|
@ -64,8 +62,15 @@ Global
|
|||
{B5205EBA-EC32-4C53-86A0-FAEEE7393EC0}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B5205EBA-EC32-4C53-86A0-FAEEE7393EC0}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B5205EBA-EC32-4C53-86A0-FAEEE7393EC0}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{8AF54053-37AA-4D06-90A8-CCEFDFDF902F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8AF54053-37AA-4D06-90A8-CCEFDFDF902F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8AF54053-37AA-4D06-90A8-CCEFDFDF902F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8AF54053-37AA-4D06-90A8-CCEFDFDF902F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {0D937D9E-E04B-4A68-B639-D4260473A388}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup Label="C-Sharp Compiler Settings" Condition="'$(MSBuildProjectExtension)' == '.csproj'">
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<LangVersion>7.3</LangVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Label="Assembly Information">
|
||||
<Authors>Ki;Martin Karing</Authors>
|
||||
<Copyright>Copyright © 2014 Ki, 2018 Martin Karing</Copyright>
|
||||
<RepositoryUrl>https://github.com/mkaring/ConfuserEx.git</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Label="Language">
|
||||
<NeutralLanguage>en</NeutralLanguage>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Label="SourceLink">
|
||||
<SourceLinkServerType>GitHub</SourceLinkServerType>
|
||||
<SourceLinkOriginUrl>$(RepositoryUrl)</SourceLinkOriginUrl>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Label="Code Analysis">
|
||||
<EnableCodeAnalysis>false</EnableCodeAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
|
@ -0,0 +1,10 @@
|
|||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="SourceLink.Create.CommandLine" Version="*" PrivateAssets="all" />
|
||||
<PackageReference Include="Nerdbank.GitVersioning" Version="*" PrivateAssets="all" />
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="*" PrivateAssets="all"
|
||||
Condition="'$(EnableCodeAnalysis)' != 'false'" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
|
@ -16,6 +16,8 @@
|
|||
<Utf8Output>true</Utf8Output>
|
||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
|
||||
<RestorePackages>true</RestorePackages>
|
||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
@ -24,6 +26,7 @@
|
|||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
|
||||
<OutputPath>..\Release\bin\</OutputPath>
|
||||
|
@ -32,6 +35,7 @@
|
|||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>ConfuserEx.ico</ApplicationIcon>
|
||||
|
@ -43,21 +47,24 @@
|
|||
<AssemblyOriginatorKeyFile>..\ConfuserEx.snk</AssemblyOriginatorKeyFile>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="GalaSoft.MvvmLight.Extras.WPF4">
|
||||
<HintPath>..\packages\MvvmLightLibs.4.3.31.1\lib\net40\GalaSoft.MvvmLight.Extras.WPF4.dll</HintPath>
|
||||
<Reference Include="CommonServiceLocator, Version=2.0.3.0, Culture=neutral, PublicKeyToken=489b6accfaf20ef0, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\CommonServiceLocator.2.0.3\lib\net45\CommonServiceLocator.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="GalaSoft.MvvmLight.WPF4">
|
||||
<HintPath>..\packages\MvvmLightLibs.4.3.31.1\lib\net40\GalaSoft.MvvmLight.WPF4.dll</HintPath>
|
||||
<Reference Include="GalaSoft.MvvmLight, Version=5.4.1.0, Culture=neutral, PublicKeyToken=e7570ab207bcb616, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MvvmLightLibs.5.4.1\lib\net45\GalaSoft.MvvmLight.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Practices.ServiceLocation">
|
||||
<HintPath>..\packages\CommonServiceLocator.1.2\lib\portable-windows8+net40+sl5+windowsphone8\Microsoft.Practices.ServiceLocation.dll</HintPath>
|
||||
<Reference Include="GalaSoft.MvvmLight.Extras, Version=5.4.1.0, Culture=neutral, PublicKeyToken=669f0b5e8f868abf, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MvvmLightLibs.5.4.1\lib\net45\GalaSoft.MvvmLight.Extras.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="GalaSoft.MvvmLight.Platform, Version=5.4.1.0, Culture=neutral, PublicKeyToken=5f873c45e98af8a1, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MvvmLightLibs.5.4.1\lib\net45\GalaSoft.MvvmLight.Platform.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Ookii.Dialogs.Wpf">
|
||||
<HintPath>..\deps\Ookii.Dialogs.Wpf.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Windows.Interactivity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MvvmLightLibs.4.3.31.1\lib\net40\System.Windows.Interactivity.dll</HintPath>
|
||||
<Reference Include="System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MvvmLightLibs.5.4.1\lib\net45\System.Windows.Interactivity.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xaml" />
|
||||
<Reference Include="System.Xml" />
|
||||
|
@ -208,10 +215,6 @@
|
|||
<Project>{A45C184F-F98F-4258-A928-BFF437034791}</Project>
|
||||
<Name>Confuser.Runtime</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\dnlib\src\dnlib.csproj">
|
||||
<Project>{FDFC1237-143F-4919-8318-4926901F4639}</Project>
|
||||
<Name>dnlib</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Resources\Decode.png" />
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<packages>
|
||||
<package id="CommonServiceLocator" version="1.2" targetFramework="net40" />
|
||||
<package id="MvvmLightLibs" version="4.3.31.1" targetFramework="net40" />
|
||||
<package id="CommonServiceLocator" version="2.0.3" targetFramework="net461" />
|
||||
<package id="MvvmLightLibs" version="5.4.1" targetFramework="net461" />
|
||||
</packages>
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"version": "1.1.0-alpha1.{height}",
|
||||
"nugetPackageVersion": {
|
||||
"semVer": 1
|
||||
},
|
||||
"semVer1NumericIdentifierPadding": 4,
|
||||
"publicReleaseRefSpec": [
|
||||
"^refs/heads/release",
|
||||
"^refs/tags/\\d+\\.\\d+(?:\\.\\d+)?"
|
||||
],
|
||||
"cloudBuild": {
|
||||
"setVersionVariables": true,
|
||||
"buildNumber": {
|
||||
"enabled": false,
|
||||
"includeCommitId": {
|
||||
"when": "nonPublicReleaseOnly",
|
||||
"where": "buildMetadata"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче