--- trunk/Win32/libWin32/libWin32.csproj 2012/05/09 20:52:20 88 +++ trunk/Win32/libWin32/libWin32.csproj 2012/05/09 21:00:02 89 @@ -41,6 +41,7 @@ <DebugType>full</DebugType> <PlatformTarget>x86</PlatformTarget> <ErrorReport>prompt</ErrorReport> + <NoWarn>1607</NoWarn> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> <OutputPath>bin\x86\Release\</OutputPath> @@ -64,7 +65,11 @@ </Reference> </ItemGroup> <ItemGroup> + <Compile Include="..\..\VersioningSupport\SharedAssemblyInfo.cs"> + <Link>Properties\SharedAssemblyInfo.cs</Link> + </Compile> <Compile Include="libWin32.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="VersionMagic.cs" /> <Compile Include="Win32\Exceptions\UnimplimentedDirectXScanCodeException.cs" /> <Compile Include="Win32\Input\KeyTranslator.cs" /> @@ -86,7 +91,6 @@ <Compile Include="Win32\NumericConversion\IEEE754\I_ieee754FloatingPointConverter.cs" /> <Compile Include="Win32\Threading\ThreadAccess.cs" /> <Compile Include="Win32\Threading\ThreadControl.cs" /> - <Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Win32\UI\MaskedHexBox.cs"> <SubType>UserControl</SubType> </Compile> @@ -128,6 +132,9 @@ <Name>Sojaner.MemoryScanner</Name> </ProjectReference> </ItemGroup> + <ItemGroup> + <None Include="Properties\AssemblyInfo.cs.tmpl" /> + </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. @@ -140,4 +147,7 @@ <PostBuildEvent> </PostBuildEvent> </PropertyGroup> + <PropertyGroup> + <PreBuildEvent>"$(SolutionDir)deps\TortoiseSVN\SubWCRev.exe" "$(SolutionDir)." "$(ProjectDir)Properties\AssemblyInfo.cs.tmpl" "$(ProjectDir)Properties\AssemblyInfo.cs"</PreBuildEvent> + </PropertyGroup> </Project> \ No newline at end of file |