Skip to content

Commit acd0503

Browse files
Merge pull request #1336 from NiklasGustafsson/main
Update version number and clarify how to build from source on Windows.
2 parents fb8de14 + 165dcde commit acd0503

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

DEVGUIDE.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11

22
# Building
33

4-
dotnet build /p:SkipNative=true
5-
dotnet build # for cuda support on Windows and Linux
6-
dotnet test
7-
dotnet pack
8-
94
## Windows
105

116
Requirements:
12-
- Visual Studio
7+
- Visual Studio 2022, fully updated with C/C++ desktop development and Windows SDK installed
138
- git
149
- cmake (tested with 3.18)
1510

16-
__NOTE:__ At this moment, VS versions 17.4.X will not build the native code library. Use 17.3.X until further notice. See: https://github.com/dotnet/TorchSharp/issues/858 for more information.
11+
From a VS 'x64 Native Tools' command prompt, build with:
1712

13+
dotnet build /p:SkipNative=true
14+
dotnet build # for cuda support on Windows and Linux
15+
dotnet test
16+
dotnet pack
1817

1918
## Linux
2019

@@ -34,6 +33,10 @@ sudo apt-get -y install clang-6.0 git cmake libunwind8 curl libomp-dev
3433

3534
Commands:
3635

36+
dotnet build /p:SkipNative=true
37+
dotnet build # for cuda support on Windows and Linux
38+
dotnet test
39+
3740
## Mac
3841

3942
Requirements:
@@ -44,7 +47,8 @@ Requirements:
4447

4548
Build with
4649

47-
dotnet build /p:SkipNative=true
50+
dotnet build
51+
dotnet test
4852

4953
## Packages
5054

build/BranchInfo.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<MajorVersion>0</MajorVersion>
44
<MinorVersion>102</MinorVersion>
5-
<PatchVersion>6</PatchVersion>
5+
<PatchVersion>7</PatchVersion>
66
</PropertyGroup>
77

88
</Project>

0 commit comments

Comments
 (0)