devenv

devenv command line does not show error for defective projects

允我心安 提交于 2019-12-13 04:26:30
问题 We use Jenkins to build our solutions automatically. We call devenv (Visual Studio 2010) by a command line: devenv PathToProject\Project.sln /build Release When the solution contains a defective project (*.vdproj, *.csproj), opening the solution in the Visual Studio IDE will result in an error message. But when building the solution with the above command line, no error message is shown at all, and consequently Jenkins reports success. if you want to reproduce the problem, just open the

Run devenv from commandline

浪子不回头ぞ 提交于 2019-12-11 11:29:27
问题 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim lRet& lRet = Shell("cmd /k devenv m:\myproject.sln /build Release", 1) End Sub This fails with the command line saying "devenv" is misspelt or not found. Does anybody know why? 回答1: I ran all "bat" files that I could find in the VC programs directory. First I started them not as as admin, and it did not work. When I started the bats as an admin, the command would finally work. Also

devenv always rebuilds my project, because a typescript file is newer than a pdb file

烈酒焚心 提交于 2019-12-11 03:04:37
问题 I have a project with typescripts. devenv constantly rebuilding this project. Diagnostics output contains this line: Project 'Benefits' is not up to date. Input file 'C:\abc\UI\BenefitsWeb\Scripts\Benefits\Modules\PPACA\ApprovalScreen.ts' is modified after output file 'C:\abc\UI\BenefitsWeb\bin\Dayforce.Web.Benefits.pdb'. So, how do I resolve this issue? The aforementioned typescript file is truly newer than the PDB. But the PDB is not the output of the typescript compilation !!! Here is how

Visual Studio 2013 and TFS Build 2015: Devenv.exe unable to produce MSI file

守給你的承諾、 提交于 2019-12-10 18:22:20
问题 We are in the process of upgrading our TFS 2013 server to TFS 2015. In that regard I have run into an issue when trying to perform an application build on a build agent with the new version, using our XAML template build script (which was created in TFS 2013). Most of our solutions use the above-mentioned template when we build them. The solutions (sadly, still) use setup projects (.vdproj) to generate an MSI package for the application. To build the setup project, and produce an MSI, for a

Creating a new Visual Studio solution from the command line

天涯浪子 提交于 2019-12-10 17:54:11
问题 Is there a way I can use devenv to create a new Visual Studio solution from a multi-project template that I made. There are lots of resources on building with the command line, but I can't seem to find anything on creating a new solution. I want to be able to open a new solution from the template from a code generator that I made, so that I can then generate code and add it to the "skeleton". Thanks 来源: https://stackoverflow.com/questions/6403897/creating-a-new-visual-studio-solution-from-the

Joomla Custom Compoment Dev Env : Hot Deployment

非 Y 不嫁゛ 提交于 2019-12-08 12:17:28
问题 I'm planning on developing a Joomla custom component and storing the files in a git repo. The structure of my git project will mimic the deployed joomla struture <root> -administrator -components -com_abc -components -com_abc -modules -com_abc -plugins -com_abc Rather than having to copy/zip the php/html files for the component each time i'd like to try and use the joomla root folder as the root for my git project. I'd use the git ignore feature to exclude files that belong to the joomla core

Visual Studio 2010 (devenv) Hung Process After Closing

不羁的心 提交于 2019-12-06 09:17:56
问题 I have problem with Visual Studio 2010 on Windows 7 64-bit. After some time of work VS starts consuming ~50% CPU and UI responding slows down. When I close VS then UI disappear but process stay. When I forgot to kill those hung processes at the end of day, I will end up with numerous devenv.exe processes. I have reinstall Visual Studio and reinstall Windows and ended up with the same problem... doesn't change anything. Please help. :/ 回答1: Remove and/or uninstall all third-party Visual Studio

Visual Studio 2015 Not Working

余生长醉 提交于 2019-12-05 20:11:12
After installing Visual Studio 2015 Community Edition multiple times, and trying to repair it multiple times, I have nearly given up. Every time it finishes, I either get into the application or not at all, and I am encountered with the infamous 'Visual Studio has stopped working'. From doing /Log, I have found the following errors: <entry> <record>2254</record> <time>2016/01/01 03:05:17.135</time> <type>Error</type> <source>Extension Manager</source> <description>Extension will not be loaded because an extension with the same ID &apos;Microsoft.VisualStudio.TeamFoundation.TeamExplorer

Build merge module without Devenv from .vdproj

五迷三道 提交于 2019-12-05 08:34:16
I read quit a few Stackoverflow Questions about building mergemodules via commandline but all of them were accepted when either somebody suggested to use devenv for compilation or use Dark to create wix-files from existing msi files. Considering the following: VisualStudio isn't installed on the buildserver I have to use. I am using nant + msbuild to compile the solutions I would like to compile mergemodules from .vdproj (because Visual Studio detects dependencies automatically) and create a msi setup from multiple mergemodules ... how can I build the merge modules from commandline without

how do I add preprocessor #define in devenv command line?

孤者浪人 提交于 2019-12-05 00:58:53
Is there a way to add extra preprocessor #define in devenv command line? I am not entirely sure what you mean by vcbuild command line but if you mean the Visual C++ command line compiler then you can add defines by add /Dxxxx, e.g. cl.exe /DSHAREWARE .... Additional answer based on comments: You should be able to set the CL environment variable with the extra preprocessor define: SET CL=/DSHAREWARE devenv .... Mere information can be found at MSDN The #defines are defined in your Visual Studio project file (.dsp or .vcproj file). This is a simple text file. So you could edit the project file