Skip to content

Commit

Permalink
Add package generation after build complete.
Browse files Browse the repository at this point in the history
  • Loading branch information
soroshsabz committed Mar 23, 2020
1 parent 2d25ed9 commit 96bb42b
Show file tree
Hide file tree
Showing 20 changed files with 26 additions and 17 deletions.
Binary file added src/.nuget/nuget.exe
Binary file not shown.
Binary file modified src/.vs/PCLAppConfig/v16/TestStore/0/000.testlog
Binary file not shown.
Binary file modified src/.vs/PCLAppConfig/v16/lut/0/buildstate.lut
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
}
},
"D:\\Source\\Repos\\soroshsabz\\PCLAppConfig\\src\\Lib\\PCLAppConfig\\PCLAppConfig.csproj": {
"version": "1.0.1",
"version": "1.0.2",
"restore": {
"projectUniqueName": "D:\\Source\\Repos\\soroshsabz\\PCLAppConfig\\src\\Lib\\PCLAppConfig\\PCLAppConfig.csproj",
"projectName": "PCLAppConfig",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@
"build/Xamarin.Forms.targets": {}
}
},
"PCLAppConfig/1.0.1": {
"PCLAppConfig/1.0.2": {
"type": "project",
"framework": ".NETStandard,Version=v2.0",
"compile": {
Expand Down Expand Up @@ -1833,7 +1833,7 @@
"xamarin.forms.nuspec"
]
},
"PCLAppConfig/1.0.1": {
"PCLAppConfig/1.0.2": {
"type": "project",
"path": "../PCLAppConfig/PCLAppConfig.csproj",
"msbuildProject": "../PCLAppConfig/PCLAppConfig.csproj"
Expand All @@ -1846,7 +1846,7 @@
},
"projectFileDependencyGroups": {
"MonoAndroid,Version=v9.0": [
"PCLAppConfig >= 1.0.1",
"PCLAppConfig >= 1.0.2",
"PCLAppConfig.FileSystemStream.Abstractions >= 1.0.0",
"Xamarin.Forms >= 4.5.0.396"
]
Expand Down
Binary file added src/.vs/PCLAppConfig/v16/lut/13688/buildstate.lut
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
}
},
"D:\\Source\\Repos\\soroshsabz\\PCLAppConfig\\src\\Lib\\PCLAppConfig\\PCLAppConfig.csproj": {
"version": "1.0.1",
"version": "1.0.2",
"restore": {
"projectUniqueName": "D:\\Source\\Repos\\soroshsabz\\PCLAppConfig\\src\\Lib\\PCLAppConfig\\PCLAppConfig.csproj",
"projectName": "PCLAppConfig",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@
"build/Xamarin.Forms.targets": {}
}
},
"PCLAppConfig/1.0.1": {
"PCLAppConfig/1.0.2": {
"type": "project",
"framework": ".NETStandard,Version=v2.0",
"compile": {
Expand Down Expand Up @@ -1833,7 +1833,7 @@
"xamarin.forms.nuspec"
]
},
"PCLAppConfig/1.0.1": {
"PCLAppConfig/1.0.2": {
"type": "project",
"path": "../PCLAppConfig/PCLAppConfig.csproj",
"msbuildProject": "../PCLAppConfig/PCLAppConfig.csproj"
Expand All @@ -1846,7 +1846,7 @@
},
"projectFileDependencyGroups": {
"MonoAndroid,Version=v9.0": [
"PCLAppConfig >= 1.0.1",
"PCLAppConfig >= 1.0.2",
"PCLAppConfig.FileSystemStream.Abstractions >= 1.0.0",
"Xamarin.Forms >= 4.5.0.396"
]
Expand Down
Binary file removed src/.vs/PCLAppConfig/v16/lut/25104/buildstate.lut
Binary file not shown.
Binary file added src/.vs/PCLAppConfig/v16/lut/coverage.lutdata
Binary file not shown.
2 changes: 1 addition & 1 deletion src/DemoApp/DemoApp.Droid/DemoApp.Droid.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<TargetFrameworkVersion>v9.0</TargetFrameworkVersion>
<AndroidSupportedAbis>armeabi,armeabi-v7a,x86</AndroidSupportedAbis>
<AndroidSupportedAbis>armeabi-v7a,x86</AndroidSupportedAbis>
<AndroidStoreUncompressedFileExtensions />
<MandroidI18n />
<JavaMaximumHeapSize />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
<ItemGroup>
<ProjectReference Include="..\PCLAppConfig.FileSystemStream.Abstractions\PCLAppConfig.FileSystemStream.Abstractions.csproj" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="if not exist &quot;$(SolutionDir)\build&quot; mkdir &quot;$(SolutionDir)\build&quot;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;copy &quot;$(TargetPath)&quot; &quot;$(SolutionDir)\build\$(TargetFileName)&quot;&#xD;&#xA;&#xD;&#xA;copy &quot;$(TargetPath)&quot; &quot;$(SolutionDir)\build\$(TargetFileName).debugTask&quot;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;rem --- NuGet pack and push ------------------------------------------------------------------------------&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;if not &quot;$(ConfigurationName)&quot;==&quot;Release&quot; goto :noRelease&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&quot;$(SolutionDir)\.nuget\NuGet.exe&quot; pack &quot;$(SolutionDir)\PCLAppConfig.nuspec&quot; -Verbosity detailed -NonInteractive -IncludeReferencedProjects -NonInteractive -Tool -Properties ConfigurationName=$(ConfigurationName) -Symbols&#xD;&#xA;&#xD;&#xA;move *.nupkg &quot;$(SolutionDir)\build\&quot;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;:noRelease" />
</Target>

</Project>
2 changes: 1 addition & 1 deletion src/Lib/PCLAppConfig/PCLAppConfig.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
- 0.3.0: Initial Release
</PackageReleaseNotes>
<NeutralLanguage></NeutralLanguage>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
</Project>
20 changes: 13 additions & 7 deletions src/PCLAppConfig.sln
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27130.2027
# Visual Studio Version 16
VisualStudioVersion = 16.0.29911.84
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Lib", "Lib", "{70584D47-5C81-4C41-BA98-B5E6D9B8A40E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Test", "Test", "{4E217353-F4C5-4316-A1E2-604F85381422}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PCLAppConfig", "Lib\PCLAppConfig\PCLAppConfig.csproj", "{91435741-B785-4FD8-B486-FA157FD55852}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PCLAppConfig", "Lib\PCLAppConfig\PCLAppConfig.csproj", "{91435741-B785-4FD8-B486-FA157FD55852}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Demo", "Demo", "{4E978199-599F-4001-A863-5746204F8B1D}"
EndProject
Expand All @@ -17,25 +17,31 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DemoApp.iOS", "DemoApp\Demo
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DemoApp.UWP", "DemoApp\DemoApp.UWP\DemoApp.UWP.csproj", "{C6CD8530-FECA-4B06-AFDD-7CC02D00FD4C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DemoApp", "DemoApp\DemoApp\DemoApp.csproj", "{03B96875-A80D-4610-9B73-F3BE382314F4}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DemoApp", "DemoApp\DemoApp\DemoApp.csproj", "{03B96875-A80D-4610-9B73-F3BE382314F4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PCLAppConfig.FileSystemStream", "Lib\PCLAppConfig.FileSystemStream\PCLAppConfig.FileSystemStream.csproj", "{7F2D2561-0F78-4597-9E09-043E757BFCE5}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PCLAppConfig.FileSystemStream", "Lib\PCLAppConfig.FileSystemStream\PCLAppConfig.FileSystemStream.csproj", "{7F2D2561-0F78-4597-9E09-043E757BFCE5}"
ProjectSection(ProjectDependencies) = postProject
{91435741-B785-4FD8-B486-FA157FD55852} = {91435741-B785-4FD8-B486-FA157FD55852}
{C556294C-E117-469D-9A53-CC215DBA4EB9} = {C556294C-E117-469D-9A53-CC215DBA4EB9}
{61ABABA0-1EB5-44E9-AEC1-86430846E590} = {61ABABA0-1EB5-44E9-AEC1-86430846E590}
{E16B54F1-FDFC-446E-9F15-D3C61F58F70D} = {E16B54F1-FDFC-446E-9F15-D3C61F58F70D}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PCLAppConfig.FileSystemStream.Android", "Lib\PCLAppConfig.FileSystemStream.Android\PCLAppConfig.FileSystemStream.Android.csproj", "{61ABABA0-1EB5-44E9-AEC1-86430846E590}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PCLAppConfig.FileSystemStream.UWP", "Lib\PCLAppConfig.FileSystemStream.UWP\PCLAppConfig.FileSystemStream.UWP.csproj", "{E16B54F1-FDFC-446E-9F15-D3C61F58F70D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PCLAppConfig.FileSystemStream.iOS", "Lib\PCLAppConfig.FileSystemStream.iOS\PCLAppConfig.FileSystemStream.iOS.csproj", "{C556294C-E117-469D-9A53-CC215DBA4EB9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PCLAppConfig.FileSystemStream.Abstractions", "Lib\PCLAppConfig.FileSystemStream.Abstractions\PCLAppConfig.FileSystemStream.Abstractions.csproj", "{47ADF18F-1BB7-45AE-ADDB-FA9291F2C532}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PCLAppConfig.FileSystemStream.Abstractions", "Lib\PCLAppConfig.FileSystemStream.Abstractions\PCLAppConfig.FileSystemStream.Abstractions.csproj", "{47ADF18F-1BB7-45AE-ADDB-FA9291F2C532}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{9D100221-BC18-4732-847E-6A6AEFB0FCBD}"
ProjectSection(SolutionItems) = preProject
global.json = global.json
PCLAppConfig.nuspec = PCLAppConfig.nuspec
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PCLAppConfig.UnitTest", "Test\PCLAppConfig.UnitTest\PCLAppConfig.UnitTest.csproj", "{F9FFEE2C-2397-411D-8D55-4D4F333B3938}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PCLAppConfig.UnitTest", "Test\PCLAppConfig.UnitTest\PCLAppConfig.UnitTest.csproj", "{F9FFEE2C-2397-411D-8D55-4D4F333B3938}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down

0 comments on commit 96bb42b

Please sign in to comment.