msbuild

TFS 2010 Build Definition: MSBuild Arguments seems to be ignored

ぐ巨炮叔叔 提交于 2020-01-02 12:01:15
问题 I am trying to create a package after a build in TFS 2010. When I launch the following command on my computer: MSBuild.exe Fenicorp.Front.Web.FunnyApplication.sln /p:DeployOnBuild=true;DeployTarget=Package the solution is compiled and there is a package inside the obj folder. However, when I specify /p:DeployOnBuild=true;DeployTarget=Package as MSBuild Arguments in a Build Definition and queue a new build, there is no package in my drop folder. Moreover the build status is Successfull, as if

svn: Path does not exist in revision

那年仲夏 提交于 2020-01-02 08:19:11
问题 I want to create tag in subversion. On the command line I have tried the following: svn copy http://myserver.mycompany.com:8080/svn/SVN_Main/trunk http://myserver.mycompany.com:8080/svn/SVN_Main/tag/Build-5.4.3.2 -m "Build 5.4.3.2 tag" I get this error: svn: Path 'http://myserver.mycompany.com:8080/svn/SVN_Main/trunk' does not exist for revision 1234 The path http://myserver.mycompany.com:8080/svn/SVN_Main/trunk is exact same path that I have when I use the repro-browser on that folder. Any

Visual Studio 2015 exception SqlScriptPreprocessSqlVariables when running web publish wizard with update database

六眼飞鱼酱① 提交于 2020-01-02 07:46:31
问题 Update: I have reproduced the same Error with a new empty VS2015 WebApplication project. Added a connectionString to a new empty SQL database Added a sql-script file to the solution and selected publish... in the publish wizard. Example of web Publish wizard with included Update script. I will get the same error building a web deployment package or web deploy . Original post: The "SqlScriptPreprocessSqlVariables" task failed unexpectedly. This happens when I use publishing wizard or MSBuild

Compiling many typescript files at once resulted in File not found error

♀尐吖头ヾ 提交于 2020-01-02 07:26:09
问题 We have an MSBuild script which we use to compile all our .ts files in our project. First we create a propery group containing all the .ts files; <ItemGroup> <AllTypeScriptFiles Include="XXXXX\Scripts\**\*.ts;" Exclude="XXXX\Scripts\**\*.d.ts;" /> </ItemGroup> Then we dump this file list to an input file and run tsc.exe; <WriteLinesToFile File="typescriptcompiler.input" Lines="@(AllTypeScriptFiles)" Overwrite="true" Encoding="Unicode"/> <Exec Command=""$(MSBuildProgramFiles32)\Microsoft SDKs

All Targets Not Being Called (nested Targets not being executed)

萝らか妹 提交于 2020-01-02 05:21:08
问题 I am using a two TARGET files. On one TARGET file I call a TARGET that is inside the second TARGET file. This second TARGET then calls another TARGET that has 6 other TARGET calls, which do a number of different things (in addition to calling other nested TARGETS (but inside the same TARGET file)). The problem is that, on the TARGET where I call 6 TARGETS, only the first one is being executed. The program doesnt find its way to call the 2nd, 3rd, 4th, 5th, and 6th TARGET. Is there a limit to

Need primer for a Msbuild newbie [closed]

心已入冬 提交于 2020-01-02 05:15:24
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . We maintain a medium sized windows application developed in vb/c# .net in work. Still now the build and deploy process for this app is

How to specify CodeAnalysisRules in MSBuild via commandline

眉间皱痕 提交于 2020-01-02 04:55:11
问题 I want to be able to specify the Code AnalysisRules in commandline MSBuild (for Code Analysis / FXCOP). The project file would have something like this in it: <CodeAnalysisRules>-Microsoft.Globalization#CA1301;-Microsoft.Globalization#CA1302</CodeAnalysisRules> So I would assume that I use something like this: MSBuild.exe /property:RunCodeAnalysis=true /property:CodeAnalysisRules=-Microsoft.Globalization#CA1301 Which works fine, but when I want to add another rule, it does not like the semi

How to build android apk from command line?

让人想犯罪 __ 提交于 2020-01-02 04:37:07
问题 How can I build an APK file from the command line? I've tried MSBuild myProject.dproj /p:Config=Release /p:Platform=Android but no APK file is produced, only the .so file. 回答1: Some experimentation shows that the following aspects of the various proposed courses of action come into play for a more complete picture. When you create a new Delphi multi-target project (let's call it Foo) you have one MSBuild-compatible file created: the Foo.dproj Delphi project file. In the case of Android (the

Issues with RESX files on VS2010 targeting 3.5 framework

…衆ロ難τιáo~ 提交于 2020-01-02 03:57:24
问题 Here is a story what I recently ran into and a possible answer(?) I just wanted to share this information because I could not find this yet at stackoverflow. I upgraded my solution from VS2008, WinXP, 32bit TO VS2010, Win7, 64bit. When I make modifications on WinForms that generate new RESX files, or update the RESX files, I'm running into problems. A Debug build with VS2010 was no problem. However for Release mode I have to use a delay-signing process. Now that process gives errors on new

MvcBuildViews in MS2015 takes a long time

我的未来我决定 提交于 2020-01-02 03:41:09
问题 We are converting a solution to use the new Roslyn compiler. When I build it via teamCity in release mode, the MVCBuildViews step still uses aspnet_compiler.exe and it takes about 15 minutes to precompile views. The same process used to take 3 minutes using the previous version of aspnet_compiler.exe on .NET 4.5 This is the command that takes a while: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler.exe -v temp -p E:\path\to\web\project\Directory I have tried tweaking the MSBuild