Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from fsprojects/master. #2

Merged
merged 177 commits into from
Mar 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
177 commits
Select commit Hold shift + click to select a range
892ac47
Merge upstream master:6ec1622 from fsprojects/Paket
viktor-svub Aug 4, 2018
9b647e9
Merge upstream master/5.177.1 from fsprojects/Paket
viktor-svub Aug 30, 2018
d196c5d
Update NuGet.fs
DialPawlowski Oct 11, 2018
cd72189
Set timeouts for the request of the package to be download, for the r…
DialPawlowski Oct 16, 2018
3bbe8c0
Added namespace to generated scripts.
Oct 22, 2018
34f6ff1
Added integration test for "adding namespace to load scripts"
Oct 22, 2018
ebdf206
Faq entry for the package timeouts
DialPawlowski Oct 23, 2018
e784792
Merge branch 'master' of https://github.com/pawld/Paket
forki Oct 24, 2018
3af9380
RELEASE_NOTES
forki Oct 24, 2018
ba677c8
Bump version to 5.182.0-alpha003
forki Oct 24, 2018
66c1ad7
Merge upstream master/5.182.0-alpha003 from fsprojects/Paket
viktor-svub Oct 27, 2018
b38bde8
RELEASE_NOTES
forki Oct 30, 2018
2487169
RELEASE_NOTES
forki Oct 30, 2018
9a01d99
Bump version to 5.182.1
forki Oct 30, 2018
54dd24c
Merge branch 'andre-correia/add-namespace-to-load-scripts' of https:/…
forki Oct 30, 2018
ea241b2
RELEASE_NOTES
forki Oct 30, 2018
b95ea78
Bump version to 5.183.0
forki Oct 30, 2018
0da7b96
Revert "Merge branch 'master' of https://github.com/pawld/Paket"
forki Oct 30, 2018
9f05288
Bump version to 5.184.0
forki Oct 30, 2018
66d8cd5
Write paket version to /paket-files during restore
forki Nov 7, 2018
94d52bd
latest
forki Nov 7, 2018
633fc14
Bump version to 5.185.2
forki Nov 7, 2018
e07ce18
Revert "Write paket version to /paket-files during restore"
forki Nov 7, 2018
828f9e4
Paket template checks if restored with 5.185.3 or later - fixes #3404
forki Nov 7, 2018
5272486
Bump version to 5.185.3
forki Nov 7, 2018
1325d1b
Create a gitignore around paket's .cached file - fixes #3060
forki Nov 7, 2018
e1e4edf
Bump version to 5.186.0
forki Nov 7, 2018
08df199
Remove ReadOnly flag before writing to files - fixes #3410
forki Nov 8, 2018
2dcaf0e
Bump version to 5.186.3
forki Nov 9, 2018
c51f5f3
try to partially fix https://github.com/fsprojects/Paket/issues/3413
matthid Nov 10, 2018
88620a9
add compat fallback in case of older cache files.
matthid Nov 11, 2018
a2c1566
retry when the request times out, fixes https://github.com/fsprojects…
matthid Nov 11, 2018
047988a
try again for "Connection reset by peer" or other socket-exceptions a…
matthid Nov 11, 2018
2965a71
Restore lock file
forki Nov 13, 2018
850c159
Merge branch 'compat-targets' of https://github.com/fsprojects/Paket
forki Nov 13, 2018
28a16b9
RELEASE_NOTES
forki Nov 13, 2018
3c82a9c
Merge branch 'retry-after-timeout' of https://github.com/fsprojects/P…
forki Nov 13, 2018
f2ddcf4
RELEASE_NOTES
forki Nov 13, 2018
dfcc912
Bump version to 5.187.0
forki Nov 13, 2018
957a66c
Revert "Merge branch 'retry-after-timeout' of https://github.com/fspr…
forki Nov 13, 2018
9a551ba
Bump version to 5.187.1
forki Nov 13, 2018
82c783c
Update NuGet.fs
b0urb4k1 Nov 14, 2018
666cc8b
timeouts
forki Nov 14, 2018
c0c219c
Bump version to 5.188.0
forki Nov 14, 2018
b5b51e2
Update faq.md
b0urb4k1 Nov 14, 2018
fc50da1
Merge branch 'master' of https://github.com/b0urb4k1/Paket
forki Nov 14, 2018
11a84db
Bump version to 5.188.1
forki Nov 14, 2018
241ba2b
Check for UseMSBuild15_9_Pack - fixes #3427
forki Nov 15, 2018
9a9ebed
release notes
forki Nov 16, 2018
c36ff51
Bump version to 5.189.0
forki Nov 16, 2018
a8fa8bd
fixes #3429
forki Nov 17, 2018
2533c97
Bump version to 5.189.1
forki Nov 17, 2018
ea11cdb
Update NetUtils.fs
haf Nov 20, 2018
008187f
Fix handling of DotNetCoreAppVersion.V3_0
batzen Nov 24, 2018
8e65117
RELEASE_NOTES
forki Nov 26, 2018
9a112e7
Merge branch 'i3427'
forki Nov 26, 2018
c8ef09f
Bump version to 5.189.2
forki Nov 26, 2018
cfba260
Merge branch 'patch-1' of https://github.com/haf/Paket
forki Nov 26, 2018
5edf3fa
release notes
forki Nov 26, 2018
f39fca3
Bump version to 5.190.0
forki Nov 26, 2018
1ab1812
zsh completion accepts only direct dependecies for update and remove
agross Nov 29, 2018
b9dd859
Support paket info completion
agross Nov 29, 2018
dedcf45
Support paket restriction completion
agross Nov 29, 2018
8b372c7
Support new arguments for paket add
agross Nov 29, 2018
4e751eb
Support new argument for paket clear-cache
agross Nov 29, 2018
b05397f
Support new argument for paket config add-credentials
agross Nov 29, 2018
cab37e6
Fix wording on clear-cache help, closes #3441
agross Nov 30, 2018
ccbfbaa
Fix wording for clear-cache according to #3442
agross Nov 30, 2018
06d1825
Making Paket.Restore.targets work with Paket as a global tool.
NatElkins Oct 26, 2018
aac9770
fixes #3444
forki Dec 1, 2018
c976b86
obsolete tests
forki Dec 1, 2018
76408a4
Bump version to 5.191.0
forki Dec 1, 2018
c341df2
Merge branch 'global-restore' of https://github.com/ai-traders/Paket
forki Dec 2, 2018
9512acd
release notes
forki Dec 2, 2018
9948e1c
targets
forki Dec 2, 2018
e0745bc
Bump version to 5.192.0
forki Dec 2, 2018
17d055d
Merge branch 'paket-clear-cache' of https://github.com/agross/Paket
forki Dec 2, 2018
0f73677
Merge branch 'zsh-completion-update' of https://github.com/agross/Paket
forki Dec 2, 2018
f176496
release notes
forki Dec 2, 2018
cdc6629
release notes
forki Dec 2, 2018
c3ab60b
Bump version to 5.193.0
forki Dec 2, 2018
6415e5d
fix conflict between native local-path style with dotnet tool global …
lust4life Dec 6, 2018
22d17c6
Changes to restore target to handle global install
TWith2Sugars Dec 6, 2018
309624a
Update faq.md
stevewillcock Dec 7, 2018
ea36acd
Merge pull request #3453 from stevewillcock/patch-1
forki Dec 7, 2018
1df558b
Merge branch 'master' of https://github.com/lust4life/Paket
forki Dec 8, 2018
dd876c6
Merge branch 'patch-2' of https://github.com/TWith2Sugars/Paket
forki Dec 8, 2018
80a776b
Bump version to 5.194.0
forki Dec 8, 2018
e68c140
Fix zsh completer for clear-cache
agross Dec 14, 2018
a19fce7
Use github token environment variable with HttpClient
martyn-osborne Dec 18, 2018
7b5a7c8
release notes
forki Dec 18, 2018
5c5fd6e
Pull github token fetching into private function
martyn-osborne Dec 19, 2018
5a40524
Merge branch 'master' of https://github.com/zzdtri/Paket
forki Dec 19, 2018
429b615
Bump version to 5.194.1
forki Dec 19, 2018
d1d644e
Merge branch 'zsh-clear-cache' of https://github.com/fsprojects/Paket
forki Dec 19, 2018
f47ca86
release notes
forki Dec 19, 2018
cb470ae
Bump version to 5.194.2
forki Dec 19, 2018
5c9e969
Revert "Pull github token fetching into private function"
forki Dec 19, 2018
8069f87
Revert "Use github token environment variable with HttpClient"
forki Dec 19, 2018
c0ba2c9
Bump version to 5.194.3
forki Dec 19, 2018
ffb8f58
Use the correct request header
inosik Jan 2, 2019
368d536
Set the header on the content
inosik Jan 2, 2019
11df4af
RELEASE_NOTES
forki Jan 2, 2019
7710749
Bump version to 5.194.4
forki Jan 2, 2019
0907813
fix #2776 pack transitive dependencies
lexarchik Jan 7, 2019
f900b64
compare with originalPackage.settings not resolved.settings
lust4life Dec 22, 2018
4e3b746
add integration test for #3464
lust4life Dec 24, 2018
dbdd79f
add ut for storage none when findNuGetChangesInDependenciesFile
lust4life Jan 8, 2019
0e5632e
revert integrationtests using unit test
lust4life Jan 8, 2019
4ca3712
fix #3294 uri unescape when read project property
lexarchik Jan 8, 2019
9d62958
Do not change the AutoGenerateBindingRedirects for exe output type
BlythMeister Jan 8, 2019
a5b4bad
release notes
forki Jan 10, 2019
38706ae
Bump version to 5.194.5
forki Jan 10, 2019
18b32f3
sql projects support
vasily-kirichenko Jan 10, 2019
9bac716
Sql support
forki Jan 10, 2019
0798fb9
Bump version to 5.195.0
forki Jan 10, 2019
de28ca6
Merge branch 'bindingRedirect' of https://github.com/BlythMeister/Paket
forki Jan 13, 2019
a506144
release notes
forki Jan 13, 2019
702432a
Bump version to 5.195.1
forki Jan 13, 2019
e7db363
Add PaketRestoreDisabled when NCrunch enabled
BlythMeister Jan 14, 2019
dbde78f
Set AllowExplicitVersion to true in Paket.Restore.targets
Jan 16, 2019
d7c0b3b
Apply paket github api token on github requests
BlythMeister Jan 17, 2019
0dd27ac
Sync PaketPropsVersion between RestoreProcess.fs & Paket.Restore.targets
BlythMeister Jan 17, 2019
e5df915
Fixed confusing instruction for paket.dependencies location
ivan-brko Jan 17, 2019
07d393a
Merge branch 'github' of https://github.com/BlythMeister/Paket
forki Jan 18, 2019
f6a4def
release notes
forki Jan 18, 2019
63cd01f
Bump version to 5.195.2
forki Jan 18, 2019
5a82f2f
Merge branch 'targets-explicit-version' of https://github.com/seanamo…
forki Jan 18, 2019
8a3a557
release notes
forki Jan 18, 2019
5d4b5a7
Bump version to 5.195.3
forki Jan 18, 2019
bce45d1
Merge branch 'norestore' of https://github.com/BlythMeister/Paket
forki Jan 18, 2019
002da11
release notes
forki Jan 18, 2019
1914526
fix comment
forki Jan 18, 2019
82ec444
Bump version to 5.195.4
forki Jan 18, 2019
3d5cb89
Merge branch 'ncrunch' of https://github.com/BlythMeister/Paket
forki Jan 19, 2019
f8754f9
release notes
forki Jan 19, 2019
2790ed3
Bump version to 5.195.5
forki Jan 19, 2019
cc62ab4
Merge branch 'i3294' of https://github.com/lexarchik/Paket
forki Jan 21, 2019
e66724f
release notes
forki Jan 21, 2019
84c602f
Merge branch 'i2776' of https://github.com/lexarchik/Paket
forki Jan 22, 2019
b05de69
release notes
forki Jan 22, 2019
2065231
Bump version to 5.195.7
forki Jan 22, 2019
6bad304
fix #2520 new option to control interproject references version const…
lexarchik Jan 29, 2019
6e54815
release notes
forki Feb 3, 2019
ead7177
release notes
forki Feb 3, 2019
ca97be2
fix warn about new syntax
lexarchik Feb 4, 2019
80c1c37
release notes
forki Feb 4, 2019
f9fa80f
Bump version to 5.196.2
forki Feb 4, 2019
dd88115
Restore SDK projects during InstallProcess and nuke assets file
forki Feb 18, 2019
f72035f
release notes
forki Feb 18, 2019
068e477
Bump version to 5.197.0
forki Feb 18, 2019
dd3f212
Merge upstream master/5.197.0 from fsprojects/Paket
viktor-svub Feb 19, 2019
68215e1
Don't do restore on --no-restore - fixes #3505
forki Feb 19, 2019
f561018
RELEASE_NOTES
forki Feb 19, 2019
c63e1fc
Merge branch 'master' of https://github.com/fsprojects/Paket
forki Feb 19, 2019
79ed6f7
Bump version to 5.197.1
forki Feb 19, 2019
2ad5ece
Revert "Don't do restore on --no-restore - fixes #3505"
forki Feb 19, 2019
8e8ce24
release notes
forki Feb 19, 2019
09346b7
use older paket
forki Feb 19, 2019
48a8255
Bump version to 5.197.2
forki Feb 19, 2019
eccbdc1
install does write paket.restore.cached - fixes #3508
forki Feb 20, 2019
dfb38d5
use older paket
forki Feb 20, 2019
df68bd5
Bump version to 5.197.3
forki Feb 20, 2019
a2fda70
Do not run in StackOverflow during release lock
forki Feb 20, 2019
6fe4172
release notes
forki Feb 20, 2019
0c48d41
Bump version to 5.197.4
forki Feb 20, 2019
cde0d10
releaseLock with 5 retries
forki Feb 20, 2019
c1f0ce6
release notes
forki Feb 20, 2019
2de4418
Bump version to 5.197.5
forki Feb 20, 2019
82c341a
improved restore speed
viktor-svub Feb 20, 2019
010b245
Merge branch 'feature/restore-speedup' of https://github.com/viktor-s…
forki Feb 22, 2019
b701ef6
release notes
forki Feb 22, 2019
5602870
Bump version to 5.198.0
forki Feb 22, 2019
525abb1
Fix typo
janhohenheim Mar 14, 2019
78c7d82
Merge pull request #3522 from jnferner/patch-1
forki Mar 14, 2019
4527d38
Fix DebuggerDisplay-Attribute of GroupName
inosik Mar 20, 2019
a34bfe5
Merge pull request #3526 from inosik/bugfix/groupname-debuggerdisplay
forki Mar 20, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 99 additions & 18 deletions .paket/Paket.Restore.targets
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,43 @@
<PaketExeImage Condition=" '$(PaketBootstrapperStyle)' == 'proj' ">native</PaketExeImage>
<MonoPath Condition="'$(MonoPath)' == '' And Exists('/Library/Frameworks/Mono.framework/Commands/mono')">/Library/Frameworks/Mono.framework/Commands/mono</MonoPath>
<MonoPath Condition="'$(MonoPath)' == ''">mono</MonoPath>
<!-- Paket command -->
<PaketExePath Condition=" '$(PaketExePath)' == '' AND Exists('$(PaketToolsPath)paket')">$(PaketToolsPath)paket</PaketExePath>
<PaketExePath Condition=" '$(PaketExePath)' == '' AND Exists('$(PaketRootPath)paket.exe')">$(PaketRootPath)paket.exe</PaketExePath>

