Commit Graph
297 Commits
Author SHA1 Message Date
Eric St. John af1d155bf6 Remove help VS comments
Many CSProjs included the comment
`<!-- Help VS understand available configurations -->`

These aren't handled well by the tooling that rewrites projects and weren't providing much value.

Remove them.


Commit migrated from https://github.com/dotnet/corefx/commit/5ba948d13e3177c2c7075b6b00791e574bfa0860
2017-05-25 11:10:27 -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
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
Tarek Mahmoud Sayed addda8630e Enable tests to compile with netstandard (dotnet/corefx#15956)
* Enable tests to compile with netstandard

Most of the tests have netstandard configurations and it doesn't compile. the changes here is to fix the configurations and the tests to compile.
This is important step to get netfx tests compile too as we are in most of the time netfx fallback to netstandard configuration

The changes include some fixes to compile teh sources too.

* Fix System.Collections.Immutable

* update src configuration

* remove netstandard17 defines

* Split netcoreapp code to its own files

* Remove 17 from the test class name


Commit migrated from https://github.com/dotnet/corefx/commit/15b4f51c2f3cb924840e5407bb8d5fe03bb282ea
2017-02-08 15:32:53 -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
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
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 a39501e3ae Remove desktop config when in NETStandard.Library
Exceptions for types missing from netstandard facade:
- System.Data.Common - DbColumn, DbDataReaderExtensions, IDbColumnSchemaGenerator
- System.Diagnostics.StackTrace - StackFrameExtensions
- System.Numerics.Vectors - Vector, Vector<T>
- System.Runtime.Serialization.Primitives - ISerializationSurrogateProvider
- System.Runtime.Serialization.Xml - DataContractSerializerExtensions
- System.Security.Cryptography.Cng - AesCng, TripleDESCng <link>
- System.Threading.Overlapped - PreAllocatedOverlapped, ThreadPoolBoundHandle
- System.Xml.XPath.XDocument - XDocumentExtensions


Commit migrated from https://github.com/dotnet/corefx/commit/83b3046e1f63c752ee0d69e8b847d633724d90b1
2017-01-31 18:32:00 -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
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
Jose Perez Rodriguez 846d8ab24b Merge branch master into dev/eng
Commit migrated from https://github.com/dotnet/corefx/commit/44b68e694948065c1b61457cec125d3d64c1fa22
2017-01-05 14:03:56 -08:00
dotnet-bot f6c2208f04 Update CoreClr, CoreFx, ProjectNTfs to beta-24904-02, beta-24904-01, beta-24904-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/81832da776d1502b0a68219cba6b8cbaf9399ed6
2017-01-04 09:48:26 +00:00
dotnet bot db5f76dc34 Update CoreClr, CoreFx to beta-24903-03, beta-24903-02, respectively (dotnet/corefx#14819)
Commit migrated from https://github.com/dotnet/corefx/commit/c379ecd7f3b53ee00521b91c4e8421e15fe6178a
2017-01-03 10:58:17 -08:00
dotnet-bot 80435753bd Update CoreClr, CoreFx, ProjectNTfs to beta-24903-02, beta-24903-01, beta-24903-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/14a3a5b6c2dce0ea80209ef3c4f34d4c6d460177
2017-01-03 09:43:53 +00:00
dotnet-bot d45b4d8506 Update CoreClr, CoreFx to beta-24902-03, beta-24902-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/ecb70894ab9e82f08fb8afcfe01e1f663f10a2e5
2017-01-02 17:29:07 +00:00
dotnet-bot d3b238de6a Update CoreClr, CoreFx, ProjectNTfs to beta-24902-02, beta-24902-01, beta-24902-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/d52cb08c73cdf51b363d721cfbd3299347eb6a03
2017-01-02 09:45:03 +00:00
dotnet bot a92d96c1a8 Update CoreClr, CoreFx, ProjectNTfs to beta-24829-03, beta-24829-02, beta-24829-00, respectively (dotnet/corefx#14755)
Commit migrated from https://github.com/dotnet/corefx/commit/3860fe87088c38e0093952ecfcc01f9cc01c628e
2016-12-29 11:22:00 -08:00
dotnet bot b4eb941d9a Update CoreClr, CoreFx, ProjectNTfs to beta-24828-03, beta-24828-03, beta-24828-00, respectively (dotnet/corefx#14743)
Commit migrated from https://github.com/dotnet/corefx/commit/24d0731401fa324f6f75ac711f966f488372f6c1
2016-12-28 14:32:38 -08:00
dotnet-bot 60a7566d99 Update CoreClr, CoreFx, ProjectNTfs to beta-24827-03, beta-24827-01, beta-24827-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/f7f3a2ed0b236af4d7e77cbeb4c170a5b9c3f69d
2016-12-27 19:42:49 -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
Jan Kotas 2ce68a17c2 Delete unnecessary ComVisible attributes (dotnet/corefx#14569)
* Delete unnecessary ComVisible attributes


Commit migrated from https://github.com/dotnet/corefx/commit/ddd1e5ce0f81f7091e544c65f99c37bf52a4ded9
2016-12-16 15:32:44 -08:00
dotnet-bot 5b05514dc1 Update CoreClr, CoreFx, ProjectNTfs to beta-24814-02, beta-24814-01, beta-24814-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/5e7220551ecf55c32227aa51a94113f82ff3e318
2016-12-14 09:32:55 +00:00
dotnet-bot 2265a63681 Update CoreClr, CoreFx, ProjectNTfs to beta-24813-01, beta-24813-02, beta-24813-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/ff7001d51c4263298b4790206edcde74f5d0ff39
2016-12-13 04:16:59 +00: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
dotnet-bot 7b26a7e899 Update CoreClr, CoreFx to beta-24811-03, beta-24811-02, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/f77687d070721a2e16d427236dba471e5641a22c
2016-12-11 17:25:16 +00:00
dotnet-bot 496e3fb9b2 Update CoreClr, CoreFx to beta-24811-01, beta-24811-01, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/311289fced622546cf385e5255684694f5161f3c
2016-12-11 03:39:39 +00: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
dotnet-bot 03ec1ebf0f Update CoreClr, CoreFx to beta-24810-04, beta-24810-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/9635d682c4a900e8031aea35ca6d3b66defb5009
2016-12-10 17:24:57 +00:00
dotnet-bot 4cb4a40ec4 Update CoreFx to beta-24810-02
Commit migrated from https://github.com/dotnet/corefx/commit/8f23fefaecca3650396bb10786e5b93e9cb397d9
2016-12-10 09:32:35 -05:00
dotnet-bot c28ef9e19d Update CoreFx to beta-24809-03
Commit migrated from https://github.com/dotnet/corefx/commit/4580bd85e5075c8dcca9feda219684d1ec939253
2016-12-09 21:11:25 +00:00
dotnet-bot 97d4fc14a1 Update CoreClr, CoreFx to beta-24809-02, beta-24808-03, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/4f6ae2b2664f6785d837f91e684b999fc888b271
2016-12-09 02:13:34 +00: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
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
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
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
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