<Compile Include="Parsing\Parser.cs" />\r
<Compile Include="Parsing\Subtitle.cs" />\r
<Compile Include="Parsing\Title.cs" />\r
- <Compile Include="Properties\AssemblyInfo.cs" />\r
<Compile Include="Properties\Resources.Designer.cs">\r
<AutoGen>True</AutoGen>\r
<DesignTime>True</DesignTime>\r
<None Include="Resources\ErrorX.png" />\r
</ItemGroup>\r
<ItemGroup>\r
+ <None Include="Properties\AssemblyInfo.cs.tmpl" />\r
<None Include="Resources\copy.png" />\r
</ItemGroup>\r
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
<Target Name="AfterBuild">\r
</Target>\r
-->\r
+ <PropertyGroup>\r
+ <PreBuildEvent>\r
+ subwcrev.exe "$(ProjectDir)." "$(ProjectDir)Properties\AssemblyInfo.cs.tmpl" "$(ProjectDir)Properties\AssemblyInfo.cs"\r
+ subwcrev.exe "$(ProjectDir)." "$(ProjectDir)Properties\AssemblyInfo.cs.tmpl" "$(ProjectDir)Properties\AssemblyInfo.cs"\r
+ </PreBuildEvent>\r
+ </PropertyGroup>\r
</Project>
\ No newline at end of file
\r
namespace HandBrake.ApplicationServices\r
{\r
+ using System;\r
+ using System.Reflection;\r
+\r
/// <summary>\r
/// Initialize ApplicationServices\r
/// </summary>\r
Properties.Settings.Default.Save();\r
}\r
\r
+ /// <summary>\r
+ /// Gets the Assembly version.\r
+ /// </summary>\r
+ /// <returns>\r
+ /// Version data\r
+ /// </returns>\r
+ public static Version AssemblyVersion()\r
+ {\r
+ return Assembly.GetExecutingAssembly().GetName().Version;\r
+ }\r
}\r
}\r
-using System.Reflection;\r
+/* AssemblyInfo.cs $\r
+ This file is part of the HandBrake source code.\r
+ Homepage: <http://handbrake.fr>.\r
+ It may be used under the terms of the GNU General Public License. */\r
+\r
+using System.Reflection;\r
+using System.Resources;\r
using System.Runtime.CompilerServices;\r
using System.Runtime.InteropServices;\r
\r
// General Information about an assembly is controlled through the following \r
// set of attributes. Change these attribute values to modify the information\r
// associated with an assembly.\r
-[assembly: AssemblyTitle("HandBrake.ApplicationServices")]\r
-[assembly: AssemblyDescription("")]\r
+[assembly: AssemblyTitle("HandBrake")]\r
+[assembly: AssemblyDescription("HandBrake is a GPL-licensed, multiplatform, multithreaded video transcoder.")]\r
[assembly: AssemblyConfiguration("")]\r
-[assembly: AssemblyCompany("HandBrake Team")]\r
-[assembly: AssemblyProduct("HandBrake.ApplicationServices")]\r
-[assembly: AssemblyCopyright("Copyright © HandBrake Team 2010")]\r
+[assembly: AssemblyCompany("HandBrake")]\r
+[assembly: AssemblyProduct("HandBrake")]\r
+[assembly: AssemblyCopyright("Copyright © 2010")]\r
[assembly: AssemblyTrademark("")]\r
[assembly: AssemblyCulture("")]\r
\r
[assembly: ComVisible(false)]\r
\r
// The following GUID is for the ID of the typelib if this project is exposed to COM\r
-[assembly: Guid("1fe2c0f6-53e0-4633-88ef-c3cbd8be02a7")]\r
+[assembly: Guid("5e4e3f97-5252-41f6-aae9-3846f62cbc66")]\r
\r
// Version information for an assembly consists of the following four values:\r
//\r
// You can specify all the values or you can default the Build and Revision Numbers \r
// by using the '*' as shown below:\r
// [assembly: AssemblyVersion("1.0.*")]\r
-[assembly: AssemblyVersion("1.0.0.0")]\r
-[assembly: AssemblyFileVersion("1.0.0.0")]\r
+[assembly: AssemblyVersion("0.9.4.$WCREV$")]\r
+[assembly: NeutralResourcesLanguage("")]\r