<PaketExePath Condition=" '$(PaketExePath)' == '' AND '$(OS)' == 'Windows_NT' ">$(PaketToolsPath)paket.exe</PaketExePath>
<PaketExePath Condition=" '$(PaketExePath)' == '' AND '$(OS)' != 'Windows_NT' AND '$(PaketExeImage)' == 'assembly' ">$(PaketToolsPath)paket.exe</PaketExePath>
<PaketExePath Condition=" '$(PaketExePath)' == '' AND '$(OS)' != 'Windows_NT' AND '$(PaketExeImage)' == 'native' ">$(PaketToolsPath)paket</PaketExePath>
<!-- PaketBootStrapper -->
<PaketBootStrapperExePath Condition=" '$(PaketBootStrapperExePath)' == '' AND Exists('$(PaketRootPath)paket.bootstrapper.exe')">$(PaketRootPath)paket.bootstrapper.exe</PaketBootStrapperExePath>
<PaketBootStrapperExePath Condition=" '$(PaketBootStrapperExePath)' == '' ">$(PaketToolsPath)paket.bootstrapper.exe</PaketBootStrapperExePath>
<PaketBootStrapperExeDir Condition=" Exists('$(PaketBootStrapperExePath)') " >$([System.IO.Path]::GetDirectoryName("$(PaketBootStrapperExePath)"))\</PaketBootStrapperExeDir>

