Commit Graph
261 Commits
Author SHA1 Message Date
Eric Erhardt 8b6d5baf20 Change .csproj to new Configurations property
Change .sln to use the managed C# project system GUID.


Commit migrated from https://github.com/dotnet/corefx/commit/e05508a62d28f4807f85abe9cb7adf8382f792b4
2018-06-28 17:49:22 -05:00
Eric Erhardt 1df03e5bbd Rename dir files to Directory.Build
dir.props => Directory.Build.props
dir.targets => Directory.Build.targets


Commit migrated from https://github.com/dotnet/corefx/commit/204a8dbbc23bfc51d419c93f2f2ddaf50db8020f
2018-06-15 17:07:48 -05:00
wtgodbe f38ceb30be Convert all .csproj files in src to SDK-style projects
Commit migrated from https://github.com/dotnet/corefx/commit/91d7e62bbf28094a2b419b87847bcd6a7658564d
2018-05-21 11:53:46 -07:00
Viktor Hofer fcc00e81f3 Make corefx exceptions serializable and add typeforwards (dotnet/corefx#24427)
* Add serializable attribute and typeforward and adding serialization impl
* Expose ZLibException in impl assembly
* Remove deserialization negative tests
* Adding tests for exceptions
* Adding SqlError data to base exception data table
* System Data Facade
* Add netfx471 blob diffs for Hashtable and ListDictionary
* Build Microsoft.NETCore.App.deps.json after manual shims
* Disable currently failing uap/uapaot tests because of shim assembly load errors


Commit migrated from https://github.com/dotnet/corefx/commit/e3f74deb999571d3f34a6b2b8011caebcf06dbfc
2017-10-27 18:00:52 +02:00
Santiago Fernandez Madero b9d768589e Fix System.Data.Odbc configurations for support package and run UpdateVSConfigurations (dotnet/corefx#24752)
* Fixed odbc configurations for compat package

* Run UpdateVSConfigurations

* Remove Default Configurations to help VS... comment from csproj's

* Remove from System.Buffers as well


Commit migrated from https://github.com/dotnet/corefx/commit/bcc59b2e74090cfbcc4d6e7c245c172744e9d46b
2017-10-23 18:24:28 -07:00
Eric St. John b2dae07f2b Update VS configurations
Commit migrated from https://github.com/dotnet/corefx/commit/238bf3302817a910fac3968f4ac826424294ab0c
2017-08-29 08:49:24 -07:00
Eric St. John 20a117e4cc Remove NetFx support libs
Now that we've shipped the NETStandard support package we will no longer build its content
from `master`.

It will be serviced from the `release/2.0.0` branch and the only netfx builds in `master` will
correspond to package content.


Commit migrated from https://github.com/dotnet/corefx/commit/eade3b36725c8d463a40589ff749af5bb0cab8f4
2017-08-29 08:46:22 -07:00
Morgan Brown c748507f03 ISerializable cleanup (dotnet/corefx#20220)
* Changes to throw PlatformNotSupportedException from ISerializable.GetObjectData and serialization constructors on non-serializable types. Also removes private serialization constructors and some unneeded code that was used to support serializing non-serializable types. A few tests testing GetObjectData implementations are also removed.

* Address code review comments.

* Change exceptions' GetObjectData to just call base rather than throw. This makes them behave consistently with exceptions that didn't override GetObjectData.


Commit migrated from https://github.com/dotnet/corefx/commit/a82f54bd51e22ec3eb14eb5d8f572f022becb8e3
2017-05-25 12:38:09 -07:00
Gaurav Khanna f167b0de93 Merge pull request dotnet/corefx#19842 from ericstj/incrementVersions
Increment versions post 2.0

Commit migrated from https://github.com/dotnet/corefx/commit/45d30e6bdf44d4a0e55df5a6064e8275cdf14d25
2017-05-17 12:03:29 -07:00
Morgan Brown 975ad3c685 Scale back [Serializable] CoreFX types (dotnet/corefx#19742)
* Remove SerializableAttribute from many CoreFX types that will not be serializable.

* Removes serialization tests for types that are no longer serializable and fixes serializing a couple of types. Includes marking some internal serializable types as public so that they'll be reflectible with .NET Native.

* Remove unneeded pragmas

* Update based on review comments


Commit migrated from https://github.com/dotnet/corefx/commit/6dd451f51451a7d0ceea6104b51bd17005e9a0e6
2017-05-16 18:16:29 -04: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
Eric St. John 4dbd4ba63d Replace netfx ifdefs in refs with IsPartialFacadeAssembly
Now that we can automatically generate the reference typeforwards from
contracts I can eliminate the ifdef'ing I added with dotnet/corefx@45b4c71bff.


Commit migrated from https://github.com/dotnet/corefx/commit/208c8cfb3276225627b91081344f930cfcbac65a
2017-04-24 15:48:23 -07:00
Eric St. John 30b972e1b2 Add NETStandard.Library.NETFramework package
This package is a support package for NETStandard2.0 on .NET 4.6.1.


Commit migrated from https://github.com/dotnet/corefx/commit/796a4b6af55c9ff548e172a943b9af737706fe2b
2017-04-12 13:42:52 -07:00
Eric St. John 91d958f2aa Add netfx configurations for libs in NETStandard
For any libary that is part of netstandard and needs to either add types
to desktop or satisfy a higher assembly version that we previously
shipped, ensure we have both a netfx ref and src build.

The ref build is required because previously we were using the src build
(partial facade) as both ref and lib.  This is problematic because we
need to build the full netstandard.dll facade before building src
projects.  Ensuring a ref build also helps reduce package size since we
don't end up shipping the partial facade implementation in ref.

Src build has been added where it wasn't already present to fill in the
missing types, members, or satisfy the previously shipped assembly
version in netstandard1.x.


Commit migrated from https://github.com/dotnet/corefx/commit/45b4c71bff924245d8962035bd751d65c45bf31d
2017-04-12 13:42:50 -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
Jose Perez Rodriguez 547819eb31 Updating uapaot baseline files
Commit migrated from https://github.com/dotnet/corefx/commit/1963b65f93973bd7b622203b16765fd25a103fec
2017-03-15 15:27:08 -07:00
Jan Kotas 260f21c922 Delete another obsolete ApiCompatBaseline (dotnet/corefx#16964)
Commit migrated from https://github.com/dotnet/corefx/commit/6c44c14fa6aaf6ebc8d258231e15497f9e9b5e27
2017-03-10 01:00:44 -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
Jose Perez Rodriguez d9c497be12 Prepare uap package (dotnet/corefx#15866)
Prepare uap package

Commit migrated from https://github.com/dotnet/corefx/commit/afaaf450d1869992dcf4f51c627f16145cf9c974
2017-02-08 10:39:37 -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
Eric St. John 1627165265 Remove configurations that aren't building
Commit migrated from https://github.com/dotnet/corefx/commit/eef607339e9a58b7eb22c98972abfe5e44a650c9
2017-02-03 08:32:14 -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
Jose Perez Rodriguez 7404829809 Adding UAPAOT vertical and configurations
Commit migrated from https://github.com/dotnet/corefx/commit/84400b252e840382da44b55502731061f7b2380b
2017-02-02 11:25:18 -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 c61e84f6ec Clean up desktop Configurations
Remove all cruft from projects related to building desktop configs which
now build in standard repo.


Commit migrated from https://github.com/dotnet/corefx/commit/93b36cc273391a40552613800b6fdaa8685179ae
2017-01-31 19:25:30 -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
Jose Perez Rodriguez a840e703dd Updating VS Configurations
Commit migrated from https://github.com/dotnet/corefx/commit/8e7497f825856eddfd84f81fc4afc0104fb917b0
2017-01-31 15:10:43 -08:00
Jose Perez Rodriguez f7c237e4e2 Adding missing Configurations for uap
Commit migrated from https://github.com/dotnet/corefx/commit/16ceba583604b00f12a173a8f3d218584ec2b0ee
2017-01-31 15:08:05 -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
Jose Perez Rodriguez f9d4e6795d Removing netstandard configurations for things that are bellow netstandard (dotnet/corefx#15373)
Removing netstandard configurations for things that are bellow netstandard

Commit migrated from https://github.com/dotnet/corefx/commit/c656446f01db4b902b0c06b19551cc30d9dd9c6b
2017-01-24 09:40:19 -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 StJohn 279d64fb9e Merge pull request dotnet/corefx#15312 from ericstj/packageCleanup3
Remove packages from NETStandard2.0

Commit migrated from https://github.com/dotnet/corefx/commit/06ddbb809ef1a1383245d63d6c667e43aadd786e
2017-01-19 13:53:14 -08:00
Eric St. John 2f1fa69d81 Add assemblies to NETCore.App if in netstandard
For every assembly that is forwarded to by netstandard.dll, ensure it is
a reference as part of NETCore.App


Commit migrated from https://github.com/dotnet/corefx/commit/f8e8cda1322b3252e519b323fa5cadc8e470ee5a
2017-01-18 21:10:21 -08:00
Eric St. John 774105be10 Remove packages from NETStandard2.0
Related to https://github.com/dotnet/corefx/commit/dotnet/corefx@0797813bfe3a9e6d04d4bfaa865b477bb26f8ce2

This removes packages where the types have been moved into
netstandard.dll in netstandard2.0.

These types are supported as follows:
1. In a netstandard2.0+ project via NETStandard.Library package's
    netstandard.dll
2. In a netstandard1.x project via contract assembly packages which
    ship from servicing branches.
3. In a framework specific project via the framework's targeting pack
    or framework package.


Commit migrated from https://github.com/dotnet/corefx/commit/99009fb3bc737af9d455ea0920b22347f69a78ff
2017-01-18 21:01:34 -08:00
Eric St. John 4c5a187f16 Clean up depprojs
Remove depprojs that were being used for old references/API-compat

For any project mentioning depproj, remove reference and clean up any
Configurations we don't expect to build


Commit migrated from https://github.com/dotnet/corefx/commit/c9b7abbd031af702c236e82b9a56de608811756f
2017-01-18 14:02:31 -08:00
Eric St. John 02b6743d19 Remove PackageTargetFramework
This property is largely obsolete and replaced with NuGetTargetMoniker
where its needed.

I've also cleaned up mentions of this and validation suppression around
it in projects that will never be packaged.

PackageTargetFramework remains in projects that will be packaged and
duplicate their asset in multiple folders,
eg: netstandard1.0;portable-net45+win8+wp8+wpa81


Commit migrated from https://github.com/dotnet/corefx/commit/8590e419f6639d9d5eabdbcb916e62fb1656d30e
2017-01-18 14:02:30 -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
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 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
Eric St. John f57339497f Drop unnecessary build configs
S.IO and S.R.Serialization.Primitives were both unnecessarily building
for older desktop configurations.

Stop doing this and redist the binaries.


Commit migrated from https://github.com/dotnet/corefx/commit/20a8cd79157ec65f0ecc89f779e989ea05f277b4
2016-11-22 07:51:01 -08: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
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
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