msbuild

Errors when building TensorFlow with CMake on Windows 10

青春壹個敷衍的年華 提交于 2020-01-24 20:48:26
问题 I am attempting a TensorFlow CMake build on Windows, but I'm running into problems. First, I run C:\work\tensorflow\tensorflow\contrib\cmake\build>cmake .. -A x64 -DCMAKE_BUILD_TYPE=Release ^ More? -DSWIG_EXECUTABLE=C:/Program1/swigwin-3.0.12/swig.exe ^ More? -DPYTHON_EXECUTABLE=C:/Python3.5/python.exe ^ More? -DPYTHON_LIBRARIES=C:/Python3.5/libs/python35.lib ^ More? -Dtensorflow_ENABLE_GPU=ON ^ More? -DCUDNN_HOME="C:\Program1\cudnn\cuda" and get the output -- Building for: Visual Studio 14

Visual Studio Team Services Continuous Integration: NuGet Restore Task Failed

大兔子大兔子 提交于 2020-01-24 03:26:35
问题 I am using Continuous Integration feature in Team Services (was Visual Studio Online). My build definition targets a specific project in a solution (not the whole solution), which is ClientUI MVC website. The solution contains three projects: ClientUI AdminUI Client Services The Build Definition for ClientUI Project: Repository : Nuget Installer Step: I have tried different params but not working. Visual Studio Build Before trying to target the a single project, my build definition was

使用devenv/MSBuild在命令行编译sln或csproj

余生颓废 提交于 2020-01-24 01:52:52
一 使用devenv来build单个project devenv是VisualStudio的可执行程序,一般安装在“C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE”下。用来在命令行或GUI方式运行VisualStudio。其中devenv.com是命令行程序,devenv.exe是GUI的程序。默认地当你调用devenv的时候其实是启动devenv.com,除非你显示地调用devenv.exe才会启动GUI的VisualStudio。 使用devenv来build一个.sln的实例: devenv d:\Build\MyProject\Src\MyProject.sln /Build "Release|Win32" 使用devenv来build一个.sln中的某个的实例: devenv.exe d:\Build\MyProject\Src\NyProject.sln /build "Release|Win32" /Project MyProject1 注意:通常地.sln中的多个Projects间有依赖关系,所以虽然你只是build一个.sln中的某个Project,但是还是需要指定Project所在.sln,然后通过/Project来指定Project的名字。 如果只是单个的Project

Installing MS C++ 14.0 for python without Visual Studio

做~自己de王妃 提交于 2020-01-23 14:48:14
问题 I am installing some python packages of an existed project and I am getting this error: error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/ I found a solution to that by installing it using one of the visual studio's products here StackOverflow answer, however, want to know if there is another way without needing to install more than 1.7 gb. PS: I installed the standalone MSbuild tools and didn't work for

Installing MS C++ 14.0 for python without Visual Studio

岁酱吖の 提交于 2020-01-23 14:42:50
问题 I am installing some python packages of an existed project and I am getting this error: error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/ I found a solution to that by installing it using one of the visual studio's products here StackOverflow answer, however, want to know if there is another way without needing to install more than 1.7 gb. PS: I installed the standalone MSbuild tools and didn't work for

Installing MS C++ 14.0 for python without Visual Studio

余生长醉 提交于 2020-01-23 14:41:10
问题 I am installing some python packages of an existed project and I am getting this error: error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/ I found a solution to that by installing it using one of the visual studio's products here StackOverflow answer, however, want to know if there is another way without needing to install more than 1.7 gb. PS: I installed the standalone MSbuild tools and didn't work for

Copy different file to output directory for release and debug?

余生颓废 提交于 2020-01-23 06:07:32
问题 I know how to select files that I want copied to the output directory of my build via Properties=>Copy Always, but I haven't been able to find a way to copy a different file depending on the build type. I have two separate config files, one set up for local development (ie. should be copied on debug build only) and one that is set up for the server environment (ie. should be copied on release build only). Does anyone know how to achieve this type of conditional functionality? 回答1: Currently I

Copy different file to output directory for release and debug?

梦想与她 提交于 2020-01-23 06:07:28
问题 I know how to select files that I want copied to the output directory of my build via Properties=>Copy Always, but I haven't been able to find a way to copy a different file depending on the build type. I have two separate config files, one set up for local development (ie. should be copied on debug build only) and one that is set up for the server environment (ie. should be copied on release build only). Does anyone know how to achieve this type of conditional functionality? 回答1: Currently I

MsBuild does not find restored NuGet-Packages on Visual Studio Online

大憨熊 提交于 2020-01-23 02:47:12
问题 I try to build a solution stored in an external GIT-Repository on Visual Studio Online. It has the following steps: 1: Git Restore - Works 2: NuGet Restore - Works 3: Build - Does NOT work My first guess when looking at the logs is that MsBuild is not looking for the Packages where NuGet had stored them. Some Lines from NuGet Restore: 2018-03-14T21:10:11.0352862Z Completed installation of AngleSharp 0.9.9 2018-03-14T21:10:11.0353230Z Adding package 'AngleSharp.0.9.9' to folder 'D:\a\1\s

TFS Build Controller : “Could not load file or assembly 'Microsoft.WindowsAzure.StorageClient, Version=1.7.0.0”

↘锁芯ラ 提交于 2020-01-23 00:42:48
问题 As you know that your TFS Preivew does not support for Azure SDK 1.8 so We are using On-permises TFS build controller to build our project. During Azure Continous Inegration deployment build we are getting this error ======================================== Exception Message: Could not load file or assembly 'Microsoft.WindowsAzure.StorageClient, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. ===========