Skip to content

Commit 898bffd

Browse files
Jonathan MezachJonathan Mezach
Jonathan Mezach
authored and
Jonathan Mezach
committed
Add note explaing .nuspec
1 parent 3669c22 commit 898bffd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,13 @@ It will assume that the `.dacpac` file is inside the `tools` folder of the refer
7575
<repository type="git" url="<repository-url>" />
7676
</metadata>
7777
<files>
78-
<file src="bin\$configuration$\$tfm$\$id$.dacpac" target="tools/" />
78+
<file src="bin\$configuration$\$tfm$\*.dacpac" target="tools/" />
7979
</files>
8080
</package>
8181
```
8282

83+
> Note: The above `.nuspec` file will result in a package that includes the .dacpac of the project as well as any referenced .dacpac file's (those from `PackageReference`). This is by design since you'll probably need those later on when deploying the .dacpac. If you want to only include the .dacpac of the project replace `*.dacpac` with `$id$.dacpac`.
84+
8385
Additionally you'll need to set the `PackageProjectUrl` property inside of the `.csproj` like this:
8486

8587
```xml

0 commit comments

Comments
 (0)