Skip to content

Commit

Permalink
Merge pull request #589 from Particular/DowngradeGitVersionTask
Browse files Browse the repository at this point in the history
Downgrade git version task
  • Loading branch information
HEskandari authored Jul 5, 2016
2 parents b0ddb46 + 5a12308 commit c29b943
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 deletions.
3 changes: 3 additions & 0 deletions src/ServiceInsight.Tests/ServiceInsight.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -165,5 +165,8 @@
<Name>ServiceInsight</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
5 changes: 4 additions & 1 deletion src/ServiceInsight/GlobalSuppressions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
// a specific target and scoped to a namespace, type, member, etc.

[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.LayoutRules", "SA1508:Closing braces must not be preceded by blank line", Justification = "Generated File", Scope = "type", Target = "~T:GitVersionInformation")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.LayoutRules", "SA1516:Elements must be separated by blank line", Justification = "Generated File", Scope = "member", Target = "~P:ReleaseDateAttribute.Date")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.LayoutRules", "SA1518:Code must not contain blank lines at end of file", Justification = "Generated File", Scope = "type", Target = "~T:GitVersionInformation")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.LayoutRules", "SA1516:Elements must be separated by blank line", Justification = "Generated File", Scope = "member", Target = "~P:ReleaseDateAttribute.Date")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.LayoutRules", "SA1517:CodeMustNotContainBlankLinesAtStartOfFile", Justification = "Generated File. Bring back when updated to GitVersionTask v3.x")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CSharp.LayoutRules", "SA1518:CodeMustNotContainBlankLinesAtEndOfFile", Justification = "Generated File. Bring back when updated to GitVersionTask v3.x")]
4 changes: 2 additions & 2 deletions src/ServiceInsight/ServiceInsight.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -830,10 +830,10 @@
</PropertyGroup>
<Error Condition="!Exists('..\packages\Fody.1.29.3\build\dotnet\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.1.29.3\build\dotnet\Fody.targets'))" />
<Error Condition="!Exists('..\packages\PropertyChanged.Fody.1.50.3\build\dotnet\PropertyChanged.Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\PropertyChanged.Fody.1.50.3\build\dotnet\PropertyChanged.Fody.targets'))" />
<Error Condition="!Exists('..\packages\GitVersionTask.3.5.4\build\dotnet\GitVersionTask.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\GitVersionTask.3.5.4\build\dotnet\GitVersionTask.targets'))" />
<Error Condition="!Exists('..\packages\Particular.CodeRules.0.1.1\build\Particular.CodeRules.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Particular.CodeRules.0.1.1\build\Particular.CodeRules.props'))" />
<Error Condition="!Exists('..\packages\GitVersionTask.2.0.1\build\GitVersionTask.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\GitVersionTask.2.0.1\build\GitVersionTask.targets'))" />
</Target>
<Import Project="..\packages\Fody.1.29.3\build\dotnet\Fody.targets" Condition="Exists('..\packages\Fody.1.29.3\build\dotnet\Fody.targets')" />
<Import Project="..\packages\PropertyChanged.Fody.1.50.3\build\dotnet\PropertyChanged.Fody.targets" Condition="Exists('..\packages\PropertyChanged.Fody.1.50.3\build\dotnet\PropertyChanged.Fody.targets')" />
<Import Project="..\packages\GitVersionTask.3.5.4\build\dotnet\GitVersionTask.targets" Condition="Exists('..\packages\GitVersionTask.3.5.4\build\dotnet\GitVersionTask.targets')" />
<Import Project="..\packages\GitVersionTask.2.0.1\build\GitVersionTask.targets" Condition="Exists('..\packages\GitVersionTask.2.0.1\build\GitVersionTask.targets')" />
</Project>
2 changes: 1 addition & 1 deletion src/ServiceInsight/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<package id="Comparers" version="4.0.0" targetFramework="net45" />
<package id="EmptyConstructor.Fody" version="1.1.1.0" targetFramework="net45" />
<package id="Fody" version="1.29.3" targetFramework="net45" developmentDependency="true" />
<package id="GitVersionTask" version="3.5.4" targetFramework="net45" developmentDependency="true" />
<package id="GitVersionTask" version="2.0.1" targetFramework="net45" developmentDependency="true" />
<package id="gong-wpf-dragdrop" version="0.1.4.1" targetFramework="net45" />
<package id="Humanizer" version="1.34.0" targetFramework="net45" />
<package id="Mindscape.Raygun4Net" version="5.0.0" targetFramework="net45" />
Expand Down
10 changes: 5 additions & 5 deletions src/Setup/Setup.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,17 @@
<Copy SourceFiles="res\ServiceInsights.ico" DestinationFolder="$(IntermediateOutputPath)res\" />
<Exec Command="$(AdvancedInstallerExe) /edit $(IntermediateOutputPath)ServiceInsight.aip /NewPathVariable -name PROJECT_PATH -value $(SolutionDir)Setup -valuetype Folder" />
<Exec Command="$(AdvancedInstallerExe) /edit $(IntermediateOutputPath)ServiceInsight.aip /NewPathVariable -name SI_PATH -value $(SolutionDir)ServiceInsight\bin\$(Configuration) -valuetype Folder" />
<Exec Command="$(AdvancedInstallerExe) /edit $(IntermediateOutputPath)ServiceInsight.aip /SetVersion $(GitVersion_MajorMinorPatch)" />
<Exec Command="$(AdvancedInstallerExe) /edit $(IntermediateOutputPath)ServiceInsight.aip /SetPackageName ServiceInsight-$(GitVersion_MajorMinorPatch).exe -buildname DefaultBuild" />
<Exec Command="$(AdvancedInstallerExe) /edit $(IntermediateOutputPath)ServiceInsight.aip /SetVersion $(GfvMajorMinorPatch)" />
<Exec Command="$(AdvancedInstallerExe) /edit $(IntermediateOutputPath)ServiceInsight.aip /SetPackageName ServiceInsight-$(GfvMajorMinorPatch).exe -buildname DefaultBuild" />
<Exec Command="$(AdvancedInstallerExe) /rebuild $(IntermediateOutputPath)ServiceInsight.aip" />
<Copy SourceFiles="$(IntermediateOutputPath)bin\ServiceInsight-$(GitVersion_MajorMinorPatch).exe" DestinationFolder="$(OutputPath)" />
<Copy SourceFiles="$(IntermediateOutputPath)bin\ServiceInsight-$(GfvMajorMinorPatch).exe" DestinationFolder="$(OutputPath)" />
</Target>
<Import Project="..\packages\GitVersionTask.3.5.4\build\dotnet\GitVersionTask.targets" Condition="Exists('..\packages\GitVersionTask.3.5.4\build\dotnet\GitVersionTask.targets')" />
<Import Project="..\packages\GitVersionTask.2.0.1\build\GitVersionTask.targets" Condition="Exists('..\packages\GitVersionTask.2.0.1\build\GitVersionTask.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\GitVersionTask.3.5.4\build\dotnet\GitVersionTask.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\GitVersionTask.3.5.4\build\dotnet\GitVersionTask.targets'))" />
<Error Condition="!Exists('..\packages\GitVersionTask.2.0.1\build\GitVersionTask.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\GitVersionTask.2.0.1\build\GitVersionTask.targets'))" />
</Target>
<!-- 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.
Expand Down
2 changes: 1 addition & 1 deletion src/Setup/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="GitVersionTask" version="3.5.4" targetFramework="net45" developmentDependency="true" />
<package id="GitVersionTask" version="2.0.1" targetFramework="net45" developmentDependency="true" />
</packages>

0 comments on commit c29b943

Please sign in to comment.