Skip to content

Commit

Permalink
moved the VersionInfo.cs template file that is filled with subversion…
Browse files Browse the repository at this point in the history
… revision to a common folder and used it from there instead of each project having its own template
  • Loading branch information
offbyoneBB committed Feb 13, 2015
1 parent 5f13cae commit 167b973
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 41 deletions.
File renamed without changes.
1 change: 0 additions & 1 deletion OnlineVideos.MediaPortal1/OnlineVideos.MediaPortal1.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,6 @@
<None Include="Properties\DataSources\RssLink.datasource" />
<None Include="Properties\DataSources\SiteSettings.datasource" />
<None Include="Properties\DataSources\SitesGroup.datasource" />
<None Include="Properties\VersionInfo.cs.tmpl" />
<None Include="Resources\Add.png" />
<None Include="Resources\Delete.png" />
<None Include="Resources\Down.png" />
Expand Down
2 changes: 1 addition & 1 deletion OnlineVideos.MediaPortal1/build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">

<Target Name="BeforeBuild">
<Exec Command='subwcrev "$(SolutionDir)." "$(ProjectDir)Properties\VersionInfo.cs.tmpl" "$(ProjectDir)Properties\VersionInfo.cs"'/>
<Exec Command='subwcrev "$(SolutionDir)." "$(SolutionDir)Build\VersionInfo.cs.tmpl" "$(ProjectDir)Properties\VersionInfo.cs"'/>
</Target>

<PropertyGroup>
Expand Down
1 change: 0 additions & 1 deletion OnlineVideos.MediaPortal2/OnlineVideos.MediaPortal2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@
<ItemGroup>
<None Include="NuGetPackage\OnlineVideos.MediaPortal2.nuspec" />
<None Include="packages.config" />
<None Include="Properties\VersionInfo.cs.tmpl" />
</ItemGroup>
<ItemGroup>
<None Include="build.targets" />
Expand Down
10 changes: 0 additions & 10 deletions OnlineVideos.MediaPortal2/Properties/VersionInfo.cs.tmpl

This file was deleted.

5 changes: 3 additions & 2 deletions OnlineVideos.MediaPortal2/build.targets
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">

<Target Name="BeforeBuild">
<Exec Command='subwcrev "$(SolutionDir)." "$(ProjectDir)Properties\VersionInfo.cs.tmpl" "$(ProjectDir)Properties\VersionInfo.cs"'/>
<Exec Command='subwcrev "$(SolutionDir)." "$(SolutionDir)Build\VersionInfo.cs.tmpl" "$(ProjectDir)Properties\VersionInfo.cs"'/>
</Target>

<PropertyGroup>
Expand Down Expand Up @@ -32,6 +32,7 @@
</ItemGroup>

<Target Name="AfterBuild">
<!-- Copy all plugin files to MediaPortal2 Plugins\OnlineVideos folder -->
<Copy SourceFiles="@(PluginFiles)" DestinationFolder="$(PluginDestination)" />
<Copy SourceFiles="@(APIFiles)" DestinationFolder="$(PluginDestination)" />
<Copy SourceFiles="@(BrowserHostFiles)" DestinationFolder="$(PluginDestination)" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<None Include="Properties\VersionInfo.cs.tmpl" />
</ItemGroup>
<ItemGroup>
<None Include="App.config">
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion OnlineVideos.WebAutomation.BrowserHost/build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">

<Target Name="BeforeBuild">
<Exec Command='subwcrev "$(SolutionDir)." "$(ProjectDir)Properties\VersionInfo.cs.tmpl" "$(ProjectDir)Properties\VersionInfo.cs"'/>
<Exec Command='subwcrev "$(SolutionDir)." "$(SolutionDir)Build\VersionInfo.cs.tmpl" "$(ProjectDir)Properties\VersionInfo.cs"'/>
</Target>

</Project>
3 changes: 0 additions & 3 deletions OnlineVideos/OnlineVideos.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -1103,9 +1103,6 @@
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<None Include="Properties\VersionInfo.cs.tmpl" />
</ItemGroup>
<ItemGroup>
<None Include="build.targets" />
</ItemGroup>
Expand Down
10 changes: 0 additions & 10 deletions OnlineVideos/Properties/VersionInfo.cs.tmpl

This file was deleted.

2 changes: 1 addition & 1 deletion OnlineVideos/build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">

<Target Name="BeforeBuild">
<Exec Command='subwcrev "$(SolutionDir)." "$(ProjectDir)Properties\VersionInfo.cs.tmpl" "$(ProjectDir)Properties\VersionInfo.cs"'/>
<Exec Command='subwcrev "$(SolutionDir)." "$(SolutionDir)Build\VersionInfo.cs.tmpl" "$(ProjectDir)Properties\VersionInfo.cs"'/>
</Target>

</Project>

0 comments on commit 167b973

Please sign in to comment.