You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVGUIDE.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,19 @@
1
1
2
2
# Building
3
3
4
-
dotnet build /p:SkipNative=true
5
-
dotnet build # for cuda support on Windows and Linux
6
-
dotnet test
7
-
dotnet pack
8
-
9
4
## Windows
10
5
11
6
Requirements:
12
-
- Visual Studio
7
+
- Visual Studio 2022, fully updated with C/C++ desktop development and Windows SDK installed
13
8
- git
14
9
- cmake (tested with 3.18)
15
10
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:
17
12
13
+
dotnet build /p:SkipNative=true
14
+
dotnet build # for cuda support on Windows and Linux
0 commit comments