diff --git a/contrib/windows-agent/README.rst b/contrib/windows-agent/README.rst index 743eabab..a0acf350 100644 --- a/contrib/windows-agent/README.rst +++ b/contrib/windows-agent/README.rst @@ -4,5 +4,31 @@ Murano Windows Agent Murano Windows Agent is an initial version of Murano Agent. Currently, it's outdated and not supported. -The main difference with the new Python agent is support of running Powershell. +The main difference with the new Python agent is support of running PowerShell. After this support will be added to Python Agent, Windows Agent will be dropped. + + +How to build +============ + +Build using Visual Studio +------------------------- +1. Launch Visual Studio +#. Ensure that you have latest ``NuGet`` extension installed (shipped with recent + versions of VS) +#. Open ``WindowsAgent.sln`` +#. Select target configuration (Release or Debug) using drop-down found in VS + toolbar +#. Build the Solution (Build menu -> Build Solution). + + +Build from command line +----------------------- +1. CD to where ``WindowsAgent.sln`` is located +#. Download nuget.exe from https://dist.nuget.org/win-x86-commandline/latest/nuget.exe + to current directory. +#. Run ``nuget.exe restore`` +#. Build the solution using msbuild: + ``C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\MSBuild.exe /p:Configuration=Release`` + + The exact path to msbuild may differ on your system and .NET version installed. \ No newline at end of file diff --git a/contrib/windows-agent/Tools/NuGet.exe b/contrib/windows-agent/Tools/NuGet.exe deleted file mode 100644 index 4645f4b3..00000000 Binary files a/contrib/windows-agent/Tools/NuGet.exe and /dev/null differ diff --git a/contrib/windows-agent/WindowsAgent/WindowsAgent.csproj b/contrib/windows-agent/WindowsAgent/WindowsAgent.csproj index bf9aba9a..34387e02 100644 --- a/contrib/windows-agent/WindowsAgent/WindowsAgent.csproj +++ b/contrib/windows-agent/WindowsAgent/WindowsAgent.csproj @@ -83,7 +83,6 @@ - $(SolutionDir)Tools\nuget install $(ProjectDir)packages.config -o $(SolutionDir)Packages