Completed the following changes & testing, see todo.txt for more information

1 - Add a way to specify the output directory
2 - Added an option "file_extension" to control the suffix for cs files generated, defaults to ".cs"
3 - Added the option for "umbrella_namespace" used when nest_classes=false and having name conflicts
4 - Optionally remove dependencies to csharp options
5 - Investigate command line parsing library
6 - Investigate calling protoc directly
7 - Unable to resolve dependencies correctly
8 - Added several (20) nunits to automate the command-line invocation of each option
pull/288/head
csharptest 15 years ago
parent d65173a9c5
commit 5c69749b0b
  1. 10
      ProtocolBuffers.build

@ -266,10 +266,10 @@
<property name="Configuration" value="Release" />
<property name="Platform" value="Any CPU" />
</msbuild>
<msbuild project="${src}/ProtocolBuffers.sln">
<!--msbuild project="${src}/ProtocolBuffers.sln">
<property name="Configuration" value="Silverlight2" />
<property name="Platform" value="Any CPU" />
</msbuild>
</msbuild-->
<!-- Note the deliberate lack of space in the platform name -->
<msbuild project="${src}/ProtocolBuffers/ProtocolBuffersCF.csproj">
<property name="Configuration" value="Release" />
@ -291,7 +291,7 @@
<mkdir dir="${output-dir}/Protoc" />
<mkdir dir="${output-dir}/Debug" />
<mkdir dir="${output-dir}/Release" />
<mkdir dir="${output-dir}/Silverlight2" />
<!--mkdir dir="${output-dir}/Silverlight2" /-->
<mkdir dir="${output-dir}/CompactFramework35" />
<copy todir="${output-dir}/Protoc">
<fileset basedir="${project::get-base-directory()}/lib">
@ -321,12 +321,12 @@
<exclude name="**/*vshost*" />
</fileset>
</copy>
<copy todir="${output-dir}/Silverlight2"
<!--copy todir="${output-dir}/Silverlight2"
flatten="true">
<fileset basedir="${src}">
<include name="ProtocolBuffers/bin/Silverlight2/Google.ProtocolBuffers.dll" />
</fileset>
</copy>
</copy-->
<copy todir="${output-dir}/CompactFramework35"
flatten="true">
<fileset basedir="${src}">

Loading…
Cancel
Save