msbuild

Is the ClCompile item a task as well?

给你一囗甜甜゛ 提交于 2020-01-16 11:23:07
问题 I am trying to understand the visual cpp project document here (https://docs.microsoft.com/en-us/cpp/build/walkthrough-using-msbuild-to-create-a-visual-cpp-project). <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup> <ProjectConfiguration Include="Debug|Win32"> <Configuration>Debug</Configuration> <Platform>Win32</Platform> </ProjectConfiguration> <ProjectConfiguration Include="Release|Win32"> <Configuration>Release<

OpenCV-Python ImportError: DLL load failed: The specified module could not be found

偶尔善良 提交于 2020-01-16 09:43:05
问题 I am working on windows 10 with Python 3.6.0 (Anaconda3) and jupyter notebook. I have successfully installed and imported OpenCV-Python with the help of comments in this post. Now the problem is that If I am importing opencv (ijmport cv2) from the same command prompt where I installed the opencv, it is importing without any error. But if I am importing opencv from another command prompt, then it is giving me this error: ImportError: DLL load failed: The specified module could not be found. I

How to install msbuild on CentOs

孤街醉人 提交于 2020-01-16 07:45:51
问题 I want to install msbuild on CentOS to run project.sln files. What are the commands for installing the same. I tried to install using "didstopia/msbuild" docker image but could not succeed. 回答1: Install the dotnet sdk for centOS. You will be able to run msbuild files with the command dotnet msbuild or even just dotnet . 来源: https://stackoverflow.com/questions/54735479/how-to-install-msbuild-on-centos

Intel Compiler 18.0 Toolset raises exception with msbuild

南笙酒味 提交于 2020-01-16 05:19:06
问题 I reinstalled my machine and installed Visual Studio 2017 , Visual Studio 2019 (Preview) and the Intel Compiler 18 . Due to unknown reasons, my projects do not work anymore, and I can't figure out what's causing it. Did anyone ever experience the following error message? My project uses the Intel C++ Compiler 18.0 toolset. Visual Studio 2017 error message : 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\include\xmemory0(178): error : identifier "_

VSTS build for UWP app not producing a .appxupload file

你说的曾经没有我的故事 提交于 2020-01-16 04:44:10
问题 Issue: When building a UWP using the VSTS build service no .appxupload file for store submissions is created. What I did: I created a build definition using the Universal Windows App template that contains 4 build steps. Apart from setting the repository to my external Git repository I didn't change anything. After the build finishes I only have the _Test folder in my drop. No .appxupload file. What I tried so far: According to Build your Universal Windows Plattform app I have to add the

Missing required property 'OutputPath' for project type 'PackageReference'

南笙酒味 提交于 2020-01-16 04:28:05
问题 I'm trying to run the following command thru Jenkins Pipeline bat 'nuget restore mySolution.sln -MSBuildPath "C:\\Program Files (x86)\\MSBuild\\14.0\\Bin"' but i'm getting error saying Invalid restore input. Missing required property 'OutputPath' for project type 'PackageReference'. Input files: C:\Program Files (x86)\Jenkins\workspace\My Project Build Pipeline\myProject\myProject.csproj. I tried bat label: '', script: '"C:\\Package tools\\nuget.exe" restore "C:\\Program Files (x86)\\Jenkins\

Ignore Directory in MSDeploy and MSBuild

試著忘記壹切 提交于 2020-01-15 20:17:40
问题 I have a Web Site project that is deployed using "Publish Web Site" feature in Visual Studio. I understand this feature uses WebDeploy (MSDeploy) which calls MSBuild to compile the site. There is a directory within the website that needs to be ignored by both WebDeploy and MSBuild because it breaks the site. I was able to configure the deployment configuration file (.pubxml) to make WebDeploy ignore directory: <PropertyGroup> ... <ExcludeFoldersFromDeployment>node_modules<

Ignore Directory in MSDeploy and MSBuild

跟風遠走 提交于 2020-01-15 20:17:23
问题 I have a Web Site project that is deployed using "Publish Web Site" feature in Visual Studio. I understand this feature uses WebDeploy (MSDeploy) which calls MSBuild to compile the site. There is a directory within the website that needs to be ignored by both WebDeploy and MSBuild because it breaks the site. I was able to configure the deployment configuration file (.pubxml) to make WebDeploy ignore directory: <PropertyGroup> ... <ExcludeFoldersFromDeployment>node_modules<

Spaced paths, msbuild, and psake

和自甴很熟 提交于 2020-01-15 11:54:16
问题 Related question here. This works properly for compiling an mvc3 application. task Compile { $config = $script:siteConfig.config exec { & "C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe" $webproject_path ` /p:Configuration=$config /p:WebProjectOutputDir="$publish_dir" ` /p:Outdir="$out_dir" /p:CleanWebProjectOutputDir=False ` /T:_WPPCopyWebApplication /T:ResolveReferences /verbosity:quiet /nologo } } All of those path variables are script properties. However, when spaces are

Spaced paths, msbuild, and psake

瘦欲@ 提交于 2020-01-15 11:54:13
问题 Related question here. This works properly for compiling an mvc3 application. task Compile { $config = $script:siteConfig.config exec { & "C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe" $webproject_path ` /p:Configuration=$config /p:WebProjectOutputDir="$publish_dir" ` /p:Outdir="$out_dir" /p:CleanWebProjectOutputDir=False ` /T:_WPPCopyWebApplication /T:ResolveReferences /verbosity:quiet /nologo } } All of those path variables are script properties. However, when spaces are