<!-- Paket -->

<!-- windows, root => tool => proj style => bootstrapper => global -->
<PaketExePath Condition=" '$(PaketExePath)' == '' AND '$(OS)' == 'Windows_NT' AND Exists('$(PaketRootPath)paket.exe') ">$(PaketRootPath)paket.exe</PaketExePath>
<PaketExePath Condition=" '$(PaketExePath)' == '' AND '$(OS)' == 'Windows_NT' AND Exists('$(PaketToolsPath)paket.exe') ">$(PaketToolsPath)paket.exe</PaketExePath>
<PaketExePath Condition=" '$(PaketExePath)' == '' AND '$(OS)' == 'Windows_NT' AND '$(PaketBootstrapperStyle)' == 'proj' ">$(PaketToolsPath)paket.exe</PaketExePath>
<PaketExePath Condition=" '$(PaketExePath)' == '' AND '$(OS)' == 'Windows_NT' AND Exists('$(PaketBootStrapperExeDir)') ">$(_PaketBootStrapperExeDir)paket.exe</PaketExePath>
<PaketExePath Condition=" '$(PaketExePath)' == '' AND '$(OS)' == 'Windows_NT' ">paket.exe</PaketExePath>

<!-- no windows, try native paket as default, root => tool => proj style => mono paket => bootstrpper => global -->
<PaketExePath Condition=" '$(PaketExePath)' == '' AND '$(OS)' != 'Windows_NT' AND Exists('$(PaketRootPath)paket') ">$(PaketRootPath)paket</PaketExePath>
<PaketExePath Condition=" '$(PaketExePath)' == '' AND '$(OS)' != 'Windows_NT' AND Exists('$(PaketToolsPath)paket') ">$(PaketToolsPath)paket</PaketExePath>
<PaketExePath Condition=" '$(PaketExePath)' == '' AND '$(OS)' != 'Windows_NT' AND '$(PaketBootstrapperStyle)' == 'proj' ">$(PaketToolsPath)paket</PaketExePath>

