瀏覽代碼

protoc.exe使用最小的release版,修正protobuf库的输出目录到ET/Bin下

tanghai 7 年之前
父節點
當前提交
dbbdd8fe53
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      Server/ThirdParty/Google.Protobuf/Google.Protobuf.csproj
  2. 二進制
      Unity/protoc.exe

+ 6 - 0
Server/ThirdParty/Google.Protobuf/Google.Protobuf.csproj

@@ -5,6 +5,12 @@
     <ApplicationIcon />
     <StartupObject />
   </PropertyGroup>
+  <PropertyGroup>
+  	<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
+    <OutputPath>..\..\..\Bin\</OutputPath>
+  </PropertyGroup>
   <ItemGroup>
     <Compile Include="..\..\..\Unity\Assets\ThirdParty\Google.Protobuf\ByteArray.cs" Link="ByteArray.cs" />
     <Compile Include="..\..\..\Unity\Assets\ThirdParty\Google.Protobuf\ByteString.cs" Link="ByteString.cs" />

二進制
Unity/protoc.exe