Commit Graph
422 Commits
Author SHA1 Message Date
8to5Developer bc3a5de554 Improve code coverage of System.IO.FileSystem.AccessControl (35.7%) (dotnet/corefx#20680)
* -Added new classes to handle the unit tests for the following libraries:
 FileSysyemAuditRule.CS
 DirectoryObjectSecurity.CS
-Added new unit tests to the 'FileSystemAclExtensionsTests.cs' class

* updated the files according to the suggested code standards for test cases.

* updated the file according to the suggested code standards.

* Updated some of the test cases and ran the CodeFormatter tool.

* Removed the invalid terms in the code.


Commit migrated from https://github.com/dotnet/corefx/commit/12d25b0445f67ac299de5abb2af7af767c135c88
2017-06-12 18:23:15 -07:00
Eric St. John 67a1a83adf Update configurations
Commit migrated from https://github.com/dotnet/corefx/commit/a152026c63c03dda2e470b780ecb4b3aa9671e11
2017-05-19 10:17:08 -07:00
Eric St. John e02c675179 Increment versions post 2.0
Commit migrated from https://github.com/dotnet/corefx/commit/6c5f87319a4785499008c95b2ff5e7f13a413d22
2017-05-16 14:12:16 -07:00
Viktor Hofer 69408edf6d Deactivating System.IO.FileSystem.AccessControl tests on uap/uapaot (dotnet/corefx#19750)
* Deactivating ACL tests on uap/uapaot

* Add reason why disabling tests

* Disabling tests for uap/uapaot

* Changed project configs in test


Commit migrated from https://github.com/dotnet/corefx/commit/6fc97cfbc24d97a2d4843cfc10db28d8bfc2141d
2017-05-16 01:31:39 -07:00
Wes Haggard 69104e87e0 Revert "Remove some assemblies from some OS shared frameworks"
Commit migrated from https://github.com/dotnet/corefx/commit/55e85fa5da49c762645063c3771cbcee7eec1984
2017-05-15 09:40:00 -07:00
Sepideh Khoshnood 9214b25a4f Add nice messages for assemblies with autogenerated PNSE (dotnet/corefx#19506)
* Add nice messages for assemblies with autogenerated PNSE

* Fix failing builds

* Apply feedback

* Temporary workaround for Microsoft.Win32.Registry which needs using System statement

* Add new resource files

* Temporary workaround for System.Security.Cryptography.Cng which needs using System statement on Unix platforms

* Update BuildTools version and use resource strings for all PNSE messages

* Fix builds

* Fix typo


Commit migrated from https://github.com/dotnet/corefx/commit/00b2a853429c896eb973ffc1bbff04b186ab5d07
2017-05-09 20:16:50 -07:00
Wes Haggard 3641ab1a51 Remove some assemblies from some OS shared frameworks
A number of assemblies are only needed for implementation closure
on some OS's so for those lets only include them on the OS that
needs them.


Commit migrated from https://github.com/dotnet/corefx/commit/c5db9a803ee1eb2c9c33f8101a3d1692c0158317
2017-05-03 16:15:57 -07:00
Eric St. John f23c4cfc5d Update project configurations
Commit migrated from https://github.com/dotnet/corefx/commit/d4e7a1d43b74b8e16f0fe3dc0c69965dff679c42
2017-04-24 15:50:22 -07:00
Eric St. John 809b1ef04a Remove use of IsDesktopFacade
Commit migrated from https://github.com/dotnet/corefx/commit/7a7bf2e0cb40168c8819d84c66c99c8984746e02
2017-04-24 15:46:30 -07:00
Eric St. John 4b59989faa Remove NotSupportedOnTargetFramework
NotSupportedOnTargetFramework was used to explicitly make a package fail
to install (due to ref/lib guardrails check) where it would otherwise
succeed.  This is no longer serving its purpose since NuGet removed the
guardrails check.  It's also creating a less desireable failure mode:
FileNotFound vs PlatformNotSupported.


Commit migrated from https://github.com/dotnet/corefx/commit/e7533ab2c24728a5937bfb68609e183833359b27
2017-04-18 13:28:59 -07:00
Eric St. John d0cfa6fdb0 Update project configurations
Commit migrated from https://github.com/dotnet/corefx/commit/e15f244ad68b70444ad77889e5f92043d245bcdb
2017-04-18 13:28:55 -07:00
Eric St. John 08a06887a3 Re-enable package validation and clean up package content
Commit migrated from https://github.com/dotnet/corefx/commit/72002dbb7e3e657adaeb002feca0399d9667a54b
2017-04-18 13:28:50 -07:00
Eric St. John d47f03fb56 Explicitly list paths for harvesting
Commit migrated from https://github.com/dotnet/corefx/commit/ec4d6f868eb6497216791fc158173e7123d6e73f
2017-04-18 12:20:30 -07:00
Daniel Harvey 252cdc5e95 Bulk updates of tests for AssertExtensions (dotnet/corefx#18491)
Bulk update to AssertExtensions.Throws for AOT support. This doesn't disable Assert.Throws.

Commit migrated from https://github.com/dotnet/corefx/commit/b43b4df2e0e2182154bb0f425cb4a61bc1269828
2017-04-18 09:52:02 -07:00
Wes Haggard 4185183e8c Updates how we define which key an assembly uses
Now instead of Use*Key a project can instead define the assembly key
in the project (genreally the common dir.pops for a project) using
the AssemblyKey property. The accepted values are Open, ECMA, MSFT,
Test.

This change allows for a repo to set the default key they want to use
for projects. In corefx we have switched the default to use the Open
key instead of the old BuildTools default of MSFT key.

As part of this update we are explicitly setting the AssemblyKey in
all the library projects (although it is really only necessary for
projects that aren't the default).

Also with this change we are updating all the new libraries that have
not yet shipped stable (compared to our 1.1 release) and making them
use the Open key. Which means that for prerelease dependencies there
might be some binary breaking changes to consume.

The following libraries ahven't shipped so there key is being
changed from MSFT to Open:
Microsoft.XmlSerializer.Generator
System.CodeDom
System.Configuration.ConfigurationManager
System.Data.Odbc
System.DirectoryServices
System.DirectoryServices.AccountManagement
System.DirectoryServices.Protocols
System.IO.Ports
System.Json
System.Memory
System.Net.HttpListener
System.Net.Mail
System.Net.ServicePoint
System.Net.WebClient
System.Net.WebProxy
System.Private.Xml
System.Private.Xml.Linq
System.Security.Cryptography.Xml
System.Security.Permissions
System.Transactions.Local
System.Web.HttpUtility


Commit migrated from https://github.com/dotnet/corefx/commit/ac09a797d09502ebab61f7167bb856846602e1e6
2017-04-10 12:51:50 -07:00
Alex Perovich 638dce97a5 Add this modifier to S.IO.FS.Acl extensions (dotnet/corefx#17903)
Fixes dotnet/corefx#15243

Commit migrated from https://github.com/dotnet/corefx/commit/d3329e98ffd5421f7a25c59f9d3be6735bc06505
2017-04-04 18:14:09 -05:00
Viktor Hofer 2e4b63d6f0 Omissions in types supported by both Desktop and Core - System.Security.AccessControl.AuthorizationRuleCollection (dotnet/corefx#17604)
* AuthorizationRuleCollection inheritance changed to ReadOnlyCollectionBase

* fixed link path

* refs for AuthorizationRuleCollection adjusted

* Included refs and updated ApiCompat baseline

* Indentation fixed in csproj

* AuthorizationRuleCollection inheritance changed to ReadOnlyCollectionBase

* fixed link path

* Included refs and updated ApiCompat baseline

* updated baseline


Commit migrated from https://github.com/dotnet/corefx/commit/922b7021d75c5795a3051132430238c92f2a934f
2017-03-29 02:15:23 +02:00
the-dwyer dd8e887b5d Improve code coverage for System.IO.FileSystem.AccessControl from 2.3% to 8.7% (dotnet/corefx#15815)
* Improve code coverage for System.IO.FileSystem.AccessControl

* Added check on parameter names for ArgumentNullExceptions and only passing in one null parameter

* add tests for gets and sets that do not throw exceptions

* renamed tests with returns valid object and removed set tests

* use temp directory and file

* use temp directory and file

* use TempDirectory and TempFile from Common code

* remove reference that is not needed

* call extension method from object


Commit migrated from https://github.com/dotnet/corefx/commit/ca5e2ecb33359a4c55ed7407ecc0b49bc78e3760
2017-02-23 11:38:13 -08:00
Dan Moseley 44ac2dd747 Remove dead string resources (dotnet/corefx#16284)
Commit migrated from https://github.com/dotnet/corefx/commit/6b4423f47d5048b4c1437aaefe87859b258c89b7
2017-02-18 06:01:59 -08:00
Eric StJohn 1a40c1b651 Merge pull request dotnet/corefx#16191 from ericstj/packages
Re-enable packages for BuildAllConfigurations

Commit migrated from https://github.com/dotnet/corefx/commit/9d1d63fb791e80399b008bc7ed0801fbb49c6e0b
2017-02-16 17:44:52 -05:00
Wes Haggard eb1f0e0530 Remove all .builds files under pkg/ref/src/tests library folders
Commit migrated from https://github.com/dotnet/corefx/commit/b60cbe5a2edb5ef3b88a7738507822d13d125d62
2017-02-15 16:32:03 -08:00
Eric St. John ba03538d7c Make pkgprojs reference *proj rather than builds
Commit migrated from https://github.com/dotnet/corefx/commit/0ede35ef512ac16b5dabe8c6b7b3d7d54c1c0ddb
2017-02-14 09:52:02 -08:00
Eric St. John cc939555ea Remove pkg .builds files
Commit migrated from https://github.com/dotnet/corefx/commit/361a62675ad474ac7a6c593becbc35f2cf48e6a3
2017-02-14 09:52:01 -08:00
Tarek Mahmoud Sayed 77cad86b1e Remove versioned configuration from test projects (dotnet/corefx#15879)
The changes onclude some other minor clean up in the test project files

Commit migrated from https://github.com/dotnet/corefx/commit/62212cca900081173fce70991c3a0b30393994a3
2017-02-06 13:52:11 -08:00
Wes Haggard f2fd0ea78a Update Solution files to use windows path slashes.
Commit migrated from https://github.com/dotnet/corefx/commit/f8ba7c412d06d8e4d4e6278502d4dd771a0f10bb
2017-02-03 16:31:48 -08:00
Eric St. John c2dc83e56a Sync BuildConfiguration with project PropertyGroups
Commit migrated from https://github.com/dotnet/corefx/commit/758a0e16e8c5af8741d14043f4bef1d15a79a377
2017-02-03 08:34:24 -08:00
Tarek Mahmoud Sayed 7395af32ad Enable compiling the test projects against the configuration (dotnet/corefx#15743)
* Enable compiling the test projects against the configuration

The tests were compiled using the vertical configuration and not the best configuration picked from Configurations.props. this change is fix that and have all test projects configured accordingly.
This change ensuring netcoreapp runs successfully and we'll have another rounds later for other configurations like netfx, UAP...etc.

* Fix openssl test project on Linux distros

* Update the project configurations

* Update VS solution files

* update solution files


Commit migrated from https://github.com/dotnet/corefx/commit/e79912f8b77bc22abfd85e94b74c06e5d99e8381
2017-02-02 17:54:40 -08:00
Wes Haggard c4e17cd362 Update all solution files using solution generation tool
Commit migrated from https://github.com/dotnet/corefx/commit/a822a266821cf79df96cdd77d2a3d44f1510d9a0
2017-02-02 15:44:45 -08:00
Wes Haggard 4effd546bc Add ProjectGuids for all projects and empty configs for projects without BuildConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/d00bb5d18ac91189b12ed2fb7131d0ff62da9034
2017-02-02 15:02:57 -08:00
Tarek Mahmoud Sayed eb4147f182 Stop bin placing facade assemblies to the refs for netfx builds (dotnet/corefx#15700)
we were bin placing the facade assemblies to the ref folder during netfx build. this was causing a problem while building the tests as we'll get some types defined in the referenced facade assemblies and core libs.

Commit migrated from https://github.com/dotnet/corefx/commit/6c2087f755e240758150c6c692d5d8ddc67f2832
2017-02-01 16:34:49 -08:00
Eric St. John 60359ed705 Make netfx build work
This fixes all src and ref projects to build when TargetGroup=netfx.


Commit migrated from https://github.com/dotnet/corefx/commit/44df137ce0a9e38883d8f9a1149bdf01e54c8956
2017-01-31 18:43:08 -08:00
Eric St. John 2ef0e9bfd8 Sync PropertyGroups and BuildConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/7e4792af39bd7faba20dd3390b411f3afaee3c66
2017-01-30 13:23:56 -08:00
Eric St. John 3a15f3acd6 Fix src projects for appropriate ref folder
After the change to use the appropriate references for a configuration
we needed to make sure that every library has a versionless targetgroup
so that it can build in the source build scenarios without requiring
external packages from NuGet.

For any library that is part of netstandard, its implementation should
not build against netstandard

For any library that is part of the imlpementation closure of netstandard,
its implementation should not build against netstandard (else we'd have cycles).

OpenSSL must keep its netstandard ref, however it has NETCoreApp specific API
dependencies. See https://github.com/dotnet/standard/issues/186.  As such we
need to cross-compile both src and ref for NETCoreApp.  I've moved the not-
supported assembly to be the 'netstandard' implementation.


Commit migrated from https://github.com/dotnet/corefx/commit/28097ca87cc2e8bcf7760f05732464b2c00eeaa4
2017-01-30 11:14:08 -08:00
Eric St. John d8824893ff Fix ref configurations for appropriate ref folder
For any ref that can build on top of NETStandard it should.


Commit migrated from https://github.com/dotnet/corefx/commit/3733239be954dcd9179df7d196f8a3c95e3b868b
2017-01-30 08:39:35 -08:00
the-dwyer 1561c15c2a Improve code coverage for System.IO.FileSystem.AccessControl (dotnet/corefx#15375)
* Improve code coverage for System.IO.FileSystem.AccessControl

* Added check on parameter names for ArgumentNullExceptions and only passing in one null parameter

Commit migrated from https://github.com/dotnet/corefx/commit/b036d7a59620ad3812ca966f634e827a745f4475
2017-01-23 10:13:00 -08:00
Jose Perez Rodriguez dd708b105d Adding missing Configurations.props for refs and fixing the existing ones (dotnet/corefx#15291)
Adding missing Configurations.props for refs and fixing the existing ones

Commit migrated from https://github.com/dotnet/corefx/commit/2847e0ec9f7c9ac42d44d2bc8c6fd39e504b7a9b
2017-01-19 16:38:55 -08:00
Eric St. John a1370e9d86 Add packages to NETCore.App to complete closure
Commit migrated from https://github.com/dotnet/corefx/commit/e226ab750e3731d129ad704307af7b74b0fa108b
2017-01-18 21:10:22 -08:00
Karthik Rajasekaran 4bbdadd88a Update project configuration and sln files (dotnet/corefx#15182)
* Add ValidateVSConfigurations

* Update project config and sln files.


Commit migrated from https://github.com/dotnet/corefx/commit/f6ab339f446e37505f93ef9f430801fa1dcc05b8
2017-01-17 14:31:23 -08:00
Alex Perovich 573869c47f Automated update of ns1.7->ns2.0 and nca1.1->nca2.0
Commit migrated from https://github.com/dotnet/corefx/commit/1f8b5264a8156f91c48b2dc344d5410ee6f574cb
2017-01-10 16:20:42 -08:00
Jose Perez Rodriguez c65aa91391 [dev/eng] Sorting and trimming Reference items in csprojs (dotnet/corefx#15035)
Sorting and trimming Reference items in csprojs


Commit migrated from https://github.com/dotnet/corefx/commit/d1a6358e7a6b1bc04223885c860701209d52a7e8
2017-01-10 13:24:35 -08:00
Eric Mellino dd3d24027d Add Configurations.props files for test projects, include tests in build.proj (dotnet/corefx#14663)
* [WIP]Created src\tests.proj which is mostly building all tests

* Convert test project .builds to Configuration.props

* Fix test paths in targetingpack.props, move test-runtime.

* Move test-runtime under external.
* Rename RuntimeDir->RuntimePath in targetingpacks.props and
  Xunit.Runtime.depproj.
* Remove test-runtime project.json from the SupplementalTestData list in
  dir.targets.

* Remove XUnit.Runtime.depproj from tests.proj

* Convert test .builds files to Configuration.props.

* Revert "Convert test project .builds to Configuration.props"

This reverts commit dotnet/corefx@1efc4d9a02.

* Fix compilation error in System.Collections.Concurrent.Tests

* Fix condition in System.Collections ref project

* Fix two more Collections test project issues

* Add Configuration.props for System.Collections ref

* Fix TargetGroup conditions in System.Collections.Tests.csproj.

* Fix compilation problems with NameResoltion.Pal.Tests.

* Fix compilation errors in SqlClient Stress tests

* Fix IO.Compression.Performance tests compilation

* Fix compilation and configurations of System.Net.Http.Unit.Tests.csproj.

* Fix compilation issues in System.Private.Xml.Linq tests

* Disable XsltScenarios.Tests project, like it was before.

* Fix missing DefineConstants for System.Linq ref project.

* Fix compilation of System.Net.Primitives.Pal.Tests.csproj

* Fix compilation of System.Net.Primitives.UnitTests.Tests.csproj

* Fix compilation of System.Security.Cryptography.Cng.Tests.csproj.

* Fix compilation of System.Net.Primitives reference project

* Fix compilation of System.Net.Security ref project

* Fix compilation of SYstem.Net.Security.Tests.csproj

* Fix configuration of X509Certificates ref project

* Fix compilation errors in System.Net.Http.Unit.Tests.csproj

* Fix Common.Tests.csproj

* Fix System.Diagnostics.Debug.Tests.csproj

* Fix Microsoft.Win32.Registry.Tests.csproj

* Add runtime.native.System.Data.SqlClient.sni to external project

* Fix System.Diagnostics.TraceSource.Tests.csproj

* Fix System.IO.Compression.Performance.Tests.csproj

* Move supplemental test data into test-runtime/project.json

* Fix System.IO.FileSystem.Watcher.Tests.csproj

* Fix System.IO.FileSystem.Tests.csproj

* Fix System.IO.Pipes.AccessControl.Tests.csproj

* Fix System.IO.MemoryMappedFiles.Tests.csproj

* Fix System.IO.Pipes.Tests.csproj

* Fix System.Json.Tests.csproj

* Add missing supplemental test data for net security tests

* Fix resource names in System.Xml.XPath.XDocument.Tests.csproj

* Fix Assembly.Location test case

* Fix assembly loading paths in DefaultLoadContextTest.cs

* Fix issues in System.Runtime.Loader.Tests.csproj

* Fix RootNamespace in ResourceManager tests

* Mark OpenSSL tests as unsupported on Windows

* Fix RootNamespace in System.Xml.XPath.Tests.csproj

* Fix RootNamespace in System.Xml.XPath.XmlDocument.Tests.csproj

* Fix System.IO.Compression.Tests.csproj

* Add missing Configurations.props files for System.Net projects

* Fix compilation issues in WinHttpHandler tests

* Add fixes and a workaround for Linq.Expressions tests

* Add workaround for System.Runtime.Tests

* Use extension methods explicitly in Ref.Emit tests

* Hook up test projects into build

* Fix build configuration of Crypto.Primitives for netcoreapp

* Enable VB tests outside Windows

* Enable Mail tests outside windows

* Don't run Unsafe tests outside windows

* Don't build Unsafe tests outside Windows

* Don't build WebServer project outside of Windows.

* Fix corerun path for Unix tests.

* Fix casing of 'Native' directory in NETCoreApp private pkgproj

* Remove runtime-specific stuff from Xunit.Runtime.depproj

* Move tests into a separate project ('tests.msbuild') which isn't built in build.proj

* Remove duplicate types from NameResolution.Pal tests

* Skip tests in a project if there is no compatible configuration.

* Include internal socket types only on Windows in NameResolution tests

* Manually fix S.R.InteropServices configurations

* Rename tests.msbuild -> tests.builds

* Manually fix System.Text.Encoding.Tests.csproj configuration

* Manually fix System.Threading.Tests configuration

* Manually clean up System.Runtime.Tests.csproj

* Fix System.IO.FileSystem.Tests configurations

* Manually fix System.Globalization.Tests configurations

* Manually fix System.IO.Pipes.Tests configurations

* Manually fix System.IO.Compression.Tests configurations

* Manually fix System.Runtime.Extensions.Tests configurations

* Manually fix System.IO.MemoryMappedFiles.Tests configurations

* Manually fix S.Diagnostics.Process.Tests configurations

* Manually fix System.ComponentModel.TypeConverter.Tests configurations

* Misc PR feedback.

* Use HostRunnerName instead of HostRunner in Process tests

* Fix configurations for S.ServiceProcess.ServiceController.Tests

* Revert to using ConfigurationErrorMsg to check if tests should be skipped.

Configuration still defaults to 'Debug' even if there is no valid configuration.


Commit migrated from https://github.com/dotnet/corefx/commit/2c0352ec38f9f6f602ae819f0cafb02c1908f137
2017-01-03 13:27:19 -08:00
Eric Mellino da3c47cf33 Port first third of tests to build against the targeting pack / runtime (dotnet/corefx#14450)
* Change first third of test projects to compile against targeting pack.

* Add supplemental test data into an external project


Commit migrated from https://github.com/dotnet/corefx/commit/65780ef192c4f2214e65816e7ac90899be6a5557
2016-12-12 14:19:07 -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 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
Eric St. John 34d56a4c14 Update stable dependencies to latest stable
This reduces total download of packages.


Commit migrated from https://github.com/dotnet/corefx/commit/d6fa06e13d29ce9931c395c729d5e61441c02ee8
2016-11-22 11:03:12 -08: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
Jose Perez Rodriguez c794456414 Re-add test configurations that were not being tested by CI anymore
Commit migrated from https://github.com/dotnet/corefx/commit/f900522981c001eb02407c7083eb7d3ee3831dbf
2016-10-27 11:27:08 -07:00
Eric St. John 4a6c9bbb81 Update all projects to last stable packages
And remove imports.

Now that we have netstandard packages that support all targets we should
use them.  This means we don't need imports.

I opted to use the stable packages rather than the LKG ones since this
will reduce churn in the product assemblies.

This has the added benefit of reducing download time for the repo.


Commit migrated from https://github.com/dotnet/corefx/commit/a330f3651c999b241d55ca25d9baa7fb0f247c5c
2016-10-21 06:32:53 -07:00
Karthik Rajasekaran 9255a2e649 Combine test dependencies into a common project.json.
Restore this common project.json upfront to improve sync time and avoid download contention from nuget.


Commit migrated from https://github.com/dotnet/corefx/commit/654f5548f946659c694d110a4bbce8aa33f1a7a1
2016-10-18 11:39:53 -07:00