diff options
author | Mark Spruiell <mes@zeroc.com> | 2017-04-14 12:32:27 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2017-04-14 12:32:27 -0700 |
commit | 1e7dee261764a4cb6bfcf9359fd60c179d1dcbd6 (patch) | |
tree | 799dfeaaafe07b717569688b1383131e33970918 /csharp/BuildInstructions.md | |
parent | Formatting fixes (diff) | |
download | ice-1e7dee261764a4cb6bfcf9359fd60c179d1dcbd6.tar.bz2 ice-1e7dee261764a4cb6bfcf9359fd60c179d1dcbd6.tar.xz ice-1e7dee261764a4cb6bfcf9359fd60c179d1dcbd6.zip |
updating build instructions
Diffstat (limited to 'csharp/BuildInstructions.md')
-rw-r--r-- | csharp/BuildInstructions.md | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/csharp/BuildInstructions.md b/csharp/BuildInstructions.md index 69e3c57176a..009ab083e73 100644 --- a/csharp/BuildInstructions.md +++ b/csharp/BuildInstructions.md @@ -11,7 +11,7 @@ for the supported platforms. Ice for .NET was extensively tested using the operating systems and compiler versions listed for our [supported platforms][2]. -The build requires the [Ice Builder for Visual Studio][3], you must install +The build requires the [Ice Builder for Visual Studio][3]. You must install version 4.3.6 or greater to build Ice. ## Compiling Ice for .NET with Visual Studio @@ -19,7 +19,8 @@ version 4.3.6 or greater to build Ice. ### Preparing to Build The build system requires the `slice2cs` compiler from Ice for C++. If you have -not built Ice for C++ in this source distribution, refer to [C++ build instructions](../cpp/BuildInstructionsWindows.md). +not built Ice for C++ in this source distribution, refer to the +[C++ build instructions](../cpp/BuildInstructionsWindows.md). ### Building Ice for .NET @@ -29,13 +30,16 @@ Open a Visual Studio command prompt and change to the `csharp` subdirectory: To build the Ice assemblies, services and tests, run - MSBuild msbuild\ice.proj + msbuild msbuild\ice.proj -It is also possible to build the test suite using the binary NuGet packages, use: +Upon completion, the Ice assemblies are placed in the `Assemblies` subdirectory. - MSbuild msbuild\ice.proj /p:ICE_BIN_DIST=all +If you want to run the test suite without building the entire source base, use this +command: -Upon completion, the Ice assemblies are placed in the `Assemblies` subdirectory. + msbuild msbuild\ice.proj /p:ICE_BIN_DIST=all + +The build will automatically install ZeroC's official Ice binary NuGet packages if necessary. ## Running the .NET Tests @@ -59,17 +63,17 @@ Ice invokes unmanaged code to implement the following features: - Protocol compression - Signal processing in the Ice.Application class -if you do not require these features and prefer that the Ice run time use only -managed code, you can build using the `Debug-Managed` or `Release-Manage` -configurations. +if you do not require these features and prefer that the Ice run time use only +managed code, you can build using the `Debug-Managed` or `Release-Managed` +configurations: - MSBuild msbuild\ice.proj /p:Configuration=Release-Managed + msbuild msbuild\ice.proj /p:Configuration=Release-Managed ## NuGet packages -To create a NuGet package for the distribution use the following command: +To create a NuGet package for the distribution, use the following command: - MSbuild msbuild\ice.proj /t:NuGetPack + msbuild msbuild\ice.proj /t:NuGetPack This will create `zeroc.ice.net\zeroc.ice.net.nupkg`. |