<!-- no windows, try mono paket -->
<PaketExePath Condition=" '$(PaketExePath)' == '' AND '$(OS)' != 'Windows_NT' AND Exists('$(PaketRootPath)paket.exe') ">$(PaketRootPath)paket.exe</PaketExePath>
<PaketExePath Condition=" '$(PaketExePath)' == '' AND '$(OS)' != 'Windows_NT' AND Exists('$(PaketToolsPath)paket.exe') ">$(PaketToolsPath)paket.exe</PaketExePath>

<!-- no windows, try bootstrapper -->
<PaketExePath Condition=" '$(PaketExePath)' == '' AND '$(OS)' != 'Windows_NT' AND Exists('$(PaketBootStrapperExeDir)') ">$(PaketBootStrapperExeDir)paket.exe</PaketExePath>

<!-- no windows, try global native paket -->
<PaketExePath Condition=" '$(PaketExePath)' == '' AND '$(OS)' != 'Windows_NT' ">paket</PaketExePath>

<!-- Paket command -->
<_PaketExeExtension>$([System.IO.Path]::GetExtension("$(PaketExePath)"))</_PaketExeExtension>
<PaketCommand Condition=" '$(PaketCommand)' == '' AND '$(_PaketExeExtension)' == '.dll' ">dotnet "$(PaketExePath)"</PaketCommand>
<PaketCommand Condition=" '$(PaketCommand)' == '' AND '$(OS)' == 'Windows_NT'">"$(PaketExePath)"</PaketCommand>
<PaketCommand Condition=" '$(PaketCommand)' == '' AND '$(OS)' != 'Windows_NT' AND '$(_PaketExeExtension)' == '.exe' ">$(MonoPath) --runtime=v4.0.30319 "$(PaketExePath)"</PaketCommand>
<PaketCommand Condition=" '$(PaketCommand)' == '' AND '$(OS)' != 'Windows_NT'">"$(PaketExePath)"</PaketCommand>
<PaketCommand Condition=" '$(PaketCommand)' == '' ">"$(PaketExePath)"</PaketCommand>


