Permalink
Browse files

Simpler (non-Ruby) was of creating missing CommonAssemblyInfo.cs on n…

…ormal VS build.
  • Loading branch information...
1 parent 9c83f93 commit e4ba8f7378520369b9a262fce8d05560e937fbfc @ianbattersby ianbattersby committed Jan 26, 2013
Showing with 1 addition and 7 deletions.
  1. +1 −1 src/Simple.Web/Simple.Web.csproj
  2. +0 −6 tools/project-prebuild.rb
@@ -212,7 +212,7 @@
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
- <PreBuildEvent>ruby $(ProjectDir)../../tools/project-prebuild.rb</PreBuildEvent>
+ <PreBuildEvent>touch $(ProjectDir)../CommonAssemblyInfo.cs</PreBuildEvent>
</PropertyGroup>
<Import Project="$(SolutionDir).nuget\nuget.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
@@ -1,6 +0,0 @@
-include FileTest
-
-BASE_PATH = File.expand_path(File.dirname(__FILE__))
-COMMON_ASSEMBLY_INFO = "#{BASE_PATH}/../src/CommonAssemblyInfo.cs"
-
-File.open(COMMON_ASSEMBLY_INFO, "w") {} unless FileTest.exists?(COMMON_ASSEMBLY_INFO)

0 comments on commit e4ba8f7

Please sign in to comment.