Commit graph

73 commits

Author SHA1 Message Date
Bryan
e6a58df9ca fixup Additional references which bring in the new System.Runtime.Extensions 2016-01-21 17:37:06 -08:00
Mihai Codoban
45c305e5a2 Disambiguate the intermediate directory
Parallel test runs were racing on the same response file in the common
intermediate directory.
Each builder test now has it's own intermediate directory
2016-01-20 16:07:25 -08:00
Mihai Codoban
3a8ef0f5e9 Add Tests for incrementality 2016-01-20 16:07:12 -08:00
Andrew Stanton-Nurse
4834f836df force TestHost to stay in rc2 land 2016-01-20 10:45:21 -08:00
David Fowler
7972586c31 Steps to boostrapping with NuGet
- Fixed a bunch of dependencies that was causing dotnet restore to fail on the CLI
- Added imports to `project.json` so that `dotnet-restore` works
- Fixed a bunch of dependency issues in different projects
- Ironically, running `dotnet restore` on the dotnet-restore project still fails (will fix in another commit). Looks like it might be a nuget issue
2016-01-20 18:15:07 +00:00
Andrew Stanton-Nurse
3d493f7d9d switch from DNX to cross-plat NuGet! 2016-01-19 11:43:09 -08:00
Troy Dai
479a81a576 Update message sequences of ProjectModel server
Send References ahead of Dependencies
2016-01-15 20:03:29 -08:00
Troy Dai
68c0edff17 Enable to initialize a project before restore
1. Check the lock file path first.
2. Update tests
2016-01-15 16:05:18 -08:00
Andrew Stanton-Nurse
e27c583443 allow use of compilationOptions.nowarn to suppress warnings.
fixes #576
2016-01-14 15:45:43 -08:00
Pavel Krymets
82013acbb2 Merge pull request #815 from dotnet/pakrym/dllconfig
Add support for .config file generation for test projects
2016-01-14 13:51:35 -08:00
Pavel Krymets
b02dbc45f4 Add support for .config file generation for test projects 2016-01-14 12:23:26 -08:00
Troy Dai
ce3e719a06 Update ProjectModel server
1. Rebase on new LibraryExporter
2. Update dependency name to "fx/<name>" for reference assembly
3. Update framework friendly name
4. Fix dependency message regression
5. Update tests
2016-01-14 10:11:31 -08:00
Troy Dai
32e7f3bc7a Fix test build break 2016-01-13 10:28:33 -08:00
Piotr Puszkiewicz
1e423d4f1b Merge pull request #798 from piotrpMSFT/piotrpMSFT/issue797/emptyNuget
Fix empty NuGets
2016-01-13 00:32:02 -08:00
piotrp
2ef4f6f0bf Fixing clashing dependencies that only exhibited once we started publishing nupkg-only projects. 2016-01-12 14:32:54 -08:00
Mihai Codoban
bedeaaf2dc Compile incrementally
- Clone the args in the CompileContext constructor to bring uniformity
to the way args are accessed

- Compute IO for a project and have it shared between build and compile

- Extract dependency logic into facade

- Add tests for incremental build

- Add precondition checks for compiler IO

add --force-incremental-unsafe flag
2016-01-12 13:16:52 -08:00
moozzyk
0e4719ee95 Adding pre/post publish scripts
Fixes #742
2016-01-12 09:41:59 -08:00
piotrp
5cd64066c4 Packaged Commands 2016-01-09 16:50:31 -08:00
Andrew Stanton-Nurse
78cef18e1c add support for generating xml documentation
fixes #312
2016-01-08 14:02:41 -08:00
Andrew Stanton-Nurse
02d28537f8 clean up E2E test xprojes 2016-01-08 10:09:32 -08:00
Andrew Stanton-Nurse
f4df12f2e2 add proper RID detection based on PlatformAbstractions 2016-01-08 10:07:58 -08:00
Bryan
17176edb80 Remove StreamForwarder Tests from E2E 2016-01-06 15:30:56 -08:00
Sridhar Periyasamy
2ebb28819e Enable running tests for CentOS
CentOS tests were blocked due to issue https://github.com/dotnet/corefx/issues/5066.
It has been fixed with the latest NetStandardLibrary, hence upgrading from 1.0.0-rc2-23616 to 1.0.0-rc2-23704.
With this fix the native shims are correctly restored by dnx for RID centos.7-x64.
2016-01-05 18:11:38 -08:00
Bryan
7425691fe6 Fixup some Usings Statements. Remove SkipForOS function in favor of ActiveIssue 2016-01-05 16:05:43 -08:00
Bryan
18d17ce8c5 End to End Test Refactoring. Build upon Publish Test Infrastructure and add
capability for further testing.s enter the commit message for your changes. Lines starting
2016-01-05 13:40:33 -08:00
Bryan Thornbury
892c393509 Assert StdErr is empty for E2E Test
This is a quick fix to improve test diagnosability with the E2E Test. 