<PaketBootStrapperExePath Condition=" '$(PaketBootStrapperExePath)' == '' AND Exists('$(PaketRootPath)paket.bootstrapper.exe')">$(PaketRootPath)paket.bootstrapper.exe</PaketBootStrapperExePath>
<PaketBootStrapperExePath Condition=" '$(PaketBootStrapperExePath)' == '' ">$(PaketToolsPath)paket.bootstrapper.exe</PaketBootStrapperExePath>
<PaketBootStrapperCommand Condition=" '$(OS)' == 'Windows_NT'">"$(PaketBootStrapperExePath)"</PaketBootStrapperCommand>
<PaketBootStrapperCommand Condition=" '$(OS)' != 'Windows_NT' ">$(MonoPath) --runtime=v4.0.30319 "$(PaketBootStrapperExePath)"</PaketBootStrapperCommand>

Expand All @@ -42,6 +62,9 @@
<!-- see https://github.com/fsharp/fslang-design/blob/master/RFCs/FS-1032-fsharp-in-dotnet-sdk.md -->
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<DisableImplicitSystemValueTupleReference>true</DisableImplicitSystemValueTupleReference>

<!-- Disable Paket restore under NCrunch build -->
<PaketRestoreDisabled Condition="'$(NCrunch)' == '1'">True</PaketRestoreDisabled>
</PropertyGroup>

<Target Name="PaketBootstrapping" Condition="Exists('$(PaketToolsPath)paket.bootstrapper.proj')">
Expand Down Expand Up @@ -82,7 +105,11 @@
<PaketRestoreRequired Condition=" '$(PaketRestoreLockFileHash)' == '' ">true</PaketRestoreRequired>
</PropertyGroup>

