Skip to content

Commit d382a2b

Browse files
committed
Version 2.0
1 parent 6255a10 commit d382a2b

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

Build.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Build
2+
3+
This project uses GitVersion to calculate version numbers. If a major bump has to be made (i. e. for a public release), the file `version.json` should be changed accordingly.
4+
More info from [Nerdbank here](https://github.com/dotnet/Nerdbank.GitVersioning/blob/master/doc/public_vs_stable.md).
5+
6+
To build the project for packaging, run the following command in the root directory:
7+
8+
```powershell
9+
dotnet build /src -c Release
10+
```
11+
12+
This will build and pack the assemblies to according output directories:
13+
- `\src\FluentDragDrop\bin\Release`
14+
- `\src\FluentDragDrop.Effects\bin\Release`

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ private void picControlPreviewBehindCursor_MouseDown(object sender, MouseEventAr
2828
// To() to define target controls and how the dragged data should be used on drop
2929
}
3030
```
31-
<sup><a href='/src/FluentDragDropExample/TestForm.cs#L32-L51' title='Snippet source file'>snippet source</a> | <a href='#snippet-immediateusage' title='Start of snippet'>anchor</a></sup>
31+
<sup><a href='/src/FluentDragDropExample/TestForm.cs#L32-L51' title='File snippet `immediateusage` was extracted from'>snippet source</a> | <a href='#snippet-immediateusage' title='Navigate to start of snippet `immediateusage`'>anchor</a></sup>
3232
<!-- endSnippet -->
3333

3434
It's all in there: Putting data to the drag&drop operation, attaching a custom preview image to the mouse cursor, working with the dragged data once it's dropped and much more.
@@ -62,7 +62,7 @@ private void CountryList_MouseDown(object sender, MouseEventArgs e)
6262
.To(target, MoveItems);
6363
}
6464
```
65-
<sup><a href='/src/FluentDragDropExample/TestForm.cs#L80-L94' title='Snippet source file'>snippet source</a> | <a href='#snippet-delayedusage' title='Start of snippet'>anchor</a></sup>
65+
<sup><a href='/src/FluentDragDropExample/TestForm.cs#L80-L94' title='File snippet `delayedusage` was extracted from'>snippet source</a> | <a href='#snippet-delayedusage' title='Navigate to start of snippet `delayedusage`'>anchor</a></sup>
6666
<!-- endSnippet -->
6767

6868
This (<sub><sup>and the 5 line method `MoveItems()`</sub></sup>) is everything we need to implement two-way Drag&Drop lists:

src/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "1.1",
3+
"version": "2.0",
44
"publicReleaseRefSpec": [
55
".*/master$" // we release out of master
66
],

0 commit comments

Comments
 (0)