Commit Graph
254 Commits
Author SHA1 Message Date
Andrew Schwartzmeyer 3e5dc14014 Downgrade packages from rc3 to rc2
Since 'rc3' is 'vnext', not just closer to the actual release.
2016-03-21 14:14:58 -07:00
Andrew Schwartzmeyer 4c13f22216 Bump .NET packages to build 23921
- Bumps NETStandard.Library to 1.5.0-rc3, fixes #663.
- Remove reference to Unsupported.Platform.API, fixes #639.
2016-03-21 14:14:58 -07:00
Andrew Schwartzmeyer 9bd361abe1 Bump .NET package builds to 23914 2016-03-14 16:55:25 -07:00
Andrew Schwartzmeyer 7f60921094 Target net451 instead of dnx451 for FulLCLR 2016-03-09 14:25:35 -08:00
Andrew Schwartzmeyer 24eaf8bad8 Add newly required packages
These packages are new requirements as of the 23907 build due to
refactoring of the .NET libraries.
2016-03-07 14:17:31 -08:00
Andrew Schwartzmeyer 93f8a3360f Bump versions of upgraded packages
These packages had their minor and patch versions updated in addition to
the updated build number.
2016-03-07 13:59:11 -08:00
Andrew Schwartzmeyer e12f5a427e Bump .NET packages to 23907 2016-03-07 13:59:11 -08:00
Andrew Schwartzmeyer 9f88341db1 Remove trailing comma from project.json 2016-03-01 13:21:32 -08:00
Andrew Schwartzmeyer 840c634d5e Bump .NET packages to 23829 2016-03-01 12:26:30 -08:00
Andrew Schwartzmeyer a67a0ca122 Add System.Threading.Thread package
Now needed to use the `Thread` type.
2016-02-26 12:26:28 -08:00
Andrew Schwartzmeyer 2518b0ab3f Bump .NET packages to 23826 2016-02-26 12:26:28 -08:00
Andrew Schwartzmeyer 966be6a792 Treat C# warnings as errors 2016-02-24 16:33:17 -08:00
Andrew Schwartzmeyer 2e90b29cc8 Bump .NET Core packages to rc3-23819
Brings in fix for #546 and so enables the use of the PowerShell in non
xterm terminal emulators (like Tmux and screen).
2016-02-19 09:57:21 -08:00
Andrew Schwartzmeyer e6e4dcafbe Build with new framework and new CLI
All libraries now use the framework `netstandard1.5`, and import the
`dnxcore50` and `portable` frameworks. The app that is published,
Microsoft.PowerShell.Linux.Host, that is, the top-level dependency that
emits an executable, instead targets `netstandardapp1.5` and has a new
`runtimes` key so that .NET CLI's `restore` and `publish` commands know
which runtime implementations to resolve.

When switching to the new CLI, we needed to fix how we specified our
dependencies. In particular, the .NET CLI team helped me figure out how
to download packages that are reference assembly only on Linux, with
implementations on Windows. The result of this is the new `frameworks`
setup.

Additionally, we were incorrectly specifying our build dependencies;
that is, projects we also build (not packages). The solution was much
cleaner. We removed the `type: build` section and replaced it with the
version `1.0.0-*` that all our projects currently use.

The `project.json` files also had their names, descriptions,
indentation, and versions fixed.

The build scripts were simplified.
2016-02-18 10:06:56 -08:00
Andrew Schwartzmeyer ae64f99c25 Bump .NET packages to 23817 2016-02-17 17:17:55 -08:00
Andrew Schwartzmeyer 4d13ef1a29 Expose SMA internals to powershell-tests 2016-02-17 17:03:53 -08:00
Andrew Schwartzmeyer 9a2a8555e3 Copy ps1xml files into tree to use content
This allows us to remove the duplicated copying steps from our Windows
and Linux build scripts. These files are already distributed to users of
Windows, and so are not "source code."
2016-02-10 12:38:00 -08:00
Andrew Schwartzmeyer 39183cb4c3 Remove versions from frameworkAssemblies
This should fix bug #499 where building complains about a restore not
having been done, even when it has.
2016-02-05 11:13:09 -08:00
Andrew Schwartzmeyer 9cfe821bc2 Add NOETW preprocessor definition to Automation
This is necessary to disable Tracing on Core PowerShell until the
reimplementation of the Eventing library is ported to CLI.
2016-02-02 16:46:51 -08:00
Andrew Schwartzmeyer c8351063ef Add file superset to Utility and Automation
To enable building on both Core and Full CLR with the same project.json
files, the superset of file dependencies for both builds must be
included. The set differences are applied by `CORECLR` preprocessor
guards around the files themselves.

The file name cases were corrected for case-sensitive filesystems.
2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer bd79884b81 Update AssemblyInfo files for FullCLR build 2016-02-02 15:43:54 -08:00
Sergei Vorobev b4f8d5237c Add dnx451 to project.json files 2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer 92127e4cfc Uses spaces instead of tabs in project.json files 2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer 172ddc6ad1 Refactor project.json dependencies
The packages are now dependencies of the `dnxcore50` framework itself,
rather than globally. The `compilationOptions` were pruned, with
`CORECLR` moved to frameworks, `_CORECLR` removed for all but
`Management.Infrastructure`, and `LINUX` moved to a new `Linux`
configuration, used only in `build.sh`. This configuration is
purposefully absent from libraries that do not use `LINUX`, so that it
is not relied upon without strong consideration. The dependencies
were pruned to reduce duplication.
2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer c7fb9d2158 Add System.Diagnostics.Process dependency
The new packages do not pull this in automatically.
2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer a8be633089 Bump packages to rc3-23729 2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer 71f670f86c Add packages required for updated sources
Commands.Utility now needs Microsoft.CodeAnalysis.CSharp, which doesn't
explicitly target `dnxcore50`, so now Commands.Utility and the packages
which depend on it now much `import` the Portable Windows framework.
This also required adding the aspnetvnext feed.

