SPRNET-1563 Make code as ClsCompliant as possible

This commit is contained in:
Marko Lahma
2013-12-03 19:09:19 +02:00
parent 72fd5be280
commit 1b73368826
72 changed files with 1271 additions and 1106 deletions

View File

@@ -237,7 +237,7 @@
</target>
<target name="common.set-assembly-attribute-values" depends="generate-build-number">
<property name="assembly.is-cls-compliant" value="false" />
<property name="assembly.is-cls-compliant" value="true" />
<property name="assembly.configuration" value="${nant.settings.currentframework}.win32; ${current.build.config}"/>
<if test="${nant.settings.currentframework!='mono-2.0'}">
<property name="assembly.product" value="${project.name.full} ${package.version} for .NET ${nant.settings.currentframework.number}" />-->
@@ -273,7 +273,7 @@
<import namespace="System.Reflection" />
</imports>
<attributes>
<attribute type="CLSCompliantAttribute" value="${assembly.is-cls-compliant}" />
<attribute type="CLSCompliantAttribute" value="${assembly.is-cls-compliant}" />
<attribute type="AssemblyConfigurationAttribute" value="${assembly.configuration}" />
<attribute type="AssemblyProductAttribute" value="${assembly.product}" />
<attribute type="AssemblyCompanyAttribute" value="${assembly.company}" />