2018-06-07 13:41:08 +00:00
|
|
|
|
<?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>
|
|
|
|
|
<ProjectGuid>{709222FD-15C2-497D-8B31-366ADCC074CD}</ProjectGuid>
|
|
|
|
|
<OutputType>Library</OutputType>
|
|
|
|
|
<RootNamespace>Unity.UNetWeaver</RootNamespace>
|
|
|
|
|
<AssemblyName>Unity.UNetWeaver</AssemblyName>
|
|
|
|
|
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
|
|
|
<DebugSymbols>True</DebugSymbols>
|
|
|
|
|
<DebugType>full</DebugType>
|
|
|
|
|
<Optimize>False</Optimize>
|
|
|
|
|
<OutputPath>bin\Debug</OutputPath>
|
|
|
|
|
<DefineConstants>DEBUG;</DefineConstants>
|
|
|
|
|
<ErrorReport>prompt</ErrorReport>
|
|
|
|
|
<WarningLevel>4</WarningLevel>
|
|
|
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
|
|
|
<DebugType>none</DebugType>
|
|
|
|
|
<Optimize>True</Optimize>
|
|
|
|
|
<OutputPath>bin\Release</OutputPath>
|
|
|
|
|
<ErrorReport>prompt</ErrorReport>
|
|
|
|
|
<WarningLevel>4</WarningLevel>
|
|
|
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Reference Include="System" />
|
|
|
|
|
<Reference Include="System.Core" />
|
|
|
|
|
<Reference Include="Unity.Cecil">
|
|
|
|
|
<HintPath>..\External\Unity.Cecil\lib\net35\Unity.Cecil.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="Unity.Cecil.Mdb">
|
|
|
|
|
<HintPath>..\External\Unity.Cecil\lib\net35\Unity.Cecil.Mdb.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
<Reference Include="Unity.Cecil.Pdb">
|
|
|
|
|
<HintPath>..\External\Unity.Cecil\lib\net35\Unity.Cecil.Pdb.dll</HintPath>
|
|
|
|
|
</Reference>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Compile Include="AssemblyInfo.cs" />
|
|
|
|
|
<Compile Include="MessageClassProcessor.cs" />
|
|
|
|
|
<Compile Include="MonoBehaviourProcessor.cs" />
|
|
|
|
|
<Compile Include="Program.cs" />
|
|
|
|
|
<Compile Include="SyncListStructProcessor.cs" />
|
|
|
|
|
<Compile Include="UNetBehaviourProcessor.cs" />
|
|
|
|
|
<Compile Include="UNetWeaver.cs" />
|
|
|
|
|
<Compile Include="Helpers.cs" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
|
|
|
|
<Target Name="AfterBuild">
|
|
|
|
|
<MakeDir Directories="$(ProjectDir)..\Output\Weaver" />
|
|
|
|
|
<Copy SourceFiles="$(TargetDir)$(TargetName).dll" DestinationFiles="$(ProjectDir)..\Output\Weaver\$(TargetName).dll" />
|
2018-06-24 14:37:55 +00:00
|
|
|
|
<Copy Condition="Exists('$(TargetDir)$(TargetName).dll.mdb')" SourceFiles="$(TargetDir)$(TargetName).dll.mdb" DestinationFiles="$(ProjectDir)..\Output\Weaver\$(TargetName).dll.mdb" />
|
|
|
|
|
<Copy Condition="Exists('$(TargetDir)$(TargetName).pdb')" SourceFiles="$(TargetDir)$(TargetName).pdb" DestinationFiles="$(ProjectDir)..\Output\Weaver\$(TargetName).pdb" />
|
2018-06-07 13:41:08 +00:00
|
|
|
|
<!--Uncomment the block below and change the destination to copy the built dll into your unity install directory-->
|
|
|
|
|
<!--<Copy SourceFiles="$(TargetDir)$(TargetName).dll" DestinationFiles="C:\Program Files\Unity\Editor\Data\Managed\$(TargetName).dll"/>
|
|
|
|
|
<Copy Condition="'$(Configuration)' == 'Debug'" SourceFiles="$(TargetDir)$(TargetName).mdb" DestinationFiles="C:\Program Files\Unity\Editor\Data\Managed\$(TargetName).mdb"/>-->
|
|
|
|
|
<!--<Copy SourceFiles="$(TargetDir)$(TargetName).dll" DestinationFiles="/Applications/Unity/Unity.app/Contents/Managed/$(TargetName).dll" />
|
|
|
|
|
<Copy Condition="'$(Configuration)' == 'Debug'" SourceFiles="$(TargetDir)$(TargetName).dll.mdb" DestinationFiles="/Applications/Unity/Unity.app/Contents/Managed/$(TargetName).dll.mdb" />-->
|
|
|
|
|
</Target>
|
2018-06-24 14:37:55 +00:00
|
|
|
|
</Project>
|