Commit Graph
609 Commits
Author SHA1 Message Date
Hugh Bellamy 4ba111ffe2 Move InvalidEnumArgumentException to System.ComponentModel.Primitives
Commit migrated from https://github.com/dotnet/corefx/commit/88a1319869297ebb35d9e34fe59934b74b8e8c86
2017-06-12 16:30:34 +07:00
Wes Haggard 6223b29eae Manually build mscorlib shim to allow for internal type forwards & Adding TypeForwardFrom to serialiazable types (dotnet/corefx#20697)
* Manually build mscorlib shim to allow for internal type forwards

* prepare tests for netfx->core deserialization changes

* update netfx serialized data

* change hash updater so it doesn't use hard-coded path

* Code cleanup for binary serialization

* Changed ListT to ArrayList in CookieCoolection for cross serialization

* Merge

* Changed observablecollection typeforwards that already had typeforwards on netfx

* Adding ValueTuple blobs for netfx471

* Add internal types which need to be forwarded

* Pull mscorlib shim in along with windows.winmd

To build UAP refs and libs we need an mscorlib shim. So for the build
we pull one in from packages and it will get overwritten when we build
the final one as part of our shim builds

* Removed not needed typeforward and added description

* Remved typeforwards from nested types

* Fixed generic type syntax

* Updated coreclr version, ifdefed imports for netcoreapp

* disable netfx serialization for now

* Merge error fixed

* Update blobs after coreclr changes

* Adding ValueTuple manual typeforwards

* Renamed serialization variables for SortedSet

* Disabling TreeSet<,> serialization support (for now)

* Exception internal data storage typeforward added

* Fix type conflict for mscorlib shim in uapaot configuration

* Split the runtime and ref mscorlib shim

We need to build the ref mscorlib shim only against the reference
assemblies so we still build in shims.proj. However the runtime
mscorlib shim needs to have access to internals so we build it against
the runtime implementation using a manual project.


Commit migrated from https://github.com/dotnet/corefx/commit/ca49bfbfd64351fddba56f2141b90841b8561eb7
2017-06-07 18:14:13 -07:00
Eric Mellino 07b1b3a223 Merge pull request dotnet/corefx#20593 from mellinoe/system.drawing.netfx-port
Add support for System.Drawing on Windows.

Commit migrated from https://github.com/dotnet/corefx/commit/e15746e75068eb21b6dfaa5cad1799b1ad2069ba
2017-06-05 13:23:05 -07:00
Stephen Toub ff2a0aa779 Merge pull request dotnet/corefx#20585 from norek/master
Remove dead code from System.ComonentModel.TypeConverter for issue dotnet/corefx#1…

Commit migrated from https://github.com/dotnet/corefx/commit/2ad407337d3c1dc11c13a87a5447a2872ea31105
2017-06-01 17:52:56 -04:00
Eric Mellino 05e65650d9 Add support for System.Drawing on Windows.
This change adds a new library, System.Drawing.Common, which supports a
large subset of the System.Drawing API. It is a direct port of the code
from the .NET Framework codebase. The code has been cleaned, formatted,
and sanitized to match the code style of corefx, but is otherwise very
similar to the .NET Framework version. There are a few key differences:

* TypeConverter's have been omitted for now. If we want to add these to
  .NET Core, we should add them to the TypeConverter library, rather than
  System.Drawing.Common itself.
* Some parts of the library do not respond to "System Events", because
  they are not yet implemented in .NET Core. This means that fonts and
  colors will not automatically update when the system defaults change,
  as they do in .NET Framework. The code is still there, but behind the
  feature flag "FEATURE_SYSTEM_EVENTS".
* Various attributes have been removed from the codebase, because they are
  no longer applicable. Examples:
  * Designer-related attributes (DefaultProperty, DefaultEvent, Editor,
    etc.)
  * CAS-related attributes. CAS-related method calls (Security demands and
    asserts) have also been removed.

There is still further cleanup that can be done in order to match the
style and structure of corefx. For example, the Interop code should be
reorganized to match other BCL libraries.

NOTE: This implementation will only work on Windows, and not in UWP. This
is a strictly compatibility-driven feature. Any changes made to it should
not significantly diverge from the .NET Framework implementation.
Libraries should only take a dependency on System.Drawing.Common if they
are relying on legacy components from .NET Framework; newly-written code
and features should rely on modern alternatives.


Commit migrated from https://github.com/dotnet/corefx/commit/4d34be89f3812919306f1003fa6c035c9caf8970
2017-06-01 13:08:44 -07:00
INSOLUTIONS\NorbertR c43da53dee Remove dead code from System.ComonentModel.TypeConverter for issue dotnet/corefx#17905
Commit migrated from https://github.com/dotnet/corefx/commit/d067d8de57d817fe7e9f2e17cd9d776b187502f3
2017-06-01 20:41:48 +02:00
Viktor Hofer da60796167 Renamed coretype serialized variables to support reflection based serialization
Commit migrated from https://github.com/dotnet/corefx/commit/4bfcf03724fcde488de90eb78247610ce622b819
2017-05-30 22:43:05 +02:00
Santiago Fernandez Madero e8c0db60b4 Update buildtools and extensions and do tests cleanup for new attributes behavior (dotnet/corefx#20333)
* Update buildtools and extensions and do tests cleanup for new attributes behavior


Commit migrated from https://github.com/dotnet/corefx/commit/bc73a9b7ca2a644efd9fc3cb51dde3bc3726ecd7
2017-05-26 02:13:52 -05: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
Atsushi Kanamori 4622ed4064 Fix all System.ComponentObject.TypeConverter.Test failures on ILC
The usual reasons...


Commit migrated from https://github.com/dotnet/corefx/commit/534c3a1ee90b9a0fe84f7de24cb38bd912d15d5b
2017-05-11 12:46:59 -07:00
Atsushi Kanamori b33e670655 Fix 79 System.Data.Common.Test failures on ILC
These tests were null-referencing inside a IsReadOnly
property that looked up ReadOnlyAttributes in a collection
and invoked it without null-checking the lookup result.

The reason it's allowed to do that that is this
collection has some magic in it that lazily auto-populates
itself with the "default" value of the attribute
if the attribute itself isn't found on a lookup.
So as long a default exists, a lookup of this attribute
type never returns null.

Unfortunately, the "default" is discovered by reflecting
for a static field named "Default" on the attribute
type.




Commit migrated from https://github.com/dotnet/corefx/commit/1bb768c31c53a47ab892285b36ccedf892bb7ccc
2017-05-11 09:51:08 -07:00
Stephen Toub ed5e12a621 Fix EnumConverter porting bug around ArrayList (dotnet/corefx#19475)
EnumConverter.GetStandardValues switched from using `ArrayList` to `List<object>` when it was ported to .NET Core.  But it performs sorting using the non-generic IComparer, which `List<object>` doesn't have APIs for.  Rather than trying to work around the difference, it makes sense to just revert to using ArrayList.

Commit migrated from https://github.com/dotnet/corefx/commit/adf6473ff41cc797d1b7f9b41e815173bffe6d98
2017-05-08 09:51:39 -07:00
Jiayi Li ab9698db27 Disable failed tests for 6 issues. (dotnet/corefx#19464)
Commit migrated from https://github.com/dotnet/corefx/commit/5efe9f60ffe252496ca6cf98cb94e29b7d088b49
2017-05-08 02:43:56 -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
danmosemsft a465dc246f dead
Commit migrated from https://github.com/dotnet/corefx/commit/464fb4f6bd368d88c845128fecb0032cd9746adc
2017-04-14 17:32:54 -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
Wes Haggard 5199de8c07 Update VS configuration in TypeConverter test project
Commit migrated from https://github.com/dotnet/corefx/commit/c522ebe3753dac6b3dca60471cb52adc41f8d94f
2017-04-06 17:03:48 -07:00
Wes Haggard 133c1cbd6b Remove KnownColors and SystemColors from .NET Core
Kept KnownColors as an internal enum for implementation ease but
removed the public surface area for it.

Remove SystemColors from .NET Core

Fix TypeConverter tests to work on netfx and core


Commit migrated from https://github.com/dotnet/corefx/commit/9eb75a26a32de61fd4b9e51a1e029df1b2d59ff9
2017-04-06 12:27:49 -07:00
Wes Haggard 390ceec404 Add build option to only build stuff that is part of NETCoreApp
pass /p:BuildNETCoreAppOnly=true will filter the product build
to only include things in corefx that are part of netcoreapp (i.e
shared framework).

Note this filtering doesn't work correclty for test projects because
some of them require things outside the shared framework to build and
run. We could extend it to test projects at some point if we want
to clean up those dependencies, but for now it is only intended
for build.cmd/sh


Commit migrated from https://github.com/dotnet/corefx/commit/f4ccd035032e75b219a5f3b960c5637d43aae1d3
2017-04-03 15:05:42 -07:00
Rion Williams 1b159ddccc Replaced ContainsKey() Calls with TryAdd() Dictionary Calls (dotnet/corefx#17201)
* Replaced ContainsKey() Calls with TryAdd() Dictionary Calls (Where Applicable)

Replaced `ContainsKey()` method calls with the new `TryAdd()` method
where applicable.

* Reverted `TryAdd()` To Previous Approach

Reverted to earlier approach to avoid unnessary allocation of  a new
row.

* Cleaned Up `else-if` Usage with `TryAdd()`

Removed the `TryAdd()` call from within the conditional statements and
moved them to the body

* Added Extra Line for Readability / Coding Style

* Updated Non-Dictionary Test Cases To Use `TryAdd()`

Updated various unit tests to include the `TryAdd()` instead of the
previous `ContainsKey()` pattern. This focused primarily on test casts
that were not dictionary-related at all to help curb any potential
regression issues.

* Added `TryAdd()` Within Dictionary Performance Test

Replaced older `ContainsKey()` implementation with newer `TryAdd()`.

* Reverted PerfDictionary Test to `ContainsKey()` Usage

Changed test to earlier implementation in to make way for .NET Core
specific tests using newer API.

* Created Separate .NET Core Dictionary Performance Test

Copied the existing dictionary performance tests (from
`Perf.Dictionary.cs`) and used the newer `TryAdd()` calls; Adjusted the
projects test file only include these when targeting .NET Core.

* Created Separate .NET Core SQL Manual Test

Reverted previous usage of the newer `TryAdd()` method and created a
separate .NET Core specific file to to be conditionally included and
tested.

* Separated .NET Core ILPrinter Test

Reverted previous changes involving the `TryAdd()` method and created a
seperate file to test this functionality only for .NET Core.

* Created Seperate .NET Core Linq TreeManipulation Tests

Reverted previous changes to the normal tests and created a seperate
test targeting .NET Core with the newer `TryAdd()` usage.

* Created Seperate .NET Core xNodeBuilder Test

Reverted previous changes to the normal tests and created a seperate
test targeting .NET Core with the newer `TryAdd()` usage.

* Missed .NET Core Reference for InternalConnectionWrapper

* Applied Compilation Condition for InternalConnectionWrapper to Avoid Collisions

Applied Compilation Condition for InternalConnectionWrapper to Avoid
Collisions (i.e. either build for .NET Core or use the other one for
non-Core builds)

* Avoiding Another Build Collision with .NET Core Functionality

Added a .NET Core compilation constraint for the .NET Core specific
ILPrinter class to avoid issues when building (i.e. only build .NET Core
or non-Core).

* Fixed Yet Another Potential Build Collision with .NET Core

Added a .NET Core compilation constraint for the .NET Core specific
Performance Dictionary testing class to avoid issues when building (i.e.
only build .NET Core or non-Core).

* Removed More Potential .NET Core Compilation Collisions

Added .NET Core specific constraint to seperate Core and non-Core
classes when building

* Additional .NET Core Build Collision Fix

Added an additional condition to separate .NET Core and non-Core builds.

* Added TryAdd Extension Method for Testing

Added an extension method to support `TryAdd()` calls within test cases
across the solution to avoid code duplication.

* Updated Namespace for Dictionary Extension Methods

Changed from `System.Collection.Tests` to `System.Collections.Generic`
as this wasn't actually a test but rather an extension method.

* Removed Previous Duplicate Tests; Added Extension Method

Removed Previous Duplicate Tests; Added Extension Method Usage

* Updated Extension Method Path

Replaced previous relative pathing string with `$(CommonTestPath)`

* Added Missing Generic Type Parameters to TryAdd Extension Method

* Removed Unnecessary Using Statement

* Updated System.Linq.Expressions Tets to use Extension Method

Removed .NET Core duplicate tests; Added reference to new extension
method (from Common\tests)

* Updated System.Private.Xml.Linq .NET Core Tests to Use TryAdd()

Updated System.Private.Xml.Linq .NET Core Tests to Use TryAdd()
extension method.

* Updated System.Collections To Use Dictionary.TryAdd() Extension Method

Removed previous .NET Core duplicated code and references

* Updated Non-ContainsKey() Tests To Use Extension Method

Updated Non-ContainsKey() tests to use the `TryAdd()` extension method
approach

* Extended TryAdd() Extension Method

Updated the existing `TryAdd()` extension method to target any Dictionary
related interfaces (as opposed to Dictionary implementations)

* Updated References in System.Collections.Test

Removed previous .NET Core specific reference; Added extension method
availability

* Added `TryAdd()` Extension Reference

Added the `TryAdd()` extension for some other dictionary tests that rely
on an interface (which now supports the `TryAdd()` method).

* Removed Explicit .NET Core Compilation Constraint

* Fixed Coding Style Issue

Fixed Coding Style Issue of a missing blank line following the closing
gullwing brace for the if-statement.

* Added `<Link>` Section for Extension Method References

Updated all of the previously added extension method `<Compile>`
sections to include a `<Link>` section to improve formatting.

* Added <Link> Section for Dictionary Extensions

Added Missing <Link> Section for Dictionary Extensions


Commit migrated from https://github.com/dotnet/corefx/commit/3d4d8038d1a3f0c56d3046bc7494f30ecc35e67b
2017-03-21 14:58:04 -04:00
Santiago Fernandez Madero e6be7b169a Change assembly version in csproj instead of dir.props (dotnet/corefx#17238)
Commit migrated from https://github.com/dotnet/corefx/commit/b76f0fe10b1799416a5ec78ebca478762be62dd1
2017-03-17 11:15:42 -07:00
Santiago Fernandez Madero 80bca82c18 Fix System.ComponentModel.TypeConverter failing tests (dotnet/corefx#17206)
* System.ComponentModel.TypeConverter failing tests


Commit migrated from https://github.com/dotnet/corefx/commit/115bbebd35ae6a7323a70c8aa61cab03d65a1eee
2017-03-16 17:17:07 -07:00
Stephen Toub 98a0d61da7 Remove WebClient dependency from S.CM.TypeConverter
Commit migrated from https://github.com/dotnet/corefx/commit/0330466f2da16b4cfdab56c31a014e0cc0b41ac2
2017-03-14 08:06:50 -04:00
Rich Lander 9a6cc6907f Correct quotes
Commit migrated from https://github.com/dotnet/corefx/commit/66a527ffabdce7a994ff8c4748d8445ba7633db3
2017-03-11 20:25:53 -08:00
Rich Lander f364032e76 Add 3pn entries (dotnet/corefx#17005)
* Add 3pn entries

* fix quotes


Commit migrated from https://github.com/dotnet/corefx/commit/a49c733b7c55b35a63204d7d08bc06c91903dca1
2017-03-11 06:48:44 -05:00
Ivan Kishchenko 7bb3e13e27 PVS-Studio: fixed vulnerability CWE-476 (NULL Pointer Dereference) (dotnet/corefx#16807)
* PVS-Studio: fixed vulnerability CWE-476 (NULL Pointer Dereference)

* Undo changes for understand what is breaking tests.


Commit migrated from https://github.com/dotnet/corefx/commit/44eb1dbb8577537cc225e3ceecde9625d90a9b9b
2017-03-10 07:44:09 -05:00
Paul Harrington 79d26b7560 Fix typos: occurred/occurrence (dotnet/corefx#16459)
Commit migrated from https://github.com/dotnet/corefx/commit/94a4ddf3f8f04ef2dc0486afcb62ef873bec2530
2017-02-24 23:56:39 -08:00
Mandar Sahasrabuddhe b4118d1238 Fix dotnet/corefx#3862 - Double-Check locked patterns and consider static or Lazy<T> for Singletons (dotnet/corefx#16216)
* Fix dotnet/corefx#3862 - Double-Check locked patterns and consider static or Lazy<T> for Singletons


Commit migrated from https://github.com/dotnet/corefx/commit/3e7fb77957f0429f42aacb7bd3b47510acc0b8e3
2017-02-24 14:40:34 -05:00
Jon Hanna 8eecafb513 Remove calls to GetTypeInfo from System.ComponentModel.TypeConverter
Contributes to dotnet/corefx#16305


Commit migrated from https://github.com/dotnet/corefx/commit/2825b1e8605930e1c02f833a016378faaf044242
2017-02-23 13:10:09 +00:00
Drew Scoggins e01f5d923c Update performance csprojs
Update the csproj files of all of the performance tests to reference the
PerfRunner csproj.  Also make a change to the PerfRunner csproj to mark
it as a test project so that it can use the generated test runtime for
dependency resolution.


Commit migrated from https://github.com/dotnet/corefx/commit/495e4e8dbdeb0fbe904c323a0ac83f630d44bc8d
2017-02-22 15:50:42 -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
Jon Hanna aa4b36ebfa Fix several typos (dotnet/corefx#16264)
* Fix several typos

coment → comment
rangecheck → range check
testcase → test case
deffer → defer
everytime → every time
whitespaces → whitespace (whitespace is uncountable)
white space → whitespace
white spaces → whitespace
the the → the
a → a
nametest → name test
scaned → scanned
and and → and
undecision → indecision
are no whitespace → is no whitespace
Whidbey casing
Everett casing
unkown → unknown
messsage → message
mesage → message
mesasage → message
publically → publicly (publically is attested but questionable).
exceptionto → exception to
mutatable → mutable
implemention → implementation
hadnt → hadn't
couldnt → couldn't
wouldnt → wouldn't
wont → won't
isntead → instead
preocessor → processor
particural → particular
interations → iterations
enterying → entering
stoppped → stopped
stoped → stopped
verication → verification
compuatation → computation
revisisted → revisited
partioner → partitioner
lock'ed → locked
table'd → table would
hashtable'ed → hashtabled (still coining, but tabled is analogous)
intialize → initialize
calcuate → calculate
perfom → perform
performr → perform
matthing → matching
corect → correct
thorw → throw
supress → suppress
reqeust → request
mutliple → multiple
ot → to
trival → trivial
upto → up to
specfices → specifies
patttern → pattern
descrepancy → discrepancy
explict → explicit
implict → implicit
usign → using
non-sensical → nonsensical
contination → continuation
producs → products
childred → children
parametr → parameter
approriate → appropriate
insted → instead
expection → exception
successsfully → successfully
funtion → function
unqiue → unique
apparant → apparent
expception → exception
conatined → contained
apssed → passed
propogate → propagate
cutoms → custom
currrent → current
curent → current
concurent → concurrent
coplted → completed
unexcepted → Unexpected (where the latter seems more appropriate)
to to → to
abd → and
refence → reference
particiant → participant
cuurrent → current
extratc → extract
cparticipant → participant
ehich → which
choosen → chosen
mske → make
alread → already
aquire → acquire
droppping → dropping
intial → initial
tru → true
aprticipant → participant
excption → exception
sempahore → semaphore
fileds → fields
threashold → threshold
duting → during
didnt → didn't
atribute → attribute
serliazation → serialization
localy → locally
channge → change
prperties → properties
attrbute → attribute
sentinal → sentinel
shoukd → should
existant → existent
commnent → comment
expeted → expected
propert → property
commnet → comment
datat → data
ther → the
mach → match
inhertiance → inheritance
convience → convenience
completley → completely
otheriwse → otherwise
actuall → actual
inefficent → inefficient
defalut → default
comparsion → comparison
charcters → characters
postion → position
aleady → already
charater → character
incosistent → inconsistent
seperate → separate
veify → verify
currentlly → currently
corect → correct
betwwen → between
omiting → omitting
readr → reader
compae → compare
allways → always
thown → thrown
with with → with
usecase → use case
avare → aware
lexem → lexeme
grammer → grammar
oposite → opposite
overrided → overridden
everithig → everything
chages → changes
memeber → member
proerties → properties
identifer → identifier
doesnot → does not
deriaved → derived
varialble → variable

* defered -> deferred

* Revert changes within clrcompression.

* Revert underreach → under-reach

* Fix casing broken while fixing spelling.

* Use type name instead of "Diagnostic sources"


Commit migrated from https://github.com/dotnet/corefx/commit/f0ccd9742065ee2aa296448fe3dd38ef6ff77af9
2017-02-17 10:31:00 -08: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
Tarek Mahmoud Sayed 80d424f792 Fix ComponentModel tests on Linux (dotnet/corefx#16019)
* Fix ComponentModel tests on Linux

* Remove extra spaces


Commit migrated from https://github.com/dotnet/corefx/commit/3a1b3e25cbdba9c06527b47a71d6bc6a41ea5659
2017-02-09 17:24:42 -08:00
Sepideh Khoshnood 50fea0be10 Merge pull request dotnet/corefx#15932 from sepidehMS/PlatformSpecificTests
Review all PlatformSpecific tests to ensure test coverage

Commit migrated from https://github.com/dotnet/corefx/commit/6451bed4d4a667d9c05a41c0843504d020d283ab
2017-02-08 15:53:46 -08: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
sepidehMS 016f9b537d Remove unnecessary PlatformSpecific labels from tests
Commit migrated from https://github.com/dotnet/corefx/commit/3294b7172c51869892debba78d774a4e1f382cd5
2017-02-07 15:46:35 -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
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
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