Permalink
Browse files

Make it possible to include a (manual) version number when building t…

…he win32 installer from vs.net

svn path=/branches/mono-2-0/mono-tools/; revision=110196
  • Loading branch information...
1 parent 205ac02 commit ed1e8c7d1d16c84b5ac31e7dfecfab0ac929bb4a Sebastien Pouliot committed Aug 12, 2008
View
4 gendarme/AssemblyStaticInfo.cs
@@ -21,3 +21,7 @@
[assembly: PermissionSet (SecurityAction.RequestMinimum, Unrestricted = true)]
[assembly: CLSCompliant (false)]
[assembly: ComVisible (false)]
+
+#if RELEASE
+[assembly: AssemblyVersion ("2.0.0.0")]
+#endif
View
2 gendarme/console/gendarme.csproj
@@ -46,7 +46,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE;LINQ</DefineConstants>
+ <DefineConstants>TRACE;RELEASE;LINQ</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
View
2 gendarme/framework/Gendarme.Framework.csproj
@@ -44,7 +44,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
+ <DefineConstants>TRACE;RELEASE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
View
2 gendarme/swf-wizard-runner/swf-wizard-runner.csproj
@@ -26,7 +26,7 @@
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
+ <DefineConstants>TRACE;RELEASE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>

0 comments on commit ed1e8c7

Please sign in to comment.