Commit Graph
504 Commits
Author SHA1 Message Date
chcosta 692c3f7ed6 Use netcoreapp and netstandard for targetgroups (dotnet/corefx#14616)
* Use netcoreapp and netstandard for targetgroups

* Add configurations for some reference projects


Commit migrated from https://github.com/dotnet/corefx/commit/fa7a54ad6d9c785a5d68cc7ade7b4995f04f7823
2016-12-19 15:23:37 -08:00
chcosta 8670eb1802 Use static configurations for building a vertical (dotnet/corefx#14489)
* Build each configuration of corefx tools

* Fully qualify path to props files for import

* Build using static configurations

* Package build, ignore references to System.Threading.Overlapped and
System.Runtime.Serialization.Formatters which aren't being built at the
moment.

* Rename target

* Remove unintentional add of baseline file

* Configuration fixes, fix typo in netci.groovy, re-enable specifying
OSGroup property

* Interim build, overbuilds reference assemblies

* Reduce to passing Configurations

* Fix traversal, undefine configuration for contract projects, remove
trimunconverted (not used)

* lower message importance

* Minor fixes, changing messages, fixing comment

* system.runtime.extensions contract causes binclash because it requires a
configuration.  temporarily disable configuration

* Fix trimming of projects

* Eliminate circular dependency in package build

* Fix OSX build

* Cleanup, less msbuild invocations


Commit migrated from https://github.com/dotnet/corefx/commit/3398321b7a54c5d47e4530651d3bee43794c1320
2016-12-16 13:05:30 -08:00
Jose Perez Rodriguez f01bc10825 Make Test projects compile against the Targeting pack. (1/3 of the work) (dotnet/corefx#14482)
Commit migrated from https://github.com/dotnet/corefx/commit/3403b4f6a11fd6ba53551c9d55de25fbb83bdc85
2016-12-14 11:19:06 -08:00
chcosta bc03ea6283 Remove builds files (dotnet/corefx#14449)
Commit migrated from https://github.com/dotnet/corefx/commit/bc4d19a5e65708208d1aae6ddb2e02f12b85a919
2016-12-12 13:25:22 -08:00
chcosta 978dd4aeed vertical build port to Dev/eng [Do not merge] (dotnet/corefx#14171)
* Vertical build changes

* Build a vertical in dev/eng

* remove repro.bat from check-in

* Remove defaulttargetgroup from configurations.props files

* Remove configurations.props from test libraries

* Additional configuration files, updating traversal.

* Add default configurations for ref projects

* Remove default targetgroups, disable code analysis (currently breaking the
vertical build).

* Build vertical using Eric's changes to configurations

* Minor fixes to build from a clean enlitment

* Set targets properties in dir.props

* Make vertical build the default

* Include building src\tools in init-tools.cmd

* Add linux init-tools

* Fix msbuild.sh command

* Add build tools message to Linux

* Revert init-tools, investigate building corefx tools tomorrow

* Update configurations, remove empty targetgroup from all projects, modify
most conditionals to be positive conditions instead of negative

* Remove unneccessary generateprojectconfigurations project

* Build CoreFx.tools in init-tools

* Can't build corefx.tools in init-tools because packages aren't restored

* Hack build to build refs first

* Slightly less hacky reference project build, but still kind of hacky...

* Align properties for ref builds to prevent binclash and overbuilding

* Update BeforeTarget for rename

* Rework traversal to work with ref and corefx tools projects

* Add target for builds projects

* Fully qualify paths to projects

* Fully quality path name for corefx.tools

* testing removing osgroup from groovy on Windows

* Remove OSGroup from config.json

* revert change to groovy

* return os property

* Try changing osgroup to hostos

* hack around osgroup setting

* Fix passing groups

* Add system.collections which was missing from system.console

* Add some missing references for Unix build

* Add references for unix

* Unix support changes

* Fix typo in system.net.http

* Fix typo in system.threading.overlapped

* no ref project available for system.reflection.metadata

* Unix changes

* Exclude system.memory

* diagnostics.fileversioninfo was missing reference to Path

* Unix changes

* Fix reference name

* Add reference for unix

* Move source file to windows only

* Disable building system.threading.overlapped


Commit migrated from https://github.com/dotnet/corefx/commit/a07f6aac5309b30154d0fe00debe7f9979600ea1
2016-12-10 11:29:31 -08:00
Eric St. John e65e1b8a60 Binplace NETCoreApp package contents
Set up a separate destination for package contents for NETCoreApp since
it won't necessarily be everything that we build.

Libraries were determined as follows:
1. If its currently in NETStandard.Library its in.
2. If it was a ref in NETCoreApp before its in.
3. If its part of the reference closure for 1 or 2 its in.
4. If it was a lib only in NETCoreApp its in, but only lib.
5. If its part of the lib closure for 1-4 its in, but only lib.


Commit migrated from https://github.com/dotnet/corefx/commit/5cef65d8a3363592d06caf2bc4e36e5dc2a3a5b4
2016-12-08 09:58:44 -08:00
Eric Mellino 966c8e0251 [dev/eng] Overhaul ref and src project references, and start binplacing things (dotnet/corefx#14062)
* Used GenerateBuilds.ps1 script to generate the P2P references from the project.json files in ref

* Update refs to build with ProjectReference's instead of package references

This deletes all the ref\project.json files and instead adds ProjectReference
to other refs that are used to build.

There is only one exception which was System.Net.Http which needed a project.json
to get the net46 targeting pack otherwise everything else is P2P.

* Update Reflection.Emit contracts to support latest version of contracts

* Add depproj to get windows.winmd support when building refs

* Special handle System.Net.Http ref project to deal with net46 targeting pack

* Moved CLSCompliant to SecureString ctor instead of type

* Add P2P reference from S.IO -> S.R.Extensions

* Add additional ProjectReferences to more ref projects after master rebase

* Start binplacing ref assemblies and disable rest of build

* Simplify all ref projects to only build for netcoreapp (default target group)

* Only binplace netcoreapp refs

* Allow Reference's to be resolved from targeting pack directories

* Use GenerateBuilds.ps1 to convert src project.json refs to References

* Allow overriding stuff in Tools

* System.Runtime src project building against targeting pack

* Re-purpose GenerateBuilds.ps1 to re-write src references

* Only build csproj files in src.builds

* More custom stuff in GenerateBuilds.ps1

* Binplace all netstandard assemblies into netcoreapp as well.

* Add project.json to System.Collections.Immutable

* More custom generatebuilds.ps1 stuff

* Normalize csproj files before running GenerateBuilds.ps1

* Better match the replaced  'None Include="project.json"' line.

* Another missing project.json inclusion in csproj

* Remove ExcludeFromCodeCoverageAttribute from Immutable project

* Include another project.json

* Add some P2P references

* Add another project.json include

* Disable Http.Rtc project.

* Disable two more UWP projects and another P2P ref"

* More Cleanup

* Run GenerateBuilds.ps1 to re-write all nuget refs as <Reference>'s

* Binplace netstandard runtime assemblies to netcoreapp as well.

* Re-hook all src projects into build.proj

* Fix bin clashing caused by bad ProjectReference metadata

* Use 'copy' instead of 'cp' in init-tools.cmd. Add copying to init-tools.sh as well.

* Correct casing of windows.winmd in depproj

* Disable System.Memory.csproj outside of Windows

* Fix unix exclusion of System.Memory, and include vbproj files

* Fix VisualBasic compilation

* There was an extra definition of MemberTypes that was internal to the
  assembly. It's now defined in System.Private.CoreLib, so I deleted the
  extra here.
* There was an invalid call in Operators.vb that I fixed.

* Add additional project references and configuration fixes after rebase

* Fix build warnings in ref projects

* Fix build warnings in src projects


Commit migrated from https://github.com/dotnet/corefx/commit/a9f6d7d749f9946cc6b10c50b54bcae0e43e859e
2016-11-29 18:01:35 -08:00
Ian Hays c59254767c Add SignatureDescription source and tests.
Modifies ported tests from Mono and ported source from Desktop to work in Core and follow our style.


Commit migrated from https://github.com/dotnet/corefx/commit/0dcbfe6325d82aac772553c1298472bb8bfd4b74
2016-11-23 15:41:39 -08:00
dotnet-bot e62ae076d5 Port SignatureDescription source
Commit migrated from https://github.com/dotnet/corefx/commit/25454ad6e8858afee21c9e890eeb08b18aa267fa
2016-11-23 10:34:22 -08:00
Santiago Fernandez Madero 8fc5be59d3 Port PKCS1MaskGenerationMethod type to netstandard2.0 (dotnet/corefx#13866)
* Port PKCS1MaskGenerationMethod to netstandard2.0

Commit migrated from https://github.com/dotnet/corefx/commit/827f47f48df00923b802427486b062d62dd243b5
2016-11-22 20:23:23 -08:00
Steve Harter b2f3576503 Merge pull request dotnet/corefx#13740 from steveharter/AddAlgorithmMembers2
Add AsymmetricAlgorthm.ToXmlString, FromXmlString, and other missing members

Commit migrated from https://github.com/dotnet/corefx/commit/c0df023a72954f72ab42387cf511f16f1a0f1db6
2016-11-22 14:50:06 -06:00
Steve Harter 86950648c1 AsymmetricAlgorithm.ToXmlString, FromXmlString and other missing members
Remove Xml support due to cyclic assembly dependencies


Commit migrated from https://github.com/dotnet/corefx/commit/88ec4ba8432c1444fc43ecba5bd6d70f3d41d103
2016-11-22 13:04:07 -06:00
Alexander Radchenko 5e41aa966b Fix two tests in System.Security.Cryptography.Rsa.Tests.System.Security.Cryptography.Algorithms.Tests on Windows 2012 server (dotnet/corefx#13883)
Commit migrated from https://github.com/dotnet/corefx/commit/0b976c570f87e31addc32e67f12589d4ce15287a
2016-11-22 10:35:57 -05:00
Steve Harter d9e70aea20 AsymmetricAlgorthm.ToXmlString, FromXmlString, and other missing members
Commit migrated from https://github.com/dotnet/corefx/commit/6b0ddc47927c7cb60ab116c1bed6cf14195c6c46
2016-11-22 09:28:49 -06:00
dotnet-bot f7a208ba73 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24721-04, beta-24721-02, beta-24721-00, beta-24721-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/bd9f87de00538052b6cf4c4faa261c0d22e04f90
2016-11-21 23:52:28 +00:00
Alex Perovich bd1e1fc886 Add FeedbackSize to SymmetricAlgorithm (dotnet/corefx#13786)
Fixes dotnet/corefx#12368

Commit migrated from https://github.com/dotnet/corefx/commit/927f4ac218c305408af316cc92f131629527cb3e
2016-11-21 15:40:11 -08:00
Steve Harter 3d9466555b Add new modifier to static Create methods in S.S.C.Algorithms contract (dotnet/corefx#13815)
Commit migrated from https://github.com/dotnet/corefx/commit/ad0c8cd828c5975991107487a5fed8f578892a2a
2016-11-18 15:38:01 -06:00
Stephen Toub 365f1cd4c5 Merge pull request dotnet/corefx#13790 from dotnet-bot/master-UpdateDependencies
Update CoreFx, ProjectNTfs to beta-24717-03, beta-24718-00, respectively (master)

Commit migrated from https://github.com/dotnet/corefx/commit/364418b3ef0188f5b4f84bce5743541781a190ee
2016-11-18 07:02:57 -05:00
Alex Perovich 098b725bc0 Make abstract methods virtual per ns20 (dotnet/corefx#13787)
Fixes dotnet/corefx#13783

Commit migrated from https://github.com/dotnet/corefx/commit/b314d06bfba44aea825816758bb61aa5bf1bb1af
2016-11-17 22:48:05 -08:00
Tarek Mahmoud Sayed 4b3c115acc Expose HMAC.BlockSizeValue (dotnet/corefx#13769)
* Expose HMAC.BlockSizeValue

This is a protected property which can reflect only on the extended classes.

* Remove redundant code

* Remove the comment

* Dispose the objects after testing it

* Make the new test compile and run with the current TargetGroup

* Expose HMAC.BlockSizeValue

This is a protected property which can reflect only on the extended classes.

* Remove redundant code

* Remove the comment

* Dispose the objects after testing it

* Make the new test compile and run with the current TargetGroup

* Remove project item which already added by other PR


Commit migrated from https://github.com/dotnet/corefx/commit/937bce9d567c4bcf0b6d8ae968c602ade1214243
2016-11-17 21:03:33 -08:00
dotnet-bot 17b9d2afa6 Update CoreFx, ProjectNTfs to beta-24717-03, beta-24718-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/dbccc58ac0186bbcf9fe0445b255b33ea583ff56
2016-11-18 04:16:59 +00:00
Steve Harter 65988bb382 Add CryptoConfig support (dotnet/corefx#13734)
Commit migrated from https://github.com/dotnet/corefx/commit/9d42f078b13a8f8a437914094699ab80bfd1fd42
2016-11-17 17:22:55 -06:00
dotnet-bot 709886b4f3 Update CoreClr, CoreFx, ProjectNTfs to beta-24717-03, beta-24717-02, beta-24717-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/67690bd0f2bff10db494e829755fffa667184600
2016-11-17 14:43:31 -05:00
John Chen eee1d81804 Merge pull request dotnet/corefx#13440 from JohnChen0/master
Replace APISet imports with Win32 imports on Windows

Commit migrated from https://github.com/dotnet/corefx/commit/c55435befeb372707558a5c441b3c64bf243948f
2016-11-16 09:43:40 -08:00
dotnet-bot f016cc9f63 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24716-02, beta-24715-03, beta-24716-00, beta-24716-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/75c2a6a9154044fe61e913db297e34a47f588994
2016-11-16 09:23:13 +00:00
Sepideh Khoshnood e724acf5c9 Merge pull request dotnet/corefx#13664 from sepidehMS/PortFewCryptoMembers
Port System.Security.Cryptography.*KeyExchangeFormatter.Rng

Commit migrated from https://github.com/dotnet/corefx/commit/cf28254643199ac3d26af622c078d77a899322a2
2016-11-15 14:26:33 -08:00
sepidehMS 34c3a52b04 Address feedback
Commit migrated from https://github.com/dotnet/corefx/commit/03f482cef93ab9d6f734a04614d43e85c29e5b5a
2016-11-15 12:09:00 -08:00
sepidehMS eddb1e1e0a Port few System.Security.Cryptography members
Commit migrated from https://github.com/dotnet/corefx/commit/545e5fddd9bba09b203d2e400bdee9354b42cbf0
2016-11-15 10:46:25 -08:00
John Chen (CLR) 6f8034b562 Merge latest from 'master' and resolved conflicts
Commit migrated from https://github.com/dotnet/corefx/commit/b9b53c8efa4b259312f8997c86dcfb11083f88ab
2016-11-15 09:11:17 -08:00
Stephen Toub 482458afd0 Update CoreFx, External, ProjectNTfs to beta-24715-02, beta-24715-00, beta-24715-00, respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/9e8050a2bdca9aeff16bd8e704f380e86813821d
2016-11-15 11:43:51 -05:00
Dan Moseley 79856d3874 Add missing RSA members (dotnet/corefx#13614)
* Add missing RSA members
* Add missing P2P necessary because the tests are in two projects


Commit migrated from https://github.com/dotnet/corefx/commit/33c2321e69690ab03b3773a526696791b9d52acd
2016-11-14 14:07:42 -08:00
Dan Moseley 3db6155aaa Add ProduceLegacyHmacValues (dotnet/corefx#13612)
* Add ProduceLegacyHmacValues

* CR feedback

* CR 2


Commit migrated from https://github.com/dotnet/corefx/commit/8bdf055fa5974a0c43bce3182239bde00b440e99
2016-11-14 13:15:10 -08:00
danmosemsft 07390502fa CR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/78ab1a745933d31d61e41a4c14d08baa561179cd
2016-11-14 09:33:59 -08:00
dotnet-bot bb01d482d2 Update CoreFx, ProjectNTfs to beta-24714-01, beta-24714-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/3342536d369d922f14cc1a9c0fb91b4440a6967e
2016-11-14 15:46:09 +00:00
Stephen Toub 8fc3b842d0 Merge pull request dotnet/corefx#13600 from mellinoe/enable-apicompat-unix
Re-enable ApiCompat for non-Windows builds.

Commit migrated from https://github.com/dotnet/corefx/commit/7dfa1331ed076392b6a27e4cad1fcc95a85d86fa
2016-11-12 07:54:46 -05:00
danmosemsft 713551bee7 Add missing RSA members
Commit migrated from https://github.com/dotnet/corefx/commit/02fcf7e7120ab7ffe7b820054a5408e747d20cc5
2016-11-11 16:37:15 -08:00
Eric Mellino afc903aa3e Re-enable ApiCompat for non-Windows builds.
This was failing because the baseline files had different casing than expected.


Commit migrated from https://github.com/dotnet/corefx/commit/9d1fc8ed60028b0eb824199c2bad8fc3678bd09f
2016-11-11 13:00:57 -08:00
Jose Perez Rodriguez 71fc69fd49 Moving part of System.Security.Permissions down to System.Runtime.Extensions (dotnet/corefx#13476)
* Moving part of System.Security.Permissions down to System.Runtime.Extensions

Commit migrated from https://github.com/dotnet/corefx/commit/768e18c53d1e218d77914c207dcb2ba8636397e0
2016-11-11 11:59:21 -08:00
dotnet-bot a02764567f Update CoreFx to beta-24711-02
Commit migrated from https://github.com/dotnet/corefx/commit/3709a83afb9ffb8aa05b6c6f5561859527226595
2016-11-11 15:52:34 +00:00
dotnet-bot b9b36cbb7a Update CoreFx, External, ProjectNTfs to beta-24711-01, beta-24711-00, beta-24711-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/2ab7ba374f98bb0c3785435169d9b568c5f24eba
2016-11-11 06:19:20 +00:00
John Chen (CLR) e6544e45f9 Reorganize DLL imports
Removed obsolete constants from Interop.Libraries.cs, and moved
files under src/Common/src/Interop/Windows to proper locations.


Commit migrated from https://github.com/dotnet/corefx/commit/aff71a53a57a39cbcaa7110c7dc1124f0700c13d
2016-11-10 16:04:46 -08:00
dotnet-bot d1fb8ddc0f Update CoreFx, External, ProjectNTfs to beta-24710-01, beta-24710-00, beta-24710-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/0a2361383fda2720c5eada8c80d24850a9d61246
2016-11-10 14:31:27 -08:00
Dan Moseley e6617e30b3 Revert param names (dotnet/corefx#13521)
Commit migrated from https://github.com/dotnet/corefx/commit/2c32fb1c1a14a054609a6f1a94927eb4e13bdd5e
2016-11-10 07:34:02 -05:00
Jeremy Kuhne f05a8c4187 Move IO types into System.Runtime.Extensions (dotnet/corefx#13451)
Move all of System.IO into System.Runtime.Extensions.
Finish moving System.IO.Primitives into System.Runtime.

Commit migrated from https://github.com/dotnet/corefx/commit/55eb2f16c4ccdb6e4c50a89af5c14ac843239901
2016-11-09 14:44:50 -08:00
dotnet-bot c5bd931c2d Update CoreFx to beta-24709-02
Commit migrated from https://github.com/dotnet/corefx/commit/68a1670fc7b9c9419f5d3100ac9a4347874aeef8
2016-11-09 15:38:49 +00:00
dotnet-bot d6f29b0517 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24709-02, beta-24709-01, beta-24709-00, beta-24709-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/8a5167a13e1ae72cff71285c49f5f84e10a64248
2016-11-09 09:19:32 +00:00
dotnet-bot c561086403 Update CoreClr, CoreFx to beta-24709-01, beta-24708-05, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/bafbeec4841285834d31bee295c225a61de2b780
2016-11-09 01:10:38 +00:00
Jeremy Barton 877823c90b Merge pull request dotnet/corefx#13472 from bartonjs/more_static_dsa_tests
Add more static DSA tests, including NIST CAVP test vectors.

Commit migrated from https://github.com/dotnet/corefx/commit/f0387eccbf24ebd3c0a8e9921d99cc88a93d49a2
2016-11-08 14:19:56 -08:00
Stephen Toub 27794c3e5c Update corefx to beta-24708-03
Commit migrated from https://github.com/dotnet/corefx/commit/9f9c2885208315215b7e328ea399f13c83d1b8a7
2016-11-08 17:10:15 -05:00
dotnet-bot b740f1d2bd Update CoreClr, CoreFx, External, ProjectNTfs to beta-24708-02, beta-24707-01, beta-24708-00, beta-24708-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/b255d0bf4df94eb383c1bb4b42b1bfe9b64f3238
2016-11-08 17:07:45 -05:00