Skip to content

Commit

Permalink
Merge branch 'rel/1.0.0' into brthor/1702
Browse files Browse the repository at this point in the history
  • Loading branch information
brthor committed Mar 15, 2016
2 parents c8617c9 + dc69972 commit 63772cc
Show file tree
Hide file tree
Showing 220 changed files with 16,904 additions and 2,120 deletions.
17 changes: 0 additions & 17 deletions Documentation/known-issues.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
Known issues & workarounds
==========================

## El Capitan support
If you try to use the `dotnet` commands on El Capitan (OS X 10.11), you will encounter errors as it is not currently
fully supported for all scenarios.

**Issues tracking this:**

* [#498](https://github.com/dotnet/cli/issues/498)
* [#291](https://github.com/dotnet/cli/issues/291)

**Affects:** most of the commands, but more than likely you will not be able to
use `dotnet compile` and `dotnet-run` on El Capitan. For others, there is a
workaround.

**Workaround:** use the --runtime switch with the value of `osx.10.11-x64` in
`dotnet restore` and `dotnet publish` and you will be able to run your app from
the published directory.

## Resolving the Standard library packages
The StdLib package is on a MyGet feed. In order to restore it, a MyGet feed needs to be added
to the NuGet feeds, either locally per application or in a central location.
Expand Down
9 changes: 7 additions & 2 deletions Documentation/specs/runtime-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ The files are both JSON files stored in UTF-8 encoding. Below are sample files.
"gcConcurrent": false,
"framework": {
"name": "Microsoft.DotNetCore",
"version": "1.0.1"
"version": "1.0.1",
"rollForward": false,
}
}
}
Expand Down Expand Up @@ -118,7 +119,11 @@ This section is copied verbatim from an identical section in the input `project.

* `gcServer` - Boolean indicating if the server GC should be used (Default: _TBD_). Note: This is designed to mirror the existing [app.config](https://msdn.microsoft.com/en-us/library/ms229357.aspx) setting)
* `gcConcurrent` - Boolean indicating if background garbage collection should be used (Default: _TBD_). Note: This is designed to mirror the existing [app.config](https://msdn.microsoft.com/en-us/library/yhwwzef8.aspx) setting).
* `framework` - Indicates the name and version of the shared framework to use when activating the application. The presence of this section indicates that the application is a portable app designed to use a shared redistributable framework.
* `framework` - Indicates the `name`, `version`, and other properties of the shared framework to use when activating the application. The presence of this section indicates that the application is a portable app designed to use a shared redistributable framework.
* `rollForward` - When `false`, the framework version is strictly obeyed by the host. When `rollForward` is unspecified or specified as `true`, the framework from either the same or a higher version that differs only in the `SemVer` patch field will be used.
* For example, if `version=1.0.1` and `rollForward` is `true`, the host would load the shared framework from `1.0.{n}`, where `n >= 1`, but will not load from `1.1.0`, even if present. When `rollForward` is `false`, the shared framework will be loaded from `1.0.1` strictly.
* **Note:** This does not apply to `SemVer`'s `prerelease` versions, but only for `production` releases.
* **Note:** This section will not be present for standalone applications that do not rely upon a shared framework.
* Others _TBD_

These settings are read by `corehost` to determine how to initialize the runtime. All versions of `corehost` **must ignore** settings in this section that they do not understand (thus allowing new settings to be added in later versions).
Expand Down
33 changes: 16 additions & 17 deletions TestAssets/FSharpTestProjects/CompileFail/project.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
},
"compilerName": "fsc",
"compileFiles": [
"Program.fs"
],
"dependencies": {
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221",
"NETStandard.Library": "1.0.0-rc2-23901"
},

"frameworks": {
"netstandardapp1.5": {
"imports": "dnxcore50"
}
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
},
"compilerName": "fsc",
"compileFiles": [
"Program.fs"
],
"dependencies": {
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221",
"NETStandard.Library": "1.5.0-rc2-23911"
},
"frameworks": {
"netstandardapp1.5": {
"imports": "dnxcore50"
}
}
}
4 changes: 2 additions & 2 deletions TestAssets/FSharpTestProjects/TestApp/FSharpTestApp.xproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>

<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>a666217d-2aca-4866-b109-ea476e51c7aa</ProjectGuid>
<RootNamespace>FSharpTestApp</RootNamespace>
Expand All @@ -16,5 +16,5 @@
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>
35 changes: 17 additions & 18 deletions TestAssets/FSharpTestProjects/TestApp/project.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
},
"compilerName": "fsc",
"compileFiles": [
"Program.fs"
],
"dependencies": {
"TestLibrary": "1.0.0-*",
"NETStandard.Library": "1.0.0-rc2-23901",
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221"
},

"frameworks": {
"netstandardapp1.5": {
"imports": "dnxcore50"
}
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
},
"compilerName": "fsc",
"compileFiles": [
"Program.fs"
],
"dependencies": {
"TestLibrary": "1.0.0-*",
"NETStandard.Library": "1.5.0-rc2-23911",
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221"
},
"frameworks": {
"netstandardapp1.5": {
"imports": "dnxcore50"
}
}
}
33 changes: 16 additions & 17 deletions TestAssets/FSharpTestProjects/TestAppWithArgs/project.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
},
"compilerName": "fsc",
"compileFiles": [
"Program.fs"
],
"dependencies": {
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221",
"NETStandard.Library": "1.0.0-rc2-23901"
},

"frameworks": {
"netstandardapp1.5": {
"imports": "dnxcore50"
}
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
},
"compilerName": "fsc",
"compileFiles": [
"Program.fs"
],
"dependencies": {
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221",
"NETStandard.Library": "1.5.0-rc2-23911"
},
"frameworks": {
"netstandardapp1.5": {
"imports": "dnxcore50"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>ec801982-096b-4af3-a42b-7881b1a7380e</ProjectGuid>
<RootNamespace>FSharpTestLibrary</RootNamespace>
Expand All @@ -15,5 +15,5 @@
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>
28 changes: 14 additions & 14 deletions TestAssets/FSharpTestProjects/TestLibrary/project.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"version": "1.0.0-*",
"dependencies": {
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221",
"NETStandard.Library": "1.0.0-rc2-23901"
},
"compilerName": "fsc",
"compileFiles": [
"Helper2.fs",
"Helper.fs"
],
"frameworks": {
"netstandardapp1.5": {
"imports": "dnxcore50"
}
"version": "1.0.0-*",
"dependencies": {
"Microsoft.FSharp.Core.netcore": "1.0.0-alpha-151221",
"NETStandard.Library": "1.5.0-rc2-23911"
},
"compilerName": "fsc",
"compileFiles": [
"Helper2.fs",
"Helper.fs"
],
"frameworks": {
"netstandardapp1.5": {
"imports": "dnxcore50"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"dependencies": {
"NETStandard.Library": "1.0.0-rc2-23901",
"EmptyLibrary": "1.0.0-*"
},
"frameworks": {
"netstandardapp1.5": {
"imports": "dnxcore50"
}
"dependencies": {
"NETStandard.Library": "1.5.0-rc2-23911",
"EmptyLibrary": "1.0.0-*"
},
"frameworks": {
"netstandardapp1.5": {
"imports": "dnxcore50"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"dependencies": { },
"dependencies": {},
"frameworks": {
"netstandardapp1.5": {
"imports": "dnxcore50",
"dependencies": {
"NETStandard.Library": "1.0.0-rc2-23901"
"NETStandard.Library": "1.5.0-rc2-23911"
}
},
"dnx451": { }
"dnx451": {}
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"version": "1.0.0-*",
"dependencies": { },
"dependencies": {},
"frameworks": {
"netstandard1.3": {
"imports": "dnxcore50",
"dependencies": {
"NETStandard.Library": "1.0.0-rc2-23901"
"NETStandard.Library": "1.5.0-rc2-23911"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"netstandardapp1.5": {
"imports": "dnxcore50",
"dependencies": {
"NETStandard.Library": "1.0.0-rc2-23901"
"NETStandard.Library": "1.5.0-rc2-23911"
}
}
},
"dependencies": { }
"dependencies": {}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"dependencies": {
"NETStandard.Library": "1.0.0-rc2-23901",
"Microsoft.Web.Administration": "7.0.0"
},
"frameworks": {
"netstandardapp1.5": {
"imports": "dnxcore50"
}
"dependencies": {
"NETStandard.Library": "1.5.0-rc2-23911",
"Microsoft.Web.Administration": "7.0.0"
},
"frameworks": {
"netstandardapp1.5": {
"imports": "dnxcore50"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
{
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
},

"dependencies": {
"NETStandard.Library": "1.0.0-rc2-23811"
},

"frameworks": {
"dnxcore50": { }
}
"version": "1.0.0-*",
"compilationOptions": {
"emitEntryPoint": true
},
"dependencies": {
"NETStandard.Library": "1.5.0-rc2-23911"
},
"frameworks": {
"dnxcore50": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>b8055234-9a66-4ba0-8b4c-d5e431494fe3</ProjectGuid>
<RootNamespace>dotnet-hello</RootNamespace>
Expand All @@ -15,5 +15,5 @@
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>
24 changes: 11 additions & 13 deletions TestAssets/TestPackages/dotnet-hello/v1/dotnet-hello/project.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
"version": "1.0.0",
"compilationOptions": {
"emitEntryPoint": true
},

"dependencies": {
"NETStandard.Library": "1.0.0-rc2-23901"
},

"frameworks": {
"netstandardapp1.5": {
"imports": "dnxcore50"
}
"version": "1.0.0",
"compilationOptions": {
"emitEntryPoint": true
},
"dependencies": {
"NETStandard.Library": "1.5.0-rc2-23911"
},
"frameworks": {
"netstandardapp1.5": {
"imports": "dnxcore50"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>282c5014-d0cd-4dde-af4e-531e4a2e7bcd</ProjectGuid>
<RootNamespace>dotnet-hello</RootNamespace>
Expand All @@ -15,5 +15,5 @@
<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>
Loading

0 comments on commit 63772cc

Please sign in to comment.