Skip to content

Commit cc126b5

Browse files
authored
Merge pull request microsoft#1032 from slang25/slang25-patch-1
Update ReferenceAssemblies release notes for 1.0.0
2 parents 446a12b + 1894954 commit cc126b5

File tree

1 file changed

+8
-31
lines changed

1 file changed

+8
-31
lines changed

releases/reference-assemblies/README.md

Lines changed: 8 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# .NET Framework Targeting Pack Nuget Packages (Preview)
1+
# .NET Framework Targeting Pack Nuget Packages
22

33
These packages enable building .NET Framework projects on any machine with at least MSBuild or the .NET Core SDK installed.
44

@@ -8,34 +8,11 @@ The following scenarios and benefits are enabled for .NET Framework projects:
88
- Build libraries on any operating system supported by the .NET Core SDK.
99
- Build Mono-based projects.
1010

11-
## Status
12-
13-
Early preview.
14-
1511
## Usage
1612

17-
At the moment, packages are located on a non-default package feed. Until packages are moved to the default package feed, a change in your project's `NuGet.Config` file is needed. Add the following line to `<packageSources>` section:
18-
19-
```xml
20-
<add key="roslyn-tools" value="https://dotnet.myget.org/f/roslyn-tools/api/v3/index.json" />
21-
```
22-
23-
Sample `NuGet.Config` file:
24-
25-
```xml
26-
<?xml version="1.0" encoding="utf-8"?>
27-
<configuration>
28-
<packageSources>
29-
<add key="roslyn-tools" value="https://dotnet.myget.org/f/roslyn-tools/api/v3/index.json" />
30-
</packageSources>
31-
</configuration>
32-
```
33-
34-
Make the following changes based on the type of project you are using.
35-
3613
### .NET Core project
3714

38-
This sample uses a multi-targeting ClassLibrary project, that can be created using `dotnet new classlib`. Add or modify NuGet.config file as described above.
15+
This sample uses a multi-targeting ClassLibrary project, that can be created using `dotnet new classlib`.
3916

4017
Change `TargetFramework` property to `TargetFrameworks` and add a new .NET Framework target, like in the following example:
4118

@@ -46,8 +23,8 @@ Change `TargetFramework` property to `TargetFrameworks` and add a new .NET Frame
4623
Add Package reference:
4724

4825
```xml
49-
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
50-
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0-alpha-5" />
26+
<ItemGroup>
27+
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" />
5128
</ItemGroup>
5229
```
5330

@@ -69,7 +46,7 @@ Add the `TargetFramework` property and a `PackageReference` like in the followin
6946
<TargetFramework>net472</TargetFramework>
7047
</PropertyGroup>
7148
<ItemGroup>
72-
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0-alpha-5" />
49+
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" />
7350
</ItemGroup>
7451

7552
</Project>
@@ -101,10 +78,10 @@ msbuild
10178

10279
## Package location
10380

104-
https://dotnet.myget.org/feed/roslyn-tools/package/nuget/Microsoft.NETFramework.ReferenceAssemblies
81+
https://www.nuget.org/packages/Microsoft.NETFramework.ReferenceAssemblies
10582

10683
## Latest release
10784

108-
Version: 1.0.0-alpha-5
85+
Version: 1.0.0
10986

110-
Date: Tue, 04 Dec 2018 00:13:27 GMT
87+
Date: Sun, 05 May 2019 23:37:33 GMT

0 commit comments

Comments
 (0)