<PropertyGroup Condition="'$(PaketPropsVersion)' != '5.174.2' ">
<!--
This value should match the version in the props generated by paket
If they differ, this means we need to do a restore in order to ensure correct dependencies
-->
<PropertyGroup Condition="'$(PaketPropsVersion)' != '5.185.3' ">
<PaketRestoreRequired>true</PaketRestoreRequired>
</PropertyGroup>

Expand Down Expand Up @@ -151,16 +178,19 @@

<ItemGroup Condition="($(DesignTimeBuild) != true OR '$(PaketPropsLoaded)' != 'true') AND '@(PaketReferencesFileLines)' != '' " >
<PaketReferencesFileLinesInfo Include="@(PaketReferencesFileLines)" >
<Splits>$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',').Length)</Splits>
<PackageName>$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[0])</PackageName>
<PackageVersion>$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[1])</PackageVersion>
<AllPrivateAssets>$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[4])</AllPrivateAssets>
<CopyLocal>$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[5])</CopyLocal>
<CopyLocal Condition="'$(Splits)' == '6'">$([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[5])</CopyLocal>
</PaketReferencesFileLinesInfo>
<PackageReference Include="%(PaketReferencesFileLinesInfo.PackageName)">
<Version>%(PaketReferencesFileLinesInfo.PackageVersion)</Version>
<PrivateAssets Condition=" ('%(PaketReferencesFileLinesInfo.AllPrivateAssets)' == 'true') Or ('$(PackAsTool)' == 'true') ">All</PrivateAssets>
<ExcludeAssets Condition="%(PaketReferencesFileLinesInfo.CopyLocal) == 'false'">runtime</ExcludeAssets>
<ExcludeAssets Condition=" '%(PaketReferencesFileLinesInfo.Splits)' == '6' And %(PaketReferencesFileLinesInfo.CopyLocal) == 'false'">runtime</ExcludeAssets>
<ExcludeAssets Condition=" '%(PaketReferencesFileLinesInfo.Splits)' != '6' And %(PaketReferencesFileLinesInfo.AllPrivateAssets) == 'exclude'">runtime</ExcludeAssets>
<Publish Condition=" '$(PackAsTool)' == 'true' ">true</Publish>
<AllowExplicitVersion>true</AllowExplicitVersion>
</PackageReference>
</ItemGroup>

Expand Down Expand Up @@ -192,19 +222,27 @@
<Target Name="PaketDisableDirectPack" AfterTargets="_IntermediatePack" BeforeTargets="GenerateNuspec" Condition="('$(IsPackable)' == '' Or '$(IsPackable)' == 'true') And Exists('$(MSBuildProjectDirectory)/obj/$(MSBuildProjectFile).references')" >
<PropertyGroup>
<ContinuePackingAfterGeneratingNuspec>false</ContinuePackingAfterGeneratingNuspec>
<DetectedMSBuildVersion>$(MSBuildVersion)</DetectedMSBuildVersion>
<DetectedMSBuildVersion Condition="$(MSBuildVersion) == ''">15.8.0</DetectedMSBuildVersion>
</PropertyGroup>
</Target>

<Target Name="PaketOverrideNuspec" AfterTargets="GenerateNuspec" Condition="('$(IsPackable)' == '' Or '$(IsPackable)' == 'true') And Exists('$(MSBuildProjectDirectory)/obj/$(MSBuildProjectFile).references')" >
<ItemGroup>
<_NuspecFilesNewLocation Include="$(BaseIntermediateOutputPath)$(Configuration)\*.nuspec"/>
<MSBuildMajorVersion Include="$(DetectedMSBuildVersion.Replace(`-`, `.`).Split(`.`)[0])" />
<MSBuildMinorVersion Include="$(DetectedMSBuildVersion.Replace(`-`, `.`).Split(`.`)[1])" />
</ItemGroup>

<PropertyGroup>
<PaketProjectFile>$(MSBuildProjectDirectory)/$(MSBuildProjectFile)</PaketProjectFile>
<ContinuePackingAfterGeneratingNuspec>true</ContinuePackingAfterGeneratingNuspec>
<UseNewPack>false</UseNewPack>
<UseNewPack Condition=" '$(NuGetToolVersion)' != '4.0.0' ">true</UseNewPack>
<UseMSBuild15_9_Pack>false</UseMSBuild15_9_Pack>
<UseMSBuild15_9_Pack Condition=" '@(MSBuildMajorVersion)' > '15' OR ('@(MSBuildMajorVersion)' == '15' AND '@(MSBuildMinorVersion)' > '8') ">true</UseMSBuild15_9_Pack>
<UseMSBuild15_8_Pack>false</UseMSBuild15_8_Pack>
<UseMSBuild15_8_Pack Condition=" '$(NuGetToolVersion)' != '4.0.0' AND (! $(UseMSBuild15_9_Pack)) ">true</UseMSBuild15_8_Pack>
<UseNuGet4_Pack>false</UseNuGet4_Pack>
<UseNuGet4_Pack Condition=" (! $(UseMSBuild15_8_Pack)) AND (! $(UseMSBuild15_9_Pack)) ">true</UseNuGet4_Pack>
<AdjustedNuspecOutputPath>$(BaseIntermediateOutputPath)$(Configuration)</AdjustedNuspecOutputPath>
<AdjustedNuspecOutputPath Condition="@(_NuspecFilesNewLocation) == ''">$(BaseIntermediateOutputPath)</AdjustedNuspecOutputPath>
</PropertyGroup>
Expand All @@ -219,9 +257,52 @@
<Output TaskParameter="AbsolutePaths" PropertyName="NuspecFileAbsolutePath" />
</ConvertToAbsolutePath>


<!-- Call Pack -->
<PackTask Condition="$(UseNewPack)"
<PackTask Condition="$(UseMSBuild15_9_Pack)"
PackItem="$(PackProjectInputFile)"
PackageFiles="@(_PackageFiles)"
PackageFilesToExclude="@(_PackageFilesToExclude)"
PackageVersion="$(PackageVersion)"
PackageId="$(PackageId)"
Title="$(Title)"
Authors="$(Authors)"
Description="$(Description)"
Copyright="$(Copyright)"
RequireLicenseAcceptance="$(PackageRequireLicenseAcceptance)"
LicenseUrl="$(PackageLicenseUrl)"
ProjectUrl="$(PackageProjectUrl)"
IconUrl="$(PackageIconUrl)"
ReleaseNotes="$(PackageReleaseNotes)"
Tags="$(PackageTags)"
DevelopmentDependency="$(DevelopmentDependency)"
BuildOutputInPackage="@(_BuildOutputInPackage)"
TargetPathsToSymbols="@(_TargetPathsToSymbols)"
SymbolPackageFormat="symbols.nupkg"
TargetFrameworks="@(_TargetFrameworks)"
AssemblyName="$(AssemblyName)"
PackageOutputPath="$(PackageOutputAbsolutePath)"
IncludeSymbols="$(IncludeSymbols)"
IncludeSource="$(IncludeSource)"
PackageTypes="$(PackageType)"
IsTool="$(IsTool)"
RepositoryUrl="$(RepositoryUrl)"
RepositoryType="$(RepositoryType)"
SourceFiles="@(_SourceFiles->Distinct())"
NoPackageAnalysis="$(NoPackageAnalysis)"
MinClientVersion="$(MinClientVersion)"
Serviceable="$(Serviceable)"
FrameworkAssemblyReferences="@(_FrameworkAssemblyReferences)"
ContinuePackingAfterGeneratingNuspec="$(ContinuePackingAfterGeneratingNuspec)"
NuspecOutputPath="$(AdjustedNuspecOutputPath)"
IncludeBuildOutput="$(IncludeBuildOutput)"
BuildOutputFolder="$(BuildOutputTargetFolder)"
ContentTargetFolders="$(ContentTargetFolders)"
RestoreOutputPath="$(RestoreOutputAbsolutePath)"
NuspecFile="$(NuspecFileAbsolutePath)"
NuspecBasePath="$(NuspecBasePath)"
NuspecProperties="$(NuspecProperties)"/>

<PackTask Condition="$(UseMSBuild15_8_Pack)"
PackItem="$(PackProjectInputFile)"
PackageFiles="@(_PackageFiles)"
PackageFilesToExclude="@(_PackageFilesToExclude)"
Expand Down Expand Up @@ -264,7 +345,7 @@
NuspecBasePath="$(NuspecBasePath)"
NuspecProperties="$(NuspecProperties)"/>

<PackTask Condition="! $(UseNewPack)"
<PackTask Condition="$(UseNuGet4_Pack)"
PackItem="$(PackProjectInputFile)"
PackageFiles="@(_PackageFiles)"
PackageFilesToExclude="@(_PackageFilesToExclude)"
Expand Down
64 changes: 63 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,66 @@
#### 5.182.0-alpha002 - 2018-10-15
#### 5.198.0 - 2019-02-22
* PERFORMANCE: Speedup for paket restore - https://github.com/fsprojects/Paket/pull/3512
* BUGFIX: Do not run in StackOverflow during ReleaseLock
* BUGFIX: Paket install writed restore cache file -https://github.com/fsprojects/Paket/issues/3508

#### 5.197.0 - 2019-02-18
* BUGFIX: Restore SDK projects during paket install - https://github.com/fsprojects/Paket/pull/3503

#### 5.196.2 - 2019-02-04
* BUGFIX: Fixed constant warn about new syntax - https://github.com/fsprojects/Paket/pull/3497

#### 5.196.1 - 2019-02-03
* New option to control interproject references version constraint - https://github.com/fsprojects/Paket/pull/3473
* BUGFIX: Fixedpack transitive dependencies with --include-referenced-projects - https://github.com/fsprojects/Paket/pull/3469
* BUGFIX: uri unescape when read project property - https://github.com/fsprojects/Paket/pull/3470
* BUGFIX: Added PaketRestoreDisabled when NCrunch enabled in targets - https://github.com/fsprojects/Paket/pull/3479
* BUGFIX: dotnet --no-restore was still doing a restore - https://github.com/fsprojects/Paket/pull/3486
* BUGFIX: Set AllowExplicitVersion to true for PackageReference in Paket.Restore.targets - https://github.com/fsprojects/Paket/pull/3482
* BUGFIX: Apply paket github api token on github requests - https://github.com/fsprojects/Paket/pull/3484
* BUGFIX: Do not change the AutoGenerateBindingRedirects for exe output type - https://github.com/fsprojects/Paket/pull/3471

#### 5.195.0 - 2019-01-10
* SQL project support - https://github.com/fsprojects/Paket/pull/3474
* BUGFIX: Fixed RestrictionsChanged Detection - https://github.com/fsprojects/Paket/pull/3464
* BUGFIX: Use the correct request header for paket push - https://github.com/fsprojects/Paket/pull/3466
* BUGFIX: Fixed zsh completer for clear-cache - https://github.com/fsprojects/Paket/pull/3457

#### 5.194.0 - 2018-12-08
* BUGFIX: Fixed conflict between native local-path style with global install style - https://github.com/fsprojects/Paket/pull/3451

#### 5.193.0 - 2018-12-02
* Zsh completion update - https://github.com/fsprojects/Paket/pull/3440

#### 5.192.0 - 2018-12-02
* Making Paket.Restore.targets work with Paket as a global tool - https://github.com/fsprojects/Paket/pull/3445

#### 5.191.0 - 2018-12-01
* BUGFIX: Fix bindingredirects - https://github.com/fsprojects/Paket/issues/3444

#### 5.190.0 - 2018-11-26
* BUGFIX: Allow Username/password to be UTF8 - https://github.com/fsprojects/Paket/pull/3431
* BUGFIX: Fixed handling of DotNetCoreAppVersion.V3_0 - https://github.com/fsprojects/Paket/pull/3437
- 2018-11-17
* NuGet pack compat for SDK 2.1.500 - https://github.com/fsprojects/Paket/issues/3427
* Adjustable timeouts for NuGet - https://github.com/fsprojects/Paket/pull/3383
* REVERT: Retry automatically when a request times out - https://github.com/fsprojects/Paket/pull/3424

#### 5.187.0 - 2018-11-13
* Create a gitignore around paket's .cached file - https://github.com/fsprojects/Paket/issues/3060
* Paket template checks if restored with 5.185.3 or later - https://github.com/fsprojects/Paket/issues/3404
* BUGFIX: Remove ReadOnly flag before writing to files - https://github.com/fsprojects/Paket/issues/3410
* BUGFIX: Added compat fallback in case of older cache files - https://github.com/fsprojects/Paket/pull/3417
* BUGFIX: Used lowest_matching for paket's own FSharp.Core dependency - https://github.com/fsprojects/Paket/pull/3415
* BUGFIX: Retry automatically when a request times out - https://github.com/fsprojects/Paket/pull/3420

#### 5.184.0 - 2018-10-30
* REVERT: Adjustable timeouts for NuGet - https://github.com/fsprojects/Paket/pull/3383

#### 5.183.0 - 2018-10-30
* Add namespace to load scripts - https://github.com/fsprojects/Paket/pull/3396

#### 5.182.1 - 2018-10-30
* Adjustable timeouts for NuGet - https://github.com/fsprojects/Paket/pull/3383
* Full .NET Core support - https://github.com/fsprojects/Paket/pull/3183
* BUGFIX: generate-load-scripts ignored targetFramework constraint in frameworkAssembly config (.nuspec file) https://github.com/fsprojects/Paket/pull/3385

Expand Down
Loading