Skip to content

Commit f6171f9

Browse files
authored
Merge pull request #7 from BizTalkComponents/fix-build
Fix build.proj,nuspec and info version
2 parents a2b8405 + e703671 commit f6171f9

7 files changed

+40
-14
lines changed

BizTalkComponents.PipelineComponents.CustomJsonCoders.sln

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 14
4-
VisualStudioVersion = 14.0.25420.1
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.32602.291
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BizTalkComponents.PipelineComponents.CustomJsonCoders", "src\CustomJSONCoders\BizTalkComponents.PipelineComponents.CustomJsonCoders.csproj", "{12E418FA-FDF9-49AC-9EF6-F5C2BC96BE19}"
77
EndProject
@@ -14,7 +14,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BizTalkComponents.PipelineC
1414
EndProject
1515
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{45F8185C-32F6-48FF-85BE-D78929D47730}"
1616
ProjectSection(SolutionItems) = preProject
17-
..\..\..\Others\MessageContextCopier\LICENSE = ..\..\..\Others\MessageContextCopier\LICENSE
17+
LICENSE = LICENSE
1818
ReadMe.md = ReadMe.md
1919
EndProjectSection
2020
EndProject
@@ -36,4 +36,7 @@ Global
3636
GlobalSection(SolutionProperties) = preSolution
3737
HideSolutionNode = FALSE
3838
EndGlobalSection
39+
GlobalSection(ExtensibilityGlobals) = postSolution
40+
SolutionGuid = {E3FBFFC7-4BBC-4FF2-8561-F3F63CF1788B}
41+
EndGlobalSection
3942
EndGlobal

Build/Build.proj

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project DefaultTargets="GenerateMsi" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2-
<Import Project="$(MSBuildExtensionsPath)\BtsMsiTask\BtsMsiTask.targets" />
3-
2+
<Import Project="$(MSBuildExtensionsPath1)\BtsMsiTask\BtsMsiTask.targets" />
3+
<Import Project="$(MSBuildExtensionsPath1)\ExtensionPack\4.0\MSBuild.ExtensionPack.tasks"/>
44
<PropertyGroup>
55
<DestinationPath>$(BUILD_STAGINGDIRECTORY)</DestinationPath>
66
<ApplicationName>BizTalkComponents.PipelineComponents.CustomJsonCoders</ApplicationName>
@@ -10,13 +10,17 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<Resource Include="$(BUILD_SOURCESDIRECTORY)\src\CustomJSON\bin\$(BuildConfiguration)\BizTalkComponents.PipelineComponents.CustomJsonCoders.dll" />
13+
<Resource Include="$(BUILD_SOURCESDIRECTORY)\src\CustomJsonCoders\bin\$(BuildConfiguration)\BizTalkComponents.PipelineComponents.CustomJsonCoders.dll" />
1414
</ItemGroup>
15-
16-
<Target Name="GenerateMsi">
17-
<MsiTask ApplicationDescription="$(ApplicationDescription)"
18-
Version="1.0.0.0"
19-
FileName="Deploy.msi"
15+
<Target Name="GetVersion">
16+
<MSBuild.ExtensionPack.Framework.Assembly TaskAction="GetInfo" NetAssembly="$(BUILD_SOURCESDIRECTORY)\src\CustomJsonCoders\bin\$(BuildConfiguration)\BizTalkComponents.PipelineComponents.CustomJsonCoders.dll">
17+
<Output TaskParameter="OutputItems" ItemName="Info"/>
18+
</MSBuild.ExtensionPack.Framework.Assembly>
19+
</Target>
20+
<Target Name="GenerateMsi" DependsOnTargets="GetVersion">
21+
<MsiTask ApplicationDescription="$(ApplicationDescription)"
22+
Version="%(Info.AssemblyInformationalVersion)"
23+
FileName="BizTalkComponents.PipelineComponents.CustomJsonCoders%(Info.AssemblyInformationalVersion).msi"
2024
DestinationPath="$(DestinationPath)"
2125
ApplicationName="$(ApplicationName)"
2226
BtsAssemblies="@(BtsAssembly)"

ReadMe.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[![Build status](https://ibizsolutions.visualstudio.com/BizTalkComponents/_apis/build/status/CustomJsonCoders)](https://ibizsolutions.visualstudio.com/BizTalkComponents/_build/latest?definitionId=604)
12
# Custom Json Coders
23
Encoding/Decoding JSON arrays in BizTalk, besides JSON objects as usual in BizTalk.
34
The components are based on the usual BizTalk JSON Encoder/JSON Decoder, there are some additional properties to handle the JSON array.

Tests/UnitTests/BizTalkComponents.PipelineComponents.CustomJsonCoders.Tests.UnitTests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
</Reference>
5353
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
5454
<HintPath>..\..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
55-
<Private>True</Private>
5655
</Reference>
5756
<Reference Include="System" />
5857
<Reference Include="System.Xml" />

src/CustomJSONCoders/BizTalkComponents.PipelineComponents.CustomJsonCoders.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
<Compile Include="Properties\AssemblyInfo.cs" />
8989
</ItemGroup>
9090
<ItemGroup>
91-
<None Include="BizTalkComponents.PipelineComponents.CustomJsonCoders.nuspec" />
91+
<None Include="CustomJsonCoders.nuspec" />
9292
<None Include="CustomJSON.snk" />
9393
<None Include="packages.config" />
9494
</ItemGroup>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0"?>
2+
<package >
3+
<metadata>
4+
<id>BizTalkComponents.PipelineComponents.CustomJsonCoders</id>
5+
<version>$version$</version>
6+
<title>Custom Json Coders</title>
7+
<authors>Wael Alissa</authors>
8+
<owners>Wael Alissa</owners>
9+
<projectUrl>https://github.com/BizTalkComponents/CustomJsonCoders</projectUrl>
10+
<releaseNotes>Initial release.</releaseNotes>
11+
<copyright>Copyright 2019</copyright>
12+
<tags>BizTalk</tags>
13+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
14+
<description>Encoding/Decoding JSON arrays in BizTalk.</description>
15+
</metadata>
16+
<files>
17+
<file src="bin\release\BizTalkComponents.PipelineComponents.CustomJsonCoders.dll" target="lib\net45"/>
18+
</files>
19+
</package>

src/CustomJSONCoders/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@
3434
// [assembly: AssemblyVersion("1.0.*")]
3535
[assembly: AssemblyVersion("1.0.0.0")]
3636
[assembly: AssemblyFileVersion("1.0.0.0")]
37-
[assembly: AssemblyInformationalVersion("1.0.0")]
37+
[assembly: AssemblyInformationalVersion("1.0.4")]

0 commit comments

Comments
 (0)