We see situations where the output executable fails and we are left without any error output. 

This addition should output any stderr output from the output executable.

cc @piotrpMSFT
2016-01-04 12:56:22 -08:00
David Fowler
4b07b2d034 Project model server cleanup
- Removed unused message types
- Removed intermediate ProjectInfo and ProjectState types
- Renamed Snapshot to ProjectSnapshot and ProjectSnapshot to ProjectContextSnapshot
- Exposed Project on ProjectContextCollection
- Removed AllDiagnostics message since it won't be used
- Renamed ProjectContextManager to ProjectManager
- Create project context snapshot in one pass
- Create project contexts lookup inline
- Consistent naming of payloads
2016-01-03 00:34:00 -08:00
Bryan
2cd6a97b0b Add NuGet.config to TestProjects. This resolves VSO build failures. 2015-12-29 14:41:26 -08:00
Piotr Puszkiewicz
d1a257bff7 Merge pull request #625 from cdmihai/buildCommandWithSafetyChecks
Introduce --build-profile flag and precondition checking in the Build command
2015-12-28 10:46:27 -08:00
Troy Dai
935cd4e281 Add ProjectModel server 2015-12-25 13:23:29 -08:00
Enrico Sada
d52bc92155 add command dotnet-compile-fsc
used with "compilerName": "fsc" in project.json
2015-12-24 11:26:09 +01:00
Mihai Codoban
110b30ccdc Extract build from compile
Build becomes the new compile. It decides which project to compile and how. It checks for incremental preconditions
Compile's resonsibility is trimmed down to only knowing how to invoke the compiler on a project
2015-12-23 17:31:47 -08:00
Gaurav Khanna
0b2a6fee2e Pickup headers from ILCompiler.SDK
Add support for --cppcompilerflags switch to enable passing custom native compiler arguments.
2015-12-23 08:51:20 -08:00
Sridhar Periyasamy
3395b43bd9 Merge pull request #508 from Sridhar-MS/publish-tests2
Dotnet publish tests
2015-12-18 15:36:29 -08:00
Bryan Thornbury
e8a7228feb Dotnet pack test
Enable Dotnet Pack Test..

Not sure why this method didn't have a fact attribute. Thanks for pointing this out @krwq
2015-12-18 11:34:55 -08:00
Sridhar Periyasamy
55b9697b74 Merge branch 'master' of https://github.com/dotnet/cli into publish-tests2 2015-12-17 18:16:33 -08:00
Gaurav Khanna
8ef4d95097 Enable native compilation JIT tests for Mac. 2015-12-17 14:53:57 -08:00
Bryan
b9476d3c2c skip ryujit test on ubuntu 2015-12-16 15:01:27 -08:00
Sridhar Periyasamy
6046de8efe Address PR feedback. 2015-12-16 13:04:29 -08:00
Bryan
2139df7b0b update e2e dependencies 2015-12-16 11:48:39 -08:00
Sridhar Periyasamy
f910bc9eff Merge branch 'publish-tests1' of https://github.com/sridhar-ms/cli 2015-12-14 17:42:22 -08:00
Sridhar Periyasamy
07eb7ef28f Dotnet publish tests 2015-12-14 17:39:29 -08:00
Charles Stoner
6a15c33492 Merge pull request #424 from cston/prompt
Allow unbuffered forwarding of output
2015-12-10 09:18:18 -08:00
Charles Stoner
ac017ea3ee Forward output unbuffered 2015-12-09 15:20:58 -08:00
Piotr Puszkiewicz
1a26013455 Merge pull request #400 from piotrpMSFT/piotrpMSFT/issue374/dotnet-new
dotnet-init --> dotnet new
2015-12-08 21:48:16 -08:00
Piotr Puszkiewicz
68216b80cf Merge pull request #434 from dotnet/anurse/401-loader
Add ProjectAssemblyLoadContext
2015-12-08 16:30:33 -08:00
Andrew Stanton-Nurse
2f5465fea3 even more pr feedback 2015-12-08 12:03:03 -08:00
Andrew Stanton-Nurse
38a7836a52 more pr feedback 2015-12-08 12:00:59 -08:00
Andrew Stanton-Nurse
4e6244d8a8 add ProjectAssemblyLoadContext
allows the loading of assemblies in the context of an existing project
2015-12-08 11:30:25 -08:00
piotrp
568eb3aae7 dotnet-init --> dotnet new
Fixes issue #374
2015-12-08 10:37:31 -08:00