Commit Graph
408 Commits
Author SHA1 Message Date
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 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 e6ab542405 Workaround cycles in IsolatedStorage
IsolatedStorage doesn't cross-compile for unix and uses Windows-specific
libraries.

These libraries have a dummy implementation that throw
PlatformNotSupported on Unix.  This dummy implementation was compiled
against netstandard.dll.

This is a problem since IsolatedStorage is part of the closure of
netstandard.dll.  We correctly catch these cases as a cycle.

Workaround this by making netcoreapp-Unix-specific impls of these that
compile against System.*, putting them lower in the stack.
https://github.com/dotnet/corefx/issues/18578


Commit migrated from https://github.com/dotnet/corefx/commit/244c583f85ef6f4bc6c8994b0a9672ae6b166b5c
2017-04-18 15:55:05 -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 c91a1639df Fix warnings during -allConfigurations build
Commit migrated from https://github.com/dotnet/corefx/commit/1ce8e1c823d6a69bae9a933de550a80d8757b9f6
2017-04-18 13:28:51 -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
Eric St. John 5eb051b618 Make netfx mean net461 instead of net463
We're moving the desktop .NETStandard2.0 support library build into
corefx so that we can build partial facades and implementation
assemblies and keep it compatible with previous netstandard versions.

Since we need to make net461 support netstandard2.0 this will become the
primary target for desktop builds in this repo.  As a result we need to
remap what netfx means.


Commit migrated from https://github.com/dotnet/corefx/commit/83e91cb0284293e8954dbe83c080f537d6c79eac
2017-04-12 13:42:46 -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
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
Stephen Toub 1ed90fbc94 Merge pull request dotnet/corefx#17352 from ianhays/oipipestest
Fix Pipes AccessControl behavior to match Desktop

Commit migrated from https://github.com/dotnet/corefx/commit/0260c6d2b46b7cb0b01d736ddb414c7a9eec4a86
2017-03-21 19:03:21 -04:00
Ian Hays a84dd3ccb5 Fix Pipes AccessControl behavior to match Desktop
There are two discrepancies in System.IO.Pipes.AccessControl behavior between netfx/netcoreapp that this resolves:
- SetAccessControl on a broken NamedPipeClientStream should throw an IOException.
- GetAccessControl on a NamedPipeClientStream for which the paired NamedPipeServerStream has been disconnected should throw an InvalidOperationException.

This PR also expands the Pipes.AccessControl tests to cover the above scenarios as well as several others that we weren't testing.


Commit migrated from https://github.com/dotnet/corefx/commit/586e7955d2d42da2b6c400821ed980261090a05f
2017-03-21 14:12:24 -07:00
Ian Hays de474e3657 Fix Sec.AccessControl CommonSecurityDescriptor bug.
When the source for System.Security.AccessControl was ported, one of the Interop functions was misnamed. This was causing the entire CommonSecurityDescriptor class to be broken, and since the tests weren't ported until later we weren't aware that it was broken. This Commit fixes the function call and re-enables the tests that assert the correct behavior (verified against desktop).


Commit migrated from https://github.com/dotnet/corefx/commit/f4e3538bd112f8ebc0d05c4c6b6df346f439f671
2017-03-17 14:03:57 -07:00
Jose Perez Rodriguez 99adb0ad00 Adding System.Net.HttpListener uapaot config (dotnet/corefx#16982)
Adding System.Net.HttpListener uapaot config

Commit migrated from https://github.com/dotnet/corefx/commit/b8a38e2dff367296465982f300d47c5fda4489d6
2017-03-10 13:05:34 -08:00
Jose Perez Rodriguez 3d80574432 Adding System.Net.Mail to the uap and uapaot closures (dotnet/corefx#16938)
Adding System.Net.Mail to the uap and uapaot closures

Commit migrated from https://github.com/dotnet/corefx/commit/65bfac91d1ebd9cdc7b3f90da86b4b608279136d
2017-03-10 10:08:55 -08:00
Ian Hays ef221cc1c8 Disable some ACL tests
Commit migrated from https://github.com/dotnet/corefx/commit/ff0cd3f01e421f3828f980f91b33be734b504cf5
2017-03-09 13:01:52 -08:00
Ian Hays f2a1d21637 Re-enable AccessControl tests
These tests were ignored for a while then disabled because they were causing a bunch of failures. I'm re-enabling the ones that don't fail and ActiveIssuing the ones that do fail so we at least have some coverage here.


Commit migrated from https://github.com/dotnet/corefx/commit/96497e0ae48bc0b6e65dc5497c424772d79669d8
2017-03-09 12:29:46 -08:00
Dennis "D.C." Dietrich ee42ab287a OverflowException in System.Security.AccessControl
Fixed several overflow exceptions in both product and test code of
System.Security.AccessControl. Note that there could be more overflows
masked by issue dotnet/corefx#15041.

Fix dotnet/corefx#16315


Commit migrated from https://github.com/dotnet/corefx/commit/0111593140bc0dcbee3d629a12eac0c5cb1ca936
2017-02-21 08:35:36 +01: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
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
Dennis "D.C." Dietrich 3fb56158ab Marking code as unchecked (pt 4) (dotnet/corefx#15976)
Marking code that may intentionally lead to over or underflows with
unchecked in preparation of turning on CheckForOverflowUnderflow for
all projects (issue dotnet/corefx#3140)

Commit migrated from https://github.com/dotnet/corefx/commit/f0821445f12bf2fc7957cec9556389f511053526
2017-02-09 09:10:51 -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
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
Mandar Sahasrabuddhe 8efca27336 Remove Comments with <SecurityKernel ..> (dotnet/corefx#15374) (dotnet/corefx#15724)
Commit migrated from https://github.com/dotnet/corefx/commit/0148aa1a458f086bcf02570d670f9e93714e4cb1
2017-02-02 12:26:37 -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
Ian Hays 7279af8f75 Remove AccessControl OOM tests
An OOM from the constructor isn't something we should even be testing in this case, especially not in an innerloop test. Better just to remove it.


Commit migrated from https://github.com/dotnet/corefx/commit/13a98bc9c26d5467997b199215dce91ccfc22620
2017-01-27 11:58:46 -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
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
Jose Perez Rodriguez d8c73049e5 Cleaning up src.builds and tests.builds and build System.Configurations
Commit migrated from https://github.com/dotnet/corefx/commit/66f67539ce9fad8d7d3381196e674289c5789202
2017-01-11 10:34:25 -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