I try to run a project built with tfs2013 and vs2013.
All of my colleagues can execute the build of this project but not me (I'm on vs2015).
I understood that the problem came from different TeamFoundation dll (presented in the GAC for vs2013 and placed in c: \ program files (x86) \ Microsoft Visual Studio 14.0 \ Common7 \ IDE \ CommonExtensions \ Microsoft \ TeamFoundation \ Team Explorer to vs2015 )
There is also a problem with the workspace:
vs2013 = c: \ Users \ Username \ AppData \ Local \ Microsoft \ Team Foundation \ 5.0 \ Cache
vs2015 = c: \ Users \ Username \ AppData \ Local \ Microsoft \ Team Foundation \ 6.0 \ Cache
What can i do if i want to execute this build?
Could you provide the detail error message when you built your project? Did you mean VS2015 can't found the dll in your project?
According to your infomation, the dll in GAC won't be check in souce control. You can view them in the references of the solution. And also it won't affect your build. However, if the project referenced some Team Foundation dll or 3rd part dll, you may got the error XX.dll can't be found in your project when using VS2015.
A workaround for your situation, create a folder under the solution and add the Team Foundation dll or 3rd part in the folder. Check them in the source control,remember to edit the build definition to add the folder in source settings. Then you can queue the build sucessfully.
Moreover, c: \ Users \ Username \ AppData \ Local \ Microsoft \ Team Foundation \ 6.0 \ Cache means the cache of TFS. 5.0 stands for TFS2013 and 6.0 stands for TFS2015. This should have no effect on the build result. It just mean you are using TFS2015 instead of TFS2013.
Related
Does anyone know which package provides virt-install CLI tool in Yocto or how to use virt-install tool in yocto environment?
I have added below packages in my bb file but I don't see virt-install tool getting built
packagegroup-core-boot \
qemu \
libvirt \
libvirt-libvirtd \
libvirt-virsh \
libvirt-python \
kernel-module-kvm \
kernel-module-kvm-intel \
kernel-module-kvm-amd \
Please help me.
Not 100% sure about Yocto, but I think virt-manager usually provides virt-install.
I'm building pjsip with mingw/msys2 and it keeps building dlls with .2 after them (.dll.2 files) as well as .dll files. If I delete the .dll.2 files that are built and try and build my program my program will STILL link to the .dll.2 versions and complain that they don't exists.
Command I run to build pjsip:
./configure CFLAGS="${MAKEFLAGS}" CXXFLAGS="${MAKEFLAGS}" \
--build=${MINGW_CHOST} \
--host=${MINGW_CHOST} \
--target=${MINGW_CHOST} \
--prefix="${OUT_PREFIX}" \
--disable-openh264 \
--disable-v4l2 \
--disable-ffmpeg \
--enable-libsamplerate \
--disable-video \
--enable-shared \
--disable-static \
--disable-libyuv \
--with-external-speex \
--with-gnutls
I can see in the build output that it builds dll.2 and then links them
ln -sf libpjsua2.dll.2 ../lib/libpjsua2.dll
How can I make my probgram only depend on the .dll and not the .dll.2?
You are going to have to go (grep, perhaps) through the Makefile.am files, find the rule for libpjsua2, and modify it to remove the .2 'extension'. My guess is that the lib extension and integer 'extension' will not be hard-coded, so just search for libpjsua2. You can also remove the ln -sf bit at this point. Any changes you make to any files should be saved to a copy (or, you can diff) outside of the source/build directories so that you can reapply the changes if you ever download and unpack the source again.
The reason that you are running into this issue is that, at link time, the symbolic link is resolved and the actual name of the library is used. No amount of removing libraries is going to change this. Based only on the information you have given, it seems you might be misunderstanding what is actually being built: libpjsua2.dll is not a library in and of itself, rather a link to libpjsua2.dll.2. When you delete libpjsua2.dll.2, you are deleting the actual library, libpjsua2.dll points nowhere, and you end up with a "not found" error.
I have all the artifacts are added to the folder c: \ artefacts in this folder for example 2 project c: \ artefacts \ proj1 and c: \ artefacts \ proj2. I need to copy from c : \ artefacts \ proj2 all such files to the server \ \ 10.77.0.3 \ Proj2 where Proj2 a folder which has a share. if I perform
Program Files (x86) \ IIS \ Microsoft Web Deploy V3 \ msdeploy.exe-verb: sync-source: contentPath = c: \ artefacts \ proj2, includeAcls = true-dest: contentPath = \ \ 10.77.0.3 \ Proj2 then I all copied. but if I write so in msbuild
<MSBuild Projects="artefacts \proj2\proj2.sln"
Properties="OutDir=\ \ 10.77.0.3 \С$\ Proj2;
Configuration=$(Configuration); "
ContinueOnError="false"/>
system writes that there is no permission to write to \ \ 10.77.0.3 \С$\ Proj2
Why isnt msdeploy enough? MSDeploy was build to transfer files onto web servers.
But OKay, if you want to do it your way than if you have your severs in a domain then check the username TeamCity's agents are being run and verify that this user has permissions on the 10.77.03.
If you dont have your servers in domain then this can be a problem, you could always set permissions to everyone on that directory but i would not recommended it.
I configured MSbuild for delivery at iis. in the same MSbuild.xml I setup for delivery 4 more programs. Now everything works: TeamCity launches MSbuild.xml
which creates 5 projects on the same computer. After one application delivered on iis server that is on another computer. I need another app comes to another computer, but not on iis but simply to a specific folder.
then the build project, which I want to put on a remote computer instead "OutDir=%(BuildArtifactsDir.FullPath)\DBUpgrader\
<MSBuild Projects="DatabaseUpgrader\DatabaseUpgrader\DatabaseUpgrader.sln"
Properties="OutDir=%(BuildArtifactsDir.FullPath)\DBUpgrader\;Configuration=$(Configuration)"
ContinueOnError="false"/>
did not quite understand (((could describe in detail or example? I have all the artifacts are added to the folder c: \ artefacts in this folder for example 2 project c: \ artefacts \ proj1 and c: \ artefacts \ proj2. I need to copy from c : \ artefacts \ proj2 all such files to the server \ \ 10.77.0.3 \ Proj2 where Proj2 a folder which has a share. if I perform
Program Files (x86) \ IIS \ Microsoft Web Deploy V3 \ msdeploy.exe-verb: sync-source: contentPath = c: \ artefacts \ proj2, includeAcls = true-dest: contentPath = \ \ 10.77.0.3 \ Proj2 then I all copied. but if I write so in msbuild
<MSBuild Projects="artefacts \proj2\proj2.sln"
Properties="OutDir=\ \ 10.77.0.3 \С$\ Proj2;
Configuration=$(Configuration); "
ContinueOnError="false"/>
system writes that there is no permission to write to \ \ 10.77.0.3 \С$\ Proj2
You can either build (or copy after build) to a UNC path or a share, e.g. <MSBuild Properties="OutputPath=\\Foo\C$\Bar" or use msdeploy with dirPath provider as it sounds like you already use it for IIS deployment.
I'm starting with the Titanium tool, but I can not build for mobile. This error appears:
Titanium Command-Line Interface, CLI version 3.1.2, Titanium SDK version 3.1.3.GA
Copyright (c) 2012-2013 Appcelerator, Inc. All Rights Reserved.
[ERROR]: "Missing Java SDK Please make sure Java SDK is on your PATH.
I've tried to put the environment variables
"C:\Java\jdk1.6.0_03;JAVA_HOME%/bin%"
"C:\Java\jdk1.7.0_45;JAVA_HOME%/bin%"
"C: \ Java \ jdk1.6.0_03 \ bin"
"C: \ Java \ jdk1.7.0_45 \ bin"
"C: \ Java \ jdk1.6.0_03"
"C: \ Java \ jdk1.7.0_45"
I tried the all 6 and restarting the computer. What is missing?
path settings
The 32-bit version of the JDK is required regardless of whether
Titanium is running on a 32-bit or 64-bit Windows system.