cartermp
07b581f091
Add missing comma to F# lib project.json
2016-08-31 12:13:31 -07:00
Ryan Nowak
9646db0cc8
Update cshtml wildcard in publishOptions
...
Updating the publishOptions wildcard that used to publish everything in
the views folder to now publish all .cshtml files. The problem was that
the old wildcard only included the Views folder and didn't include
anything in the Areas/*/Views folders (used by views inside areas).
This change makes things much simpler, all .csthml files are published.
2016-08-31 11:31:10 -07:00
cartermp
5d8aedebf3
Don't print arguments in F# console app
2016-08-31 11:27:18 -07:00
cartermp
0c10baa40d
Update F# dotnet-new templates for Preview 2 (Enrico Sada rebase)
...
This updates the F# templates for dotnet-new to be compatible with Preview 2.
2016-08-31 11:26:41 -07:00
Ryan Nowak
01caa0fb4f
Update MVC version to 1.0.1
...
We're shipping a new patch of all MVC packages in 1.0.1. This bumps up the
version number of the MVC metapackage so that projects created with
`dotnet new` get the latest version.
2016-08-31 11:22:43 -07:00
Sridhar Periyasamy
8fcfc2af05
Upgrade Corefx and coreclr references
...
Microsoft.NetCore.App 1.0.0 => 1.0.1
Microsoft.NETCore.Runtime.CoreCLR 1.0.2 => 1.0.4
CLI Branding "Microsoft .NET Core 1.0.0 - SDK Preview" => "Microsoft .NET Core 1.0.1 - SDK 1.0.0 Preview 2-003122"
List of changes
- all project.jsons
- dotnet new templates
- and build projects files
- shared-build-targets-utils\DependencyVersions.cs
- CliDependencyVersions.cs
2016-08-31 10:41:47 -07:00
Livar Cunha
0c60dc7c2e
Fixing the version back to preview3 and the channel to rel-1.0.0
2016-08-30 21:32:45 -07:00
PiotrP
a6ee3df5b2
Merged branch feature/msbuild into piotrpMSFT/branchmerge
2016-08-30 14:10:47 -07:00
Piotr Puszkiewicz
74a9a533bd
Merge pull request #4121 from dotnet/piotrpMSFT/revmsbuild
...
Update msbuild version to latest
2016-08-30 14:03:18 -07:00
Bryan Thornbury
b0554d3ff3
PR Feedback
2016-08-30 12:00:56 -07:00
Bryan Thornbury
b900f0b327
Solution and project cleanup
2016-08-30 12:00:08 -07:00
Bryan Thornbury
d8556d1ed7
Include context fixes to include the default files even when buildoptions is empty, so we have less custom logic in the migration library
2016-08-30 11:56:56 -07:00
Bryan Thornbury
611e4ccfde
dotnet-migrate built in command for cli
2016-08-30 11:56:53 -07:00
Bryan Thornbury
46818ff3fa
Microsoft.DotNet.ProjectJsonMigration core library
2016-08-30 11:56:03 -07:00
PiotrP
c74370b636
Update MSBuild version
2016-08-30 11:18:40 -07:00
PiotrP
ec23abadec
Update MSBuild version
2016-08-30 10:31:04 -07:00
PiotrP
3cdd15a145
Merged branch feature/msbuild into piotrpMSFT/branchmerge
2016-08-30 10:30:45 -07:00
Livar
be8428cb6c
Merge pull request #4102 from livarcocc/test_without_pj
...
Adding the capability to run tests against a published dll
2016-08-29 21:58:13 -07:00
Piotr Puszkiewicz
eff2beeb7d
Clean up dead code
2016-08-29 10:27:53 -07:00
Livar Cunha
7d60d66a86
Addressing more code review comments.
2016-08-29 09:46:12 -07:00
Piotr Puszkiewicz
8eecff0112
Address build issues
2016-08-27 15:57:14 -07:00
Piotr Puszkiewicz
ab1797cb29
Merged branch feature/msbuild into piotrpMSFT/branchmerge
2016-08-26 22:39:40 -07:00
Piotr Puszkiewicz
1ce482a8d1
Merge remote-tracking branch 'refs/remotes/origin/rel/1.0.0'
...
Conflicts:
scripts/obtain/dotnet-install.ps1
src/dotnet/commands/dotnet-new/CSharp_xunittest/project.json.template
2016-08-26 22:39:14 -07:00
PiotrP
ae4a690724
Fix tests
...
Missing namespace
Re-enable dotnet-nuget unit tests
2016-08-26 18:14:04 -07:00
PiotrP
336ecc0e89
Merge Nuget changes
...
Fix pack
Move dotnet-nuget to NuGetForwardingApp [tests will need to be fixed]
2016-08-26 17:23:33 -07:00
Livar Cunha
9f2a0169fc
Addressing code review comments.
2016-08-26 11:23:47 -07:00
Livar Cunha
b09a6c6350
Adding dotnet-test-console to the list of generated nupkgs and fixing some namespace for the new command resolvers.
2016-08-25 23:14:25 -07:00
Livar Cunha
e8f2dabcdb
Fixing broken tests after my changes to the CommandResolvers.
2016-08-25 22:53:04 -07:00
Livar Cunha
55c00a7e45
Adding a resolution chain to the command resolution chain that works based on a directory, more specifically, the publish directory.
2016-08-25 16:01:32 -07:00
Simon de Lang
8f92f0d74b
Update xunit dependencies for CSharp_xunittest template
2016-08-25 15:02:52 +02:00
Livar Cunha
7e556e37d2
Adding a separate runner for project.json and for assembly.
2016-08-24 15:24:30 -07:00
Nick Guerrera
2accc15543
Add missing msbuild dependency
...
This is a workaround until the msbuild .nupkg manifests
the dependency correctly
2016-08-24 10:29:53 -07:00
Nick Guerrera
c702957730
Update to new msbuild
2016-08-24 10:10:20 -07:00
Eric Erhardt
a543050c62
Update the Sdk version to the latest build.
2016-08-23 13:44:07 -05:00
Livar Cunha
dddfb6bb45
Adding new unit tests to cover TestRunner in DotnetTestParams.
2016-08-23 11:26:37 -07:00
Livar Cunha
0667e84069
Added an ITestRunnerResolverFactory that decides on which resolver to use based on the set of parameters received.
2016-08-22 21:29:14 -07:00
Livar Cunha
8e432e567a
Adding TestRunner resolvers that will be able to find a test runner based on different criteria.
...
Moving dotnet test command to its own library that can be shared between dotnet test and the test target in the SDK folder.
2016-08-22 15:45:13 -07:00
Adam Baxter
feb6a1484d
Rename Microsoft.DotNet.Compiler.Common.xproj to match the casing in the .sln
...
Allows nuget restore to run (but fail) on case sensitive filesystems/platforms
2016-08-22 22:30:48 +10:00
Piotr Puszkiewicz
578adf072c
Merge remote-tracking branch 'refs/remotes/origin/feature/msbuild'
...
Conflicts:
src/dotnet/Program.cs
2016-08-18 18:08:45 -07:00
Piotr Puszkiewicz
c5cc9feb6d
Update xunit template
2016-08-18 17:10:20 -07:00
Piotr Puszkiewicz
e92c9603c8
Test reliability and format cleanups
2016-08-18 17:10:20 -07:00
Rohit Agrawal
e08da40a1f
added pack3 command for dotnet ( #4058 )
2016-08-18 16:53:55 -07:00
Joel Verhagen
aacc30d5d8
Add "path" property the .deps.json file for libraries
...
Update DependencyModel and PlatformAbstractions packages to 1.0.1-beta-000917
Update dotnet-test-xunit to 1.0.0-rc2-330423-54
2016-08-18 15:57:03 -07:00
Livar Cunha
86f8115ee7
Updating the System.Reflection.Metadata version and changing the order of platform assemblies passed to crossgen.
2016-08-17 16:42:19 -07:00
Piotr Puszkiewicz
2db1997bc0
Merge remote-tracking branch 'refs/remotes/origin/feature/msbuild'
...
Conflicts:
Microsoft.DotNet.Cli.sln
build_projects/dotnet-cli-build/DebTargets.cs
build_projects/dotnet-cli-build/TestTargets.cs
scripts/package/package-debian.sh
src/Microsoft.Extensions.DependencyModel/DependencyContextJsonReader.cs
src/dotnet/commands/dotnet-new/Program.cs
src/dotnet/commands/dotnet-pack/PackageGenerator.cs
test/Microsoft.Extensions.DependencyModel.Tests/DependencyContextJsonReaderTest.cs
2016-08-16 18:30:52 -07:00
drewgil
11b666acee
Add nuget command to dotnet cli
2016-08-16 09:27:55 -07:00
Justin Emgarten
51ea2e6014
Adding Restore3 command for msbuild restore support.
2016-08-12 00:05:21 -07:00
Eric Erhardt
6cf2167992
Update the CLI to use the new Core SDK nuget package.
...
No need for build3 to set Platform properties and BaseNuGetRuntimeIdentifier. The SDK handles that.
Also, no need to set "runtimes" any more in the default project.json.
2016-08-11 12:05:28 -05:00
Eric Erhardt
f48effff61
Add System.Resources.Writer to src\dotnet\project.json
2016-08-10 20:08:54 -05:00
Eric Erhardt
94223a7009
Tell dotnet restore
to install nuget.props and nuget.targets files using an environment variable, so the SDK .targets are installed into the user's project.
2016-08-10 20:08:17 -05:00
Eric Erhardt
736652fe71
Remove the SDK artifacts from the CLI.
...
These are now contained in github.com/dotnet/sdk.
2016-08-10 20:08:17 -05:00
Livar Cunha
8bb7e01f0f
Fixing a version conflict in Testing.Abstractions and bumping InternalsAbstractions version to 2.0.0, since I removed some public APIs from it.
2016-08-10 13:40:27 -07:00
Livar Cunha
dc7f1fdf84
Updating the xunit version to one that does not depend on internalabstractions.
2016-08-10 13:40:13 -07:00
Livar Cunha
b7b90175f4
Removing the public types from InternalAbstractions.
2016-08-10 13:39:49 -07:00
Livar Cunha
0a55a7cb99
Updating the msbuild changes to handle DependencyModel coming from core-setup instead of a project dependency.
2016-08-10 13:39:49 -07:00
Livar Cunha
e900e23544
Updating dependencies to use the new dependencymodel and platformabstractions. Also updated the xunit template to add internalabstractions.
...
Conflicts:
src/Microsoft.DotNet.Cli.Utils/project.json
test/dotnet-build.Tests/BuildOutputTests.cs
2016-08-10 13:39:49 -07:00
Livar Cunha
ee1474c161
Removing dependency model from CLI repo.
...
Conflicts:
Microsoft.DotNet.Cli.sln
build_projects/dotnet-cli-build/PackageTargets.cs
build_projects/dotnet-cli-build/TestPackageProjects.cs
build_projects/dotnet-cli-build/TestTargets.cs
src/Microsoft.Extensions.DependencyModel/CompilationLibrary.cs
src/Microsoft.Extensions.DependencyModel/DependencyContext.cs
src/Microsoft.Extensions.DependencyModel/DependencyContextLoader.cs
src/Microsoft.Extensions.DependencyModel/DependencyContextPaths.cs
src/Microsoft.Extensions.DependencyModel/DependencyContextWriter.cs
src/Microsoft.Extensions.DependencyModel/Resolution/AppBaseCompilationAssemblyResolver.cs
src/Microsoft.Extensions.DependencyModel/Resolution/PackageCacheCompilationAssemblyResolver.cs
src/Microsoft.Extensions.DependencyModel/Resolution/ResolverUtils.cs
src/Microsoft.Extensions.DependencyModel/project.json
test/Microsoft.Extensions.DependencyModel.Tests/DependencyContextJsonWriterTests.cs
test/Microsoft.Extensions.DependencyModel.Tests/FunctionalTests.cs
test/Microsoft.Extensions.DependencyModel.Tests/PackageCacheResolverTest.cs
test/Microsoft.Extensions.DependencyModel.Tests/PackageResolverTest.cs
2016-08-10 13:39:49 -07:00
Piotr Puszkiewicz
b3f5174f00
PR Feedback
2016-08-09 14:49:13 -07:00
Piotr Puszkiewicz
3a55a4182f
src/redist/project.json
2016-08-09 13:22:22 -07:00
Eric Erhardt
2bea6bac83
Move 14.1 to 15.0 now that MSBuild is version 15.0.
2016-08-09 10:28:50 -05:00
Zlatko Knezevic
3abada74d4
Update HelpCommand.cs
...
Changing the text from "Common Commands" to just "Commands" to indicate that these are in the box, so to speak.
2016-08-07 07:31:28 -07:00
Piotr Puszkiewicz
79648f9ccb
Update stage0 msbuild
2016-08-07 01:51:47 -07:00
Tomáš Matoušek
8f00e03c43
Merge pull request #3989 from tmat/AnyDebugType
...
Pass debugType thru to the command line compiler
2016-08-04 13:14:42 -07:00
Tomas Matousek
dfbea3df34
Pass debugType thru to the command line compiler
2016-08-03 18:08:14 -07:00
jplebre
408d083525
eeeek! (sorry, wrong dependency version edited)
2016-08-03 22:06:17 +01:00
jplebre
4508884c42
clean up and added nunit command to README
2016-08-03 22:06:17 +01:00
jplebre
09d37fe3ec
removed the -* from version numbers in xunit and nunit templates
2016-08-03 22:06:17 +01:00
jplebre
82bf84f46b
projec.json should be the same as nunit's template
2016-08-03 22:06:17 +01:00
jplebre
b889e97a88
fixed trailing commas
2016-08-03 22:06:17 +01:00
jplebre
069a351971
adding nunit test to the list of commands
2016-08-03 22:06:17 +01:00
Bryan Thornbury
308f49c32e
Merge pull request #3983 from brthor/brthor/runtimeoptions
...
Add support for user runtimeconfig
2016-08-03 10:51:33 -07:00
Bryan Thornbury
931e8fdf96
Add support for user runtimeconfig
2016-08-02 16:18:19 -07:00
Livar
32d273580f
Merge pull request #3981 from livarcocc/dependency_model_change_from_rel100
...
Merge the JsonTextReader change from rel/1.0.0 to feature/msbuild
2016-08-02 14:23:43 -07:00
Pavel Krymets
ee6063b12b
Use JsonTextReader in DependencyContextJsonReader ( #3972 )
...
Using low level JsonTextReader in DependencyContextJsonReader class for performance reasons
2016-08-02 13:16:44 -07:00
Eric Erhardt
ddb6a877af
Add netstandard1.3 TFM to DependencyModel so the MSBuild task can target netstandard1.3 and still use it to write the .deps.json file.
2016-08-02 14:53:19 -05:00
Pavel Krymets
b7075b857b
Use JsonTextReader in DependencyContextJsonReader ( #3972 )
...
Using low level JsonTextReader in DependencyContextJsonReader class for performance reasons
2016-08-02 10:02:30 -07:00
Eric Erhardt
df3fea3736
Merge pull request #3962 from eerhardt/msbuild-GenerateDepsFile
...
Implement GenerateDepsFile MSBuild Task
2016-08-01 20:17:05 -05:00
Eric Erhardt
b5d312e7fa
PR feedback.
2016-08-01 19:06:46 -05:00
Eric Erhardt
10cfa744e5
PR feedback.
...
Implement VersionPrefix and VersionSuffix MSBuild properties.
Use FluentAssertions in the test.
2016-08-01 15:02:22 -05:00
Eric Erhardt
b3e69b139e
Update NuGet to 3.5.0-rc1-1697
2016-08-01 13:58:04 -05:00
Eric Erhardt
a4aa0a99cd
Implement GenerateDepsFile MSBuild Task
2016-07-29 20:46:34 -05:00
Livar Cunha
b05b0e6dc5
After NuGet started lower casing the packages, we started hitting issues where we failed to locate dependencies under our list of libraries due to different casing in the libraries names. The fix here is to compare the library names ignoring casing.
2016-07-28 21:17:32 -07:00
Eric Erhardt
eca827e0d4
Merge pull request #3922 from blackdwarf/templatesfix
...
Remove namespace and public from console app
2016-07-27 07:53:23 -05:00
Eric Erhardt
104ca5219d
Ensure additional probing paths don't have a trailing slash.
...
Workaround for https://github.com/dotnet/core-setup/issues/228 .
2016-07-26 22:27:25 -05:00
Eric Erhardt
ba0f71f5a5
Use object serialization to write the runtime config files.
2016-07-26 21:56:47 -05:00
Eric Erhardt
efc0efe4f9
Workaround native deps resolver not lower casing the file paths into the NuGet cache.
...
This is needed until https://github.com/dotnet/core-setup/pull/64 is merged.
2016-07-26 21:00:14 -05:00
Eric Erhardt
a48def9ade
Fix package code for new NuGet.
...
The new NuGet uses tolower paths, and we need to react to it.
Port https://github.com/dotnet/cli/pull/2722
Port https://github.com/dotnet/cli/pull/3554
2016-07-26 20:53:20 -05:00
Eric Erhardt
2ac8ca0e07
Update Microsoft.NuGet.Build.Tasks to 1.0.0-alpha-000002, which has the casing fix for Microsoft.Net.Compilers.netcore dependency.
2016-07-26 20:53:19 -05:00
Eric Erhardt
369a6894dd
Fix the casing of Microsoft.Net.Compilers.netcore since the latest NuGet cares about this now.
2016-07-26 20:53:18 -05:00
Eric Erhardt
6eabeb9be0
Generate runtimeconfig.json and runtimeconfig.dev.json from MSBuild
...
Moves generating the runtimeconfig files to a separate MSBuild target which is only dependent on project.lock.json.
Also, moving up our NuGet dependency to 3.5.0-rc1-1653, since that brings in the LockFile.PackageFolders property, which is needed for runtimeconfig.dev.json.
2016-07-26 20:53:17 -05:00
Piotr Puszkiewicz
dd43ccb688
Piotrp msft/merge2msbuild ( #3941 )
...
* Add Test for removing readonly flag when copying readonly library assets
* change namespace
* PR Feedback
* Fix newlines in the first run experience message
The newlines in the first run experience were missing which made the text
look a little squashed.
Fixes #3909
* Update README.md (#3904 )
* Update README.md
* Responding to PR feedback
* Responding to PR feedback
2016-07-26 19:22:12 -04:00
Bryan Thornbury
7c71af8db5
get Eric's change
2016-07-25 14:06:46 -07:00
Bryan Thornbury
5d96412b14
change feature-msbuild branch versions
2016-07-25 14:05:41 -07:00
Zlatko Knezevic
6766017ffb
Responding to PR feedback
2016-07-22 12:11:01 -07:00
Zlatko Knezevic
252be27100
Remove namespace and public from console app
...
Fixes #745 , #3531
2016-07-22 11:56:05 -07:00
Eric Erhardt
c317c92691
Correcting the casing of Microsoft.Common.targets directory
2016-07-22 07:04:24 -05:00
Eric Erhardt
3a446ec5d4
Fixing the Sdk.props to work correctly for Release config and xplat pdb creation.
2016-07-22 07:04:24 -05:00
Eric Erhardt
5296b28db7
Removing all PlatformTarget setting in the default Sdk.props file.
...
This value is passed in by the CLI.
2016-07-22 07:04:23 -05:00
Zlatko Knezevic
d14fda084b
Fix newlines in the first run experience message
...
The newlines in the first run experience were missing which made the text
look a little squashed.
Fixes #3909
2016-07-21 23:00:26 -07:00
Eric Erhardt
69619c0716
PR feedback.
2016-07-21 18:17:20 -05:00
Eric Erhardt
f0afc7eb79
Minor cleanup.
2016-07-21 12:41:20 -05:00
Eric Erhardt
9751b3203c
Remove the Sdk nuget package.
2016-07-21 12:18:00 -05:00
Eric Erhardt
b068687413
Implement 'run3' command which will execute the MSBuild project.
...
Also create a 'dotnet new -t msbuild' template.
2016-07-21 11:57:20 -05:00
Eric Erhardt
bccff16c18
Round 2: rename the SDK NuGet package and add ImportBeforeAfter files to load them.
2016-07-21 11:57:19 -05:00
Eric Erhardt
30712966cc
Prototype round #1 of .NET Core MSBuild .props and .targets.
2016-07-21 11:57:18 -05:00
Eric Erhardt
d2db776d87
Merge rel/1.0.0 into feature/msbuild.
2016-07-18 14:44:06 -05:00
Eric Erhardt
164244f4df
Merge pull request #3760 from svick/broken-links
...
Fixed docs links in READMEs
2016-07-14 15:20:17 -05:00
Ajay Bhargav Baaskaran
01021a0a6d
Addressed feedback
2016-07-13 15:52:23 -07:00
Ajay Bhargav Baaskaran
dbf7435c3c
[ Fixes #3502 ] Fix: publishOptions: [...] not respected
2016-07-13 15:09:22 -07:00
Ajay Bhargav Baaskaran
c748c81a4a
[ Fixes #3856 ] Allow mapping of the same file to multiple target paths
2016-07-13 14:56:22 -07:00
Eric Erhardt
703da0da3e
Microsoft.NuGet.ImportBefore and ImportAfter
...
Add Microsoft.NuGet.ImportBefore and ImportAfter files so .nuget.props and .nuget.targets files get picked up invoking 'dotnet build3'.
I also fixed some .xproj and .sln file issues to get our code to work in VS.
2016-07-12 18:44:16 -05:00
cartermp
e1be430f59
Add missing comma to F# lib project.json
2016-07-12 15:33:18 -07:00
Eric Erhardt
fc73287c53
Merge pull request #3789 from cartermp/fs-update
...
Update F# dotnet-new templates for Preview 2 (Enrico Sada rebase)
2016-07-12 13:45:43 -05:00
Piotr Puszkiewicz
08e9bc903e
CLI Testing via msbuild ( #3779 )
...
* Rebase
* Remove Multi-Project Validator
* Remove projectmodelserver tests
* Enable test package creation
* Incremental test restore
* WiP
* Enable Test Asset Project restore
* Build Test Assets & Restore Test Projects
* Build Test projects
* Enable Test Execution
also moves Test Targets to a well-known CLI Version [Stage 2]
* Pass throuh existing telemetry profile
* 2-space tabs
* Revert TestTargets.cs
* WiP PR feedback
* Refactoring
* Fix naming of RestoreTestAssetPackages
* DotNetTest task
* Fix merge issue
* ExecuteWithCapturedOutput
MSBuild considers StdErr output to be failures. This causes output of any test command which is expected to produce an error to be swallowed in the test.
* Workaround for always-on tracing functionality in dotnet-test
* Fix Path Separator Windows/Unix
* Seperate package build from pack
* Windows Pathing issues
* PR Feedback
* Workaround for msbuild #773
https://github.com/Microsoft/msbuild/issues/773
2016-07-11 12:46:27 -07:00
Livar
ec7fc0fc2d
Merge pull request #3822 from csMACnz/patch-1
...
Fix typo in `Avaiable` for `dotnet new --type` error output
2016-07-11 10:13:52 -07:00
Eric Erhardt
fa59167974
Merge pull request #3794 from freefair/rel/1.0.0
...
Fixed bug in build process with ReadOnly file flag
2016-07-11 09:25:21 -05:00
Mark Clearwater
6df15c341a
Fix typo in Avaiable
...
* Should be Available
2016-07-09 19:10:54 +01:00
Livar Cunha
17ef19e788
Removing ForwardStdOut and ForwardStdErr from the ConsoleTestRunner and from dotnet verbs that are not built-in. BuiltIn verbs were already not using it.
2016-07-07 14:51:35 -07:00
cartermp
fd1da95522
Don't print arguments in F# console app
2016-07-07 14:00:42 -07:00
Dennis Fricke
38f75fd5c5
Update LibraryExporterExtensions.cs
...
- removed space
| moved method below StructuredCopyTo
2016-07-07 15:16:10 +02:00
Dennis Fricke
2084a099b8
Update LibraryExporterExtensions.cs
...
tabs -> spaces
2016-07-06 16:55:35 +02:00
Dennis Fricke
f769f9ea1c
Update LibraryExporterExtensions.cs
2016-07-06 16:12:13 +02:00
cartermp
51e7ab465b
Update F# dotnet-new templates for Preview 2 (Enrico Sada rebase)
...
This updates the F# templates for dotnet-new to be compatible with Preview 2.
2016-07-05 21:38:12 -07:00
Petr Onderka
c6e42cfe7e
fixed docs links in READMEs
2016-07-01 19:33:36 +02:00
PiotrP
5ed1371cd9
Remove Project Model Server
2016-06-30 14:31:08 -07:00
kloun
1706eb19f9
del duplicate newline
2016-06-29 23:54:31 +03:00
Piotr Puszkiewicz
d6849c2fa1
Piotrp msft/3628 rebase ( #3694 )
...
* fix typo
* doc
2016-06-28 16:29:36 -07:00
Petr Onderka
f811069898
Fixed OutputPath in Configurer xproj ( #3685 )
...
This is required for building in VS.
2016-06-24 11:10:58 -07:00
Eric Erhardt
cec5bacaad
Merge branch 'feature/msbuild' of https://github.com/dotnet/cli.git
2016-06-23 17:52:51 -05:00
Bryan Thornbury
400e1db3b9
dotnet-build3 Adding msbuild execution command to cli
2016-06-23 13:57:33 -07:00
Petr Onderka
63846c5751
Added valid --type values to dotnet help new ( #3644 )
...
Used approach that ensures valid values for --lang and --type
in dotnet help new are always up to date.
2016-06-22 15:20:40 -07:00
Petr Onderka
90b7617dc5
Fixed links in dotnet READMEs ( #3642 )
...
Also renamed dotnet-test README for consistency.
2016-06-22 15:19:10 -07:00
Piotr Puszkiewicz
9d01e3bc2e
Merge rel/1.0.0-preview2 to rel/1.0.0 ( #3677 )
...
* Update README.md
* Moving Ubuntu 16.04 to be next to Ubuntu 14.04
* Adding Oracle Linux and Linux Mint to the titles
Adding Oracle Linux and Linux Mint to the titles next to their compatible binaries.
* Remove showing firsttime eula for non verbs.
* Add Serviceable assembly attribute and nuspec attributes for all shipping CLI assemblies.
Fix #3345
* Use NugetCache Sentinel for Telemetry setting.
* Fix Oracle Linux version in README.md
Oracle Linux 7 -> Oracle Linux 7.1
* Fix README to use hostfxr download links (#3622 )
Also fix a rebase error from b524fd079e6dcdd744faeb6061ccbfe99d1f810f#diff-04c6e90faac2675aa89e2176d2eec7d8
* Remove the VS2012 CRT dependency from docs (#3632 )
* fix typo in dotnet-install file
This was needed to rebuild the CLI with the updated Roslyn NuGet packages.
Thanks goes to @akoken for the fix.
2016-06-22 15:17:54 -07:00
Eric Erhardt
04f40f906d
Merge pull request #3472 from svick/master-branch-links
...
Fixed broken links pointing to master branch
2016-06-17 14:35:30 -05:00
Troy Dai
c321323dff
Merge pull request #3308 from dotnet/troy-2995
...
Fix dependencies type changes scenario in project model server.
2016-06-16 10:32:59 -07:00
Petr Onderka
90d32ab3de
Fixed broken links pointing to master branch
2016-06-16 18:37:26 +02:00
Eric StJohn
56ca4285f9
Merge pull request #3604 from ericstj/archiveNoCopy-1.0
...
Archiver should not keep files Open
2016-06-16 09:00:43 -07:00
Troy Dai
b3f67b5bef
Update parameter names
2016-06-15 23:25:06 -07:00
Troy Dai
97da0b0696
Fix dependencies type changes scenario in project model server.
2016-06-15 23:24:03 -07:00
Josh Free
ef9ad4044a
Merge pull request #3579 from Priya91/rel/1.0.0-preview2
...
Remove showing firsttime eula for non verbs.
2016-06-15 17:02:34 -07:00
Eric St. John
0363308fd1
Archiver should not keep files Open
...
Previously I attempted to save the cost of reading/decompressing files
by keeping a copy in memory. That resulted in too much memory pressure
so I later swapped in temporary files. This defeated the initial goal
of keeping the streams alive to some extent since the files would
be flushed to disk.
In practice since all the nupkgs we are packing also have raw files so
we weren't even saving much CPU by avoiding a second decompression.
Switch the archiver to just first index all files and save the source
information to read at a later point. After this when building the
archive we'll reopen the files/zips and copy from there.
My measurements show that this actually improve the archiving perf and
the lack of temp files means we don't hit the ulimit restriction on OSX.
2016-06-15 16:12:10 -07:00
Troy Dai
8c67ac9272
Add comments for refresh dependency trigger
2016-06-15 16:07:47 -07:00
Troy Dai
64c49d972a
Add test to ensure refresh dependencies' consistency
2016-06-15 16:07:47 -07:00
Troy Dai
4c475002ec
Enable project model server to clear cache forcefully
2016-06-15 16:07:47 -07:00
Lakshmi Priya Sekar
db7f68716b
Use NugetCache Sentinel for Telemetry setting.
2016-06-15 15:55:28 -07:00
Bryan Thornbury
f0380cfd9c
replicate https://github.com/dotnet/cli/pull/3492
2016-06-15 12:29:09 -07:00
Eric Erhardt
15a5c34149
Add Serviceable assembly attribute and nuspec attributes for all shipping CLI assemblies.
...
Fix #3345
2016-06-15 14:14:25 -05:00
Bryan Thornbury
d717b84ec8
merge rel/1.0.0-preview2 into rel/1.0.0
2016-06-15 10:20:50 -07:00
Pavel Krymets
7ec2a0e767
Merge pull request #3574 from dotnet/pakrym/t
...
Trim platfrom libraries from deps file
2016-06-15 10:03:17 -07:00
Pavel Krymets
6b54ae0bcc
Trim platfrom libraries from deps fiels
2016-06-15 09:09:38 -07:00
Lakshmi Priya Sekar
eab2494ed5
Remove showing firsttime eula for non verbs.
2016-06-14 17:55:10 -07:00
Eric StJohn
0589496b98
Merge pull request #3562 from ericstj/lzmaNoticesCopyright
...
Add LZMA to THIRD-PARTY-NOTICES + (c) header
2016-06-14 16:21:01 -07:00
Bryan Thornbury
e72d82c2cb
Merge pull request #3567 from brthor/brthor/stable
...
mark InternalAbstractions and DependencyModel Stable
2016-06-14 16:00:31 -07:00
Eric Erhardt
b2dadfa81c
Merge pull request #3566 from dotnet/DiaSymReader
...
Update Microsoft.DiaSymReader reference to 1.0.8
2016-06-14 17:29:33 -05:00
Eric Erhardt
0cd5afb87c
Updating DiaSymReader to 1.0.8
2016-06-14 15:48:35 -05:00
Lakshmi Priya
8dd2479965
Check if project.json exists before creating new project in the same dir ( #3543 )
...
* Check if project.json exists before creating new project in the same dir.
* Change error message.
2016-06-14 13:20:29 -07:00
Bryan Thornbury
b37ddf7350
mark InternalAbstractions and DependencyModel Stable
2016-06-14 12:51:04 -07:00
Eric St. John
871d25a8a5
Add LZMA to THIRD-PARTY-NOTICES + (c) header
...
This adds LZMA to the THIRD-PARTY-NOTICES list for CLI. Since we've
modified the SDK in porting it to .NET Core and minor bugfixes we've
also been advised to add the .NET Foundation copyright header.
2016-06-14 10:29:23 -07:00
Eric Erhardt
b93388cde2
Merge pull request #3555 from dotnet/FinalSharedFX
...
Final shared framework versions
2016-06-14 11:39:11 -05:00
Zlatko Knezevic
4da4f95e21
Update documentation ( #3549 )
...
* Updating README.md files as well as man pages
This aligns with the latest changes in the official documentation. It also aligns dotnet test readme.md to official docs and introduces a new doc in the "Documentation" directory that deals with dotnet test protocols.
2016-06-14 06:42:21 -07:00
Bryan Thornbury
9e97d0400c
dotnet-compile-fsc bump to latest
2016-06-14 03:31:22 -07:00
jacalvar
635c3331df
Update to Json.NET 9.0.1
2016-06-14 03:21:56 -05:00
Eric Erhardt
a4cef6d367
Updating NuGet to beta2-1484
2016-06-14 03:19:04 -05:00
Eric Erhardt
f25f047376
Updating CoreFX, CoreCLR, Roslyn, CoreSetup to stable versions.
2016-06-14 03:14:53 -05:00
Eric St. John
5790182727
Remove File.Copy optimization during expansion
...
Previously we'd keep track of any file that we extracted once and try
to reuse that file (by copying it) if we needed the same file later at a
different destination. The reason was that it's theoretically faster to
a file copy than a createfile and write, since the copy can happen
entirely in the kernel. In practice we were foiled by AV scanners.
This happens to be the only time during extraction where we let a file
close after writing it and then try and use it again. Sure enough on
fast machines we were seeing that as soon as we closed it MsMpEng would
map the file for exclusive access causing our copy to fail with a
sharing violation.
To fix this, I've removed the copy optimization and will just copy the
file from the in-memory archive every time.
2016-06-13 14:06:05 -07:00
Livar
9f2bb66198
Merge pull request #3485 from livarcocc/offline
...
Offline feature work
2016-06-12 00:58:26 -07:00
Eric Erhardt
c1c7ca06c2
Update NuGet to 3.5.0-beta2-1480
2016-06-11 12:23:24 -05:00
Eric Erhardt
8e83ccb659
Merge pull request #3518 from eerhardt/UpdateDependencies20160611042958
...
Updating CoreFx, CoreClr, Roslyn, CoreSetup to rc3-24210-10, rc3-24210-10, beta1-20160610-04, rc3-3004459-00 respectively
2016-06-11 11:33:21 -05:00
Zlatko Knezevic
79bbfafc51
Fix the project.json for C# library and add tests ( #3507 )
...
* Fix the project.json for C# library and add tests
This commit fixes the bug introduced in project.json for the C# Library
template. It also adds two simple tests for the library template that
drop the class library and then restore and another that also builds.
Fixes #3496
2016-06-11 06:43:56 -07:00
Eric Erhardt
99c32422b8
Update Microsoft.DiaSymReader to 1.0.8-rc2-60610-01
2016-06-10 23:33:34 -05:00
eerhardt
2aa3dd0843
Updating CoreFx, CoreClr, Roslyn, CoreSetup to rc3-24210-10, rc3-24210-10, beta1-20160610-04, rc3-3004459-00 respectively
2016-06-11 04:29:58 +00:00
Livar Cunha
d8c590e4ce
When creating the handle to the in progress sentinel, it was failing because the nuget cache folder did not exist yet. Which translated to us understanding that a first time experience was already running. Now, before creating the handle, we check if the nuget folder exists, if it doesn't, we create it, instead of waiting for nuget to do that during restore.
2016-06-10 18:17:32 -07:00
Andrew Stanton-Nurse
762a259e9f
fix #3469 by correcting overflow and enabling tests ( #3471 )
...
* fix #3469 by correcting overflow and enabling tests
* pr feedback
2016-06-10 17:28:23 -07:00
Eric St. John
2b427bf7db
Add copyright headers and cleanup
...
Added copyright headers to all the 'dotnet' code and cleaned up to match
repo style guidelines.
2016-06-10 17:07:25 -07:00
Livar Cunha
105e5ab051
Introducing a in progress sentinel that gets verified before running the first time experience. If we can get a handle for this sentinel, we proceed with the first time run, otherwise, it means there is a first time experience running already, in which case we continue running dotnet normally, even though the final (real) sentinel is not present yet. This prevents multiple dotnet commands from running the first time experience in parallel and prevents us from running into parallel nuget restores.
2016-06-10 16:54:39 -07:00
Livar Cunha
ed7e583ab6
Addressing code review comments and adding a DOTNET_SKIP_FIRST_TIME_EXPERIENCE env variable to have a way to turn off the feature.
2016-06-10 16:54:37 -07:00
Eric St. John
4d631cc1b1
Update dest path & fix race reporting progress
...
Renaming destinationPath to destinationRelativePath for clarity. This
string represents the path relative to the extract directory to which
files will be written.
We were missing an Interlocked.Increment during a parallel operation.
2016-06-10 16:54:34 -07:00
Livar Cunha
bcadd6ff01
Fixing identation and spaces in a few files.
2016-06-10 16:54:31 -07:00
Bryan Thornbury
f27330a09b
Revert "move all version suffixes to preview3 and rc4"
...
This reverts commit 35432bcb4a32ddd6b672f86b206e2b1933eff035.
2016-06-10 16:54:19 -07:00
Livar Cunha
69f43beccd
Adding the code to extract the archive in the first use of dotnet an
...
d added the first time use welcome text as well as some E2E tests.
2016-06-10 16:54:16 -07:00
Livar Cunha
5f220a1677
Generating the archive in the sdk folder of stage2.
2016-06-10 16:54:14 -07:00
Livar Cunha
4c5f097d67
Adding the configurer to dotnet.
2016-06-10 16:54:11 -07:00
Livar Cunha
461c26b78d
Adding a create method to the sentinel and invoking it from the Primer when appropriate.
2016-06-10 16:54:09 -07:00
Livar Cunha
ac2e21452f
Adding a separate abstraction for the NuGet sentinel.
2016-06-10 16:54:06 -07:00
Eric St. John
8db7c1c4fb
Add dotnet-archive application
2016-06-10 16:54:05 -07:00
Eric St. John
4949cedcc2
Fix progress for decompression
2016-06-10 16:54:04 -07:00
Eric St. John
e34d988f54
Clean up usings
2016-06-10 16:54:01 -07:00
Eric St. John
40bf17900a
Add IndexedArchive
...
This type will archive multiple files de-duplicated in a zip with a
central manifest that describes how to recreate the actual layout.
In addition, any other zip file will be expanded and deduplicated
so that we can further reduce the size of those zips/nupkgs.
All of these are placed in a zip with no-compression, essentially
using the zip as only a container. We then LZMA compress that
container to achieve maximum compression.
2016-06-10 16:54:00 -07:00
Eric St. John
e8a65dd546
Port LZMA SDK to .NETStandard1.0 as library
...
We're builiding a library and don't need the application-related source
so I've removed this in addition to fixing the source to compile as
NETStandard1.0.
2016-06-10 16:53:59 -07:00
Eric St. John
1cfdb41cef
Initial commit of LZMA SDK
...
This is a direct copy of the CS folder from the 16.02 SDK package.
I've added a README to indicate where this code came from.
2016-06-10 16:53:58 -07:00
Bryan Thornbury
32962a14e2
move all version suffixes to preview3 and rc4
2016-06-10 16:53:57 -07:00
Livar Cunha
84f63029fe
Almost all of the code to prime the NuGet cache from the archive.
...
- Created a Configurer class that is responsible for deciding when to run the dotnet first time use
experience and invoke the NuGetCachePrimer.
- Added the NuGetCachePrimer which extract the archive and primes the cache.
-- This is just missing creating the sentinel once restore succeeds.
- Added a shell for the NugetPackagesArchiver, which will be responsible for expanding the archive (likely
replaced in the future by an abstraction from Eric's code or its implementation will simply call Eric's code).
- Added a TemporaryFolder abstration to Internal Abstractions that handles deleting the temporary folder once
we are done with it.
2016-06-10 16:53:55 -07:00
Eric Erhardt
4293d05571
Porting @svick's fix to change a hard-coded URL to a redirect link.
2016-06-10 17:51:50 -05:00
Rob Relyea
c39fbd37d3
Merge pull request #3492 from dotnet/toddmosc/serviceable-p2
...
Removing the nuspec schema change used for adding the serviceable tag.
2016-06-10 10:04:16 -07:00
eerhardt
7b51f28c7f
Updating CoreFx, CoreClr, CoreSetup to rc3-24210-06, rc3-24210-01, rc3-3004449-00 respectively
2016-06-10 15:05:30 +00:00
Todd Moscinski
013fa1b8c0
Removing the nuspec schema change used for adding the serviceable tag.
2016-06-10 07:51:10 -07:00
Eric Erhardt
ef4a8e85ef
Updating CoreSetup to rc3-004443-00.
2016-06-10 01:09:46 -05:00
eerhardt
cd9bcd40b3
Updating CoreFx, CoreClr, CoreSetup to rc3-24209-08, rc3-24208-04, rc3-3004442-00 respectively
2016-06-09 21:14:15 -05:00
Ajay Bhargav Baaskaran
1d44105b4b
[ Fixes #3421 ] Made dotnet new templates generate portable pdbs
2016-06-09 12:05:54 -07:00
Lee Coward
cbf5f1ef65
Merge pull request #3458 from blackdwarf/prev2templates
...
Add new templates for C# to dotnet new
2016-06-09 10:17:26 -07:00
Zlatko Knezevic
4b1735bdaf
Fixing F# template project.json
...
Two changes:
1. Moving from netstandard1.5 to netcoreapp1.0
2. Fixing the version of F# netcore package
2016-06-09 08:17:45 -07:00
Zlatko Knezevic
85e4ed2b74
Responding to PR feedback
2016-06-09 08:06:38 -07:00
Zlatko Knezevic
c066ef1540
Add C# Lib and xunittest templates
...
Adding the C# lib and xunittest templates to `dotnet new`. These need
to be invoked with the `dotnet new -t lib` and `dotnet new -t
xunittest` keywords respectively.
2016-06-09 08:06:03 -07:00
Zhi Li
9a9864bf68
Update NuGet Version to 3.5.0-beta2-1451
2016-06-09 07:52:00 -05:00
Eric Erhardt
f43aad780c
Updating CoreFx, CoreClr, Roslyn, CoreSetup, DiaSymReader to rc3-24208-04, rc3-24208-04, beta1-20160608-03, rc3-004425, rc2-60608-04 respectively
2016-06-08 22:56:25 -05:00
Pranav K
a2d4f6fed0
Remove use of Microsoft.Extensions.PlatformAbstractions
2016-06-08 16:28:52 -07:00
Ajay Bhargav Baaskaran
3c9f8dd99b
Merge pull request #3426 from dotnet/ajbaaska/dotnet-new-web2
...
Added a web template to dotnet new
2016-06-08 12:45:49 -07:00
Ajay Bhargav Baaskaran
4a88cff185
[ Fixes #3255 ] Added a web template to dotnet new
2016-06-08 11:31:08 -07:00
Eric Erhardt
71d39a4a19
Update Microsoft.DiaSymReader.Native to 1.4.0-rc2
2016-06-08 12:01:35 -05:00
Eric Erhardt
d2f1fa0300
Updating CoreFx, CoreClr, CoreSetup to rc3-24207-03, rc3-24207-03, rc3-004415 respectively.
2016-06-07 18:24:30 -05:00
Jonathan Miller
cff4f37456
Merge pull request #3411 from sokket/json
...
Bumping JSON.NET to 9.0.1
2016-06-07 16:17:00 -07:00
Jonathan Miller
30ba1a1a61
Merge pull request #3413 from sokket/cycle
...
Adding check for self-referencing projects
2016-06-07 16:16:54 -07:00
Jonathan Miller
cdf4407419
Bumping JSON.NET to 9.0.1
2016-06-07 15:04:17 -07:00
Eric Erhardt
2e7c467aad
Merge pull request #3407 from dotnet/dev-ragrawal-updatenuget
...
update nuget to 3.5.0-beta2-1392
2016-06-07 15:50:13 -05:00
Jonathan Miller
dc5fbc1a91
Adding basic cycle detection in the dependency walker
2016-06-07 13:21:13 -07:00
Eric Erhardt
0b30b148f3
Merge pull request #3376 from eerhardt/MergePreview2
...
Merge rel/1.0.0-preview2 into rel/1.0.0
2016-06-06 19:03:01 -05:00
Eric Erhardt
334b079995
Updating CoreSetup, Roslyn, DiaSymReader to rc3-004408, beta1-20160606-02, 1.0.8-rc2-60606-01 respectively.
2016-06-06 18:56:24 -05:00
Andrew Stanton-Nurse
dd51836aac
fix #2289 by integrating EF's version of project load context ( #3402 )
2016-06-06 15:08:46 -07:00
Rohit Agrawal
5378f5a697
update nuget to 3.5.0-beta2-1392
2016-06-06 14:14:20 -07:00
Todd Moscinski
d3b935489f
Fixing schema version number, tweaking a string, and making test call pass a bool instead of a string to enable serviceable.
2016-06-06 11:00:47 -07:00
Todd Moscinski
391675c5b9
Changing schema version to 8 to match NuGet internal value and adding a pack test for the --serviceable option.
2016-06-06 11:00:33 -07:00
Todd Moscinski
8099e6b9f7
Adding support for --serviceable option to pack command which puts <serviceable>true</serviceable> into the output nuspec
2016-06-06 11:00:05 -07:00
Eric Erhardt
90fbc3bb53
Merge pull request #3399 from eerhardt/UpdateSharedFX
...
Updating CoreSetup to rc3-004406
2016-06-06 12:13:53 -05:00
Eric Erhardt
ea1b688527
Merge pull request #3394 from eerhardt/Fix1650
...
Change 'got' to 'received' for dep conflicts
2016-06-06 11:59:30 -05:00
Eric Erhardt
42938f180f
Updating CoreSetup to rc3-004406
2016-06-06 11:15:07 -05:00
Luke Latham
d76807d22a
Change 'got' to 'received' for dep conflicts
2016-06-06 09:35:24 -05:00
eerhardt
354b1d38d5
Updating CoreFx, CoreSetup to rc3-24206-00, rc3-004404 respectively
2016-06-06 14:24:51 +00:00
Todd Moscinski
72ad34b566
Fixing schema version number, tweaking a string, and making test call pass a bool instead of a string to enable serviceable.
2016-06-05 11:52:41 -07:00
eerhardt
ea8ae8d1c7
Updating CoreFx, CoreSetup to rc3-24204-00, rc3-004400 respectively
2016-06-04 18:32:34 +00:00
Eric Erhardt
4f95bc0010
Update CoreSetup to rc3-004397
2016-06-04 00:00:28 -05:00
Todd Moscinski
e45259c6fa
Changing schema version to 8 to match NuGet internal value and adding a pack test for the --serviceable option.
2016-06-03 15:46:16 -07:00
Eric Erhardt
1791d8ddb4
Merge branch 'preview2'
2016-06-03 17:28:29 -05:00
Todd Moscinski
b596122d5c
Adding support for --serviceable option to pack command which puts <serviceable>true</serviceable> into the output nuspec
2016-06-03 14:53:58 -07:00
Bryan Thornbury
4f14a3c33e
Merge pull request #3353 from brthor/brthor/3079
...
update help message
2016-06-03 13:16:27 -07:00
Eric Erhardt
f16f2e64eb
Updating CoreFx, CoreSetup, Roslyn to rc3-24201-00, rc3-004391, beta1-20160602-01
2016-06-03 07:27:42 -05:00
Bryan Thornbury
4557f2a42f
update help message
2016-06-02 15:21:29 -07:00
Eric Erhardt
0577337cdc
Merge pull request #3351 from dotnet/preview2
...
Updating CoreSetup to rc3-004373
2016-06-02 15:47:00 -05:00
Eric Erhardt
351255dda1
Updating CoreSetup to rc3-004373
2016-06-02 14:45:00 -05:00
Bryan Thornbury
37bf9ee993
Merge pull request #3346 from brthor/brthor/2408
...
fixes #2408 stop using corehost to activate projectdependencycommands
2016-06-02 12:41:21 -07:00
Bryan Thornbury
64508f08ab
fixes #2408 stop using corehost to activate projectdependencycommands
2016-06-02 10:50:38 -07:00
Bryan Thornbury
30b9c89bd7
fixes #3119
2016-06-01 17:35:20 -07:00
Bryan Thornbury
edac9e4219
move all version suffixes to preview3 and rc4
2016-05-31 21:19:26 -07:00
Matt Ellis
45dc82eb82
Remove some dead code
2016-05-31 15:15:57 -07:00
Livar Cunha
84d1b60ffe
Adding docker files, modifying scripts and code to handle ubuntu 16.04
2016-05-31 15:15:08 -07:00
eerhardt
657c03b625
Updating CoreFx, CoreSetup to rc3-24131-00, rc3-004363 respectively
2016-05-31 20:27:46 +00:00
Eric Erhardt
d50068a5e4
Updating CoreFx, CoreSetup to rc3-24128-00, rc3-004338 respectively
2016-05-31 12:55:36 -05:00
Eric Erhardt
33b22d1638
Merge pull request #3277 from eerhardt/UpdateDependencies20160528124849
...
Updating CoreFx, CoreSetup to rc3-24127-01, rc3-004336 respectively
2016-05-31 10:45:58 -05:00
Eric Erhardt
e83b0b374a
Merge pull request #3287 from jtkech/patch-1
...
minor change to a comment in IncrementalManager.cs
2016-05-31 09:58:44 -05:00
Eric Erhardt
fad7477ea5
Microsoft.NETCore.App no longer supports netstandard
...
Any project that references Microsoft.NETCore.App must target netcoreapp1.0.
Moving app projects to netcoreapp1.0; moving library projects to reference NETStandard.Library.
2016-05-31 09:54:28 -05:00
martincostello
8c7e478c3f
Fix typo in help for dotnet build
...
Fix typo in the argument description shown for "dotnet build --help".
2016-05-30 21:55:00 +01:00