System.Management.Automation now requires System.Diagnostics.StackTrace.
2016-01-26 16:49:28 -08:00
Andrew Schwartzmeyer e125650e54 Update mapped compileFiles
Removed CorePsPlatform.cs from the build mapping so that I could perform
it before merging.

Note that SMA by default now builds with a bunch of tracing files for
ETW, which cannot be compiled on Linux and must be hand-removed from the
windows-build auto-generated compileFiles output.
2016-01-26 16:43:02 -08:00
Andrew Schwartzmeyer 05205ecac7 Realign project.json files 2016-01-26 15:47:22 -08:00
Andrew Schwartzmeyer 092feeef9a Emit powershell executable
Instead of Microsoft.PowerShell.Linux.Host

Since this changes the name of the library,
System.Management.Automation's assembly info needed to be updated.
2016-01-19 12:56:56 -08:00
Andrew Schwartzmeyer 19d8a6a0b2 Move monad-build to windows-build on GitHub
Better name since this submodule only has to do with the Windows build
system and generated artifacts.
2016-01-14 12:55:39 -08:00
Andrew Schwartzmeyer 735721e902 Bump .NET packages to build rc2-23712
This brings in the previously missing System.Console APIs and the fix for the echo TTY issue, fixing our remaining patches of the runtime.
2016-01-12 12:22:26 -08:00
Andrew Schwartzmeyer 2c7d6dd4da Prune System.Management.Automation dependencies
I thought this seemed too easy earlier... I forget to replace the
frameworks section. This is now the minimum set of packages required.
2015-12-16 16:21:48 -08:00
Andrew Schwartzmeyer 251a875935 Major refactor of .NET dependencies
Much simpler now, thanks to NETStandard.Library.
2015-12-16 15:08:31 -08:00
Andrew Schwartzmeyer 3dc22d7f42 Make SMA internals visible to ALC 2015-12-16 11:36:02 -08:00
Andrew Schwartzmeyer 9771214556 Fix AssemblyInfo versions
Reconciled with PowerShell assemblies on Windows. Thanks ildasm.
2015-12-16 10:43:18 -08:00
Andrew Schwartzmeyer 03b36fb2f7 Rename AssemblyInfo files 2015-12-16 10:39:02 -08:00
Andrew Schwartzmeyer f6e5164bb0 Update compileFiles and namedResource from makegen
These are now auto-generated in monad-build.
2015-12-15 21:16:18 -08:00
Andrew Schwartzmeyer 7cd12b251d Build SMA with version 0.0.0.0
Because the monad code expects this version on Linux for all PowerShell
assemblies. This should be changed back once they all build with 3.0.0.0.
2015-12-15 14:22:41 -08:00
Andrew Schwartzmeyer 2017bb3050 Update source file mapping 2015-12-08 16:24:40 -08:00
Andrew Schwartzmeyer 6fbb220df3 Brought back PowerShell's AssemblyLoadContext
Removes dependency on Microsoft.Extensions.Platform.Abstractions.

Makes use of native executable from `dotnet-cli` impossible; must use
`powershell` from monad-native.
2015-12-08 14:30:24 -08:00
Andrew Schwartzmeyer 96896b5942 Upgrade Microsoft.VisualBasic
How could we possibly even need this? I think we can remove it.
2015-12-08 14:22:01 -08:00
Andrew Schwartzmeyer 51b3e6cfc1 Build AssemblyLoadContext 2015-12-08 14:09:52 -08:00
Andrew Schwartzmeyer 13e60bdc22 Move ps1xml files to host so content works
https://github.com/dotnet/cli/pull/61
2015-12-08 12:04:55 -08:00
Andrew Schwartzmeyer 8a93287d70 Move assembly-info files 2015-12-08 11:20:01 -08:00
Andrew Schwartzmeyer 5ed21e794f Wild card and sort dependencies
These still need to be pruned.
2015-12-08 11:20:01 -08:00
Andrew Schwartzmeyer 5256c5d0fa Remove deprecated types files
Jason deprecated these with better code upstream.
2015-12-07 14:27:06 -08:00
Andrew Schwartzmeyer 66e24ccf12 Add generated type catalog to System.Management.Automation 2015-12-07 14:27:06 -08:00
Andrew Schwartzmeyer 5004839f63 Pin NuGet packages
Using new ASP.NET Release feed and pinned package versions.

Thanks Garret!
2015-12-01 10:56:56 -08:00
Andrew Schwartzmeyer bb4b388c89 Move TypeCatalog code to System.Management.Automation
We're keeping it in the superproject for now, as it's the only build
system with a dependency on the file. However, we have to move it out of
the host because the unit tests also need to initialize the type catalog.
2015-11-30 13:14:23 -08:00