Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 8 additions & 53 deletions Examples/Example1/Example1.csproj
Original file line number Diff line number Diff line change
@@ -1,64 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{58CA8F82-6071-4212-A745-51C4B4FA0544}</ProjectGuid>
<TargetFramework>netstandard2.0</TargetFramework>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Example1</RootNamespace>
<AssemblyName>Example1</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Compile Include="AttributeExample.cs" />
<Compile Include="DelegateTesting.cs" />
<Compile Include="GenericTest.cs" />
<Compile Include="GodMode.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TestingEnums.cs" />
<Compile Include="TestingLinqStuff.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="PapyrusDotNet.Core">
<HintPath>..\..\Binaries\PapyrusDotNet.Core.dll</HintPath>
</Reference>
<Reference Include="System" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Source\PapyrusDotNet.System\PapyrusDotNet.System.csproj">
<Project>{caaf38b3-8033-4b23-9b50-0059306eafac}</Project>
<Name>PapyrusDotNet.System</Name>
</ProjectReference>
<ProjectReference Include="..\..\Source\PapyrusDotNet.System\PapyrusDotNet.System.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Remove="AADPKnockBackHitToken.cs" />
<Compile Remove="LambdaTest.cs" />
</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>
-->
</Project>
60 changes: 8 additions & 52 deletions Examples/Fallout4Example/Fallout4Example.csproj
Original file line number Diff line number Diff line change
@@ -1,33 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{CEDA785C-79BD-457B-9A25-3EC69CD29042}</ProjectGuid>
<TargetFramework>netstandard2.0</TargetFramework>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Fallout4Example</RootNamespace>
<AssemblyName>Fallout4Example</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</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>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<PropertyGroup>
<RunPostBuildEvent>Always</RunPostBuildEvent>
Expand All @@ -37,34 +12,15 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\Binaries\PapyrusDotNet.Core.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="AsIsTests.cs" />
<Compile Include="DelegateTests.cs" />
<Compile Include="EnumTests.cs" />
<Compile Include="GodMode.cs" />
<Compile Include="LoopTests.cs" />
<Compile Include="PropertyGetSetTests.cs" />
<Compile Include="StructInstructionsTest.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Class1.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>"$(SolutionDir)\..\Binaries\PapyrusDotNet.exe" -i "$(TargetPath)" -o "$(SolutionDir)\..\Output\fallout 4" -x -noui</PostBuildEvent>
</PropertyGroup>
<!-- 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>
-->
</Project>
Original file line number Diff line number Diff line change
@@ -1,43 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{94991FF5-7D68-415E-A884-7D346DE3BF3D}</ProjectGuid>
<TargetFramework>netstandard2.0</TargetFramework>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PapyrusDotNet.Decompiler.Tests</RootNamespace>
<AssemblyName>PapyrusDotNet.Decompiler.Tests</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
<IsCodedUITest>False</IsCodedUITest>
<TestProjectType>UnitTest</TestProjectType>
<TargetFrameworkProfile />
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</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>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
</ItemGroup>
<Choose>
<When Condition="('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'">
<ItemGroup>
Expand All @@ -51,23 +17,8 @@
</Otherwise>
</Choose>
<ItemGroup>
<Compile Include="CodeGeneratorTests.cs" />
<Compile Include="DecompilerContextTests.cs" />
<Compile Include="DecompilerTests.cs" />
<Compile Include="FlowAnalyzerTests.cs" />
<Compile Include="FlowTreeTests.cs" />
<Compile Include="MapTests.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\PapyrusDotNet\PapyrusDotNet.PapyrusAssembly\PapyrusDotNet.PapyrusAssembly.csproj">
<Project>{C5F9B5DA-F44A-4129-98D1-2EFDADF09B52}</Project>
<Name>PapyrusDotNet.PapyrusAssembly</Name>
</ProjectReference>
<ProjectReference Include="..\PapyrusDotNet.Decompiler\PapyrusDotNet.Decompiler.csproj">
<Project>{60b17c45-ed1f-409b-a782-a3c264bea061}</Project>
<Name>PapyrusDotNet.Decompiler</Name>
</ProjectReference>
<ProjectReference Include="..\..\PapyrusDotNet\PapyrusDotNet.PapyrusAssembly\PapyrusDotNet.PapyrusAssembly.csproj" />
<ProjectReference Include="..\PapyrusDotNet.Decompiler\PapyrusDotNet.Decompiler.csproj" />
</ItemGroup>
<Choose>
<When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
Expand All @@ -87,13 +38,4 @@
</ItemGroup>
</When>
</Choose>
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
<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>
-->
</Project>
Original file line number Diff line number Diff line change
@@ -1,112 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{60B17C45-ED1F-409B-A782-A3C264BEA061}</ProjectGuid>
<TargetFramework>netstandard2.0</TargetFramework>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PapyrusDotNet.Decompiler</RootNamespace>
<AssemblyName>PapyrusDotNet.Decompiler</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</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>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.VisualBasic" />
<Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="DecompilerContext.cs" />
<Compile Include="Extensions\CollectionExtensions.cs" />
<Compile Include="Extensions\TransformExtensions.cs" />
<Compile Include="Extensions\WithNode.cs" />
<Compile Include="HelperClasses\DynamicVisitor.cs" />
<Compile Include="HelperClasses\Visitor.cs" />
<Compile Include="NodeComparer.cs" />
<Compile Include="PapyrusFlowAnalyzer.cs" />
<Compile Include="Interfaces\IPapyrusDecompiler.cs" />
<Compile Include="Interfaces\IPapyrusDecompilerResult.cs" />
<Compile Include="PapyrusCodeGenerator.cs" />
<Compile Include="PapyrusCodeResult.cs" />
<Compile Include="PapyrusDecompilerResult.cs" />
<Compile Include="PapyrusDecompiler.cs" />
<Compile Include="PapyrusCodeBlock.cs" />
<Compile Include="Interfaces\ICodeGenerator.cs" />
<Compile Include="Interfaces\ICodeResult.cs" />
<Compile Include="Interfaces\ICodeResultError.cs" />
<Compile Include="Interfaces\IDecompilerContext.cs" />
<Compile Include="Interfaces\IFlowAnalyzer.cs" />
<Compile Include="Interfaces\INodeVisitor.cs" />
<Compile Include="HelperClasses\Map.cs" />
<Compile Include="Node\ArrayAccessNode.cs" />
<Compile Include="Node\ArrayCreateNode.cs" />
<Compile Include="Node\ArrayLengthNode.cs" />
<Compile Include="Node\AssignNode.cs" />
<Compile Include="Node\AssignOperatorNode.cs" />
<Compile Include="Node\BaseNode.cs" />
<Compile Include="Node\BinaryOperatorNode.cs" />
<Compile Include="Node\CallMethodNode.cs" />
<Compile Include="Node\CastNode.cs" />
<Compile Include="Node\ConstantNode.cs" />
<Compile Include="Interfaces\IVisitable.cs" />
<Compile Include="Interfaces\IVisitor.cs" />
<Compile Include="Node\CopyNode.cs" />
<Compile Include="Node\DeclareNode.cs" />
<Compile Include="Node\IdentifierStringNode.cs" />
<Compile Include="Node\IfElseNode.cs" />
<Compile Include="Node\NodePair.cs" />
<Compile Include="Node\ParamsNode.cs" />
<Compile Include="Node\PropertyAccessNode.cs" />
<Compile Include="Node\ReturnNode.cs" />
<Compile Include="Node\ScopeNode.cs" />
<Compile Include="Node\StructCreateNode.cs" />
<Compile Include="Node\UnaryOperatorNode.cs" />
<Compile Include="Node\WhileNode.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<ProjectReference Include="..\..\PapyrusDotNet\PapyrusDotNet.Common\PapyrusDotNet.Common.csproj" />
<ProjectReference Include="..\..\PapyrusDotNet\PapyrusDotNet.PapyrusAssembly\PapyrusDotNet.PapyrusAssembly.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\PapyrusDotNet\PapyrusDotNet.Common\PapyrusDotNet.Common.csproj">
<Project>{6B35B6AB-EA3B-42B0-B40F-66E490E59A15}</Project>
<Name>PapyrusDotNet.Common</Name>
</ProjectReference>
<ProjectReference Include="..\..\PapyrusDotNet\PapyrusDotNet.PapyrusAssembly\PapyrusDotNet.PapyrusAssembly.csproj">
<Project>{c5f9b5da-f44a-4129-98d1-2efdadf09b52}</Project>
<Name>PapyrusDotNet.PapyrusAssembly</Name>
</ProjectReference>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Microsoft.VisualBasic" Version="10.3.0" />
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
</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>
-->
</Project>
Loading