You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by cu...@apache.org on 2011/07/01 22:11:34 UTC

svn commit: r1142063 - in /avro/trunk: CHANGES.txt lang/csharp/.gitignore lang/csharp/Avro.snk lang/csharp/src/apache/codegen/Avro.codegen.csproj lang/csharp/src/apache/main/Avro.main.csproj

Author: cutting
Date: Fri Jul  1 20:11:34 2011
New Revision: 1142063

URL: http://svn.apache.org/viewvc?rev=1142063&view=rev
Log:
AVRO-810: C#: Add strong naming to assemblies.  Contributed by Eric Hauser.

Added:
    avro/trunk/lang/csharp/.gitignore
    avro/trunk/lang/csharp/Avro.snk   (with props)
Modified:
    avro/trunk/CHANGES.txt
    avro/trunk/lang/csharp/src/apache/codegen/Avro.codegen.csproj
    avro/trunk/lang/csharp/src/apache/main/Avro.main.csproj

Modified: avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=1142063&r1=1142062&r2=1142063&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Fri Jul  1 20:11:34 2011
@@ -60,6 +60,8 @@ Avro 1.5.2 (unreleased)
     names of schemas read from data files, for compatibility with
     1.4. (cutting)
 
+    AVRO-810: C#: Add strong naming to assemblies. (Eric Hauser)
+
   BUG FIXES
 
     AVRO-818. C: Fix data file corruption bug in C library (dcreager)

Added: avro/trunk/lang/csharp/.gitignore
URL: http://svn.apache.org/viewvc/avro/trunk/lang/csharp/.gitignore?rev=1142063&view=auto
==============================================================================
--- avro/trunk/lang/csharp/.gitignore (added)
+++ avro/trunk/lang/csharp/.gitignore Fri Jul  1 20:11:34 2011
@@ -0,0 +1,22 @@
+#   Licensed to the Apache Software Foundation (ASF) under one or more
+#   contributor license agreements.  See the NOTICE file distributed with
+#   this work for additional information regarding copyright ownership.
+#   The ASF licenses this file to You under the Apache License, Version 2.0
+#   (the "License"); you may not use this file except in compliance with
+#   the License.  You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#   Unless required by applicable law or agreed to in writing, software
+#   distributed under the License is distributed on an "AS IS" BASIS,
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#   See the License for the specific language governing permissions and
+#   limitations under the License.
+
+/build
+/*.user
+/*.suo
+/_ReSharper.Avro
+/src/apache/codegen/obj
+/src/apache/main/obj
+/src/apache/test/obj

Added: avro/trunk/lang/csharp/Avro.snk
URL: http://svn.apache.org/viewvc/avro/trunk/lang/csharp/Avro.snk?rev=1142063&view=auto
==============================================================================
Binary file - no diff available.

Propchange: avro/trunk/lang/csharp/Avro.snk
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: avro/trunk/lang/csharp/src/apache/codegen/Avro.codegen.csproj
URL: http://svn.apache.org/viewvc/avro/trunk/lang/csharp/src/apache/codegen/Avro.codegen.csproj?rev=1142063&r1=1142062&r2=1142063&view=diff
==============================================================================
--- avro/trunk/lang/csharp/src/apache/codegen/Avro.codegen.csproj (original)
+++ avro/trunk/lang/csharp/src/apache/codegen/Avro.codegen.csproj Fri Jul  1 20:11:34 2011
@@ -107,6 +107,12 @@
   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
     <OutputPath>..\..\..\build\codegen\Release\</OutputPath>
   </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>..\..\..\Avro.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
     <Reference Include="System.Core" />
@@ -159,4 +165,4 @@
   <Target Name="AfterBuild">
   </Target>
   -->
-</Project>
+</Project>
\ No newline at end of file

Modified: avro/trunk/lang/csharp/src/apache/main/Avro.main.csproj
URL: http://svn.apache.org/viewvc/avro/trunk/lang/csharp/src/apache/main/Avro.main.csproj?rev=1142063&r1=1142062&r2=1142063&view=diff
==============================================================================
--- avro/trunk/lang/csharp/src/apache/main/Avro.main.csproj (original)
+++ avro/trunk/lang/csharp/src/apache/main/Avro.main.csproj Fri Jul  1 20:11:34 2011
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
 <!--
    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements.  See the NOTICE file distributed with
@@ -69,6 +69,12 @@
     <WarningLevel>4</WarningLevel>
     <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
   </PropertyGroup>
+  <PropertyGroup>
+    <SignAssembly>true</SignAssembly>
+  </PropertyGroup>
+  <PropertyGroup>
+    <AssemblyOriginatorKeyFile>..\..\..\Avro.snk</AssemblyOriginatorKeyFile>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="log4net">
       <HintPath>..\..\..\lib\main\log4net.dll</HintPath>
@@ -152,4 +158,4 @@
   <Target Name="AfterBuild">
   </Target>
   -->
-</Project>
+</Project>
\ No newline at end of file