Skip to content

Commit

Permalink
Update README (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
zijchen authored Nov 23, 2021
1 parent 3ab43f3 commit eb4d381
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
8 changes: 0 additions & 8 deletions samples/SdkStyleDatabaseProject/nuget.config

This file was deleted.

2 changes: 1 addition & 1 deletion samples/SdkStyleDatabaseProject/sample.sqlproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build">
<Sdk Name="Microsoft.Build.Sql" Version="1.0.0" />
<Sdk Name="Microsoft.Build.Sql" Version="0.1.1-alpha" />
<PropertyGroup>
<Name>sample</Name>
<DSP>Microsoft.Data.Tools.Schema.Sql.Sql150DatabaseSchemaProvider</DSP>
Expand Down
10 changes: 0 additions & 10 deletions src/Microsoft.Build.Sql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@ This project is in its early stages and we are currently building tests for diff

## Using this SDK

### Add GitHub Packages as Nuget Source
To add GitHub Packages as a package source, you must first generate a Personal Access Token (PAT) with your GitHub credentials. [For more information](https://docs.github.com/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry#authenticating-to-github-packages)
1. You can generate a PAT from here: https://github.com/settings/tokens
* Make sure it has *read:packages* scope
2. Save the PAT to a secure place
3. Run this command to add GitHub Packages as a package source (replace GITHUB_USERNAME and GITHUB_PAT with those of your own):
```
dotnet nuget add source "https://nuget.pkg.github.com/microsoft/index.json" --name github --username "GITHUB_USERNAME" --password "GITHUB_PAT" --store-password-in-clear-text
```

### Changes to .sqlproj file
To convert a database project into SDK-style, edit the .sqlproj file by adding
```xml
Expand Down

0 comments on commit eb4d381

Please sign in to comment.