msbuild

What are the MSBuild project level properties for Delphi?

こ雲淡風輕ζ 提交于 2019-12-28 12:05:07
问题 The Delphi documentation for MSBuild says /property:name=value sets or overrides project-level properties, where name is the property name and value is the property value. Use a semicolon or a comma to separate multiple properties, or specify each property separately. /p is also acceptable. For example: /property:WarningLevel=2;OutputDir=bin\Debug I can't find a list of available properties, here's what I know so far: WarningLevel OutputDir (dcc32 -e equivalent) Config I'd like to get a

error MSB3411: Could not l oad the Visual C++ component “VCBuild.exe”

僤鯓⒐⒋嵵緔 提交于 2019-12-28 11:57:28
问题 I have Visual Studio 2010 with SP1 and Windows sdk 7.1. I also have VS2012 and Windows kit 8. when i run Windows SDK 7.1 Command Prompt and run node-gyp build --msvs_version=2010 it gives me error: error MSB3411: Could not load the Visual C++ component "VCBuild.exe". If the component is not installed, either 1) install the Microsoft Windows SDK for Windows Server 2008 and .NET Fr amework 3.5, or 2) install Microsoft Visual Studio 2008. Is it trying to find VCBuild.exe. I found that vcbuild

How do I perform the EXEC task in a “loop” with MSBuild ItemGroups?

走远了吗. 提交于 2019-12-28 08:09:14
问题 How do I perform the EXEC task in a "loop" with MSBuild ItemGroups? Instead of repeating this command over and over, like so: <Exec ContinueOnError="false" Command="sqlcmd -S $(ServerName) $(SqlServerUser) -d $(DbName) -v TableName=%22account%22 -i data\add_sql_cache.sql -b" /> <Exec ContinueOnError="false" Command="sqlcmd -S $(ServerName) $(SqlServerUser) -d $(DbName) -v TableName=%22services%22 -i data\add_sql_cache.sql -b" /> <Exec ContinueOnError="false" Command="sqlcmd -S $(ServerName) $

.csproj multiple hint paths for an assembly

两盒软妹~` 提交于 2019-12-28 04:51:12
问题 I'm packaging example code for an SDK distribution. In the distribution, the relative path from code to the SDK assemblies is different from the build machine. For example: Distribution csharp/bin/assembly.dll example/ex1/ex1.csproj Build Machine foo/sdk/csharp/bin/assembly.dll bar/baz/quux/ex1/ex1.csproj Assume that I can't move anything. Is there a way I can instruct ex1.csproj to look in both ../../csharp/bin/ and ../../../../foo/sdk/csharp/bin/ for assembly.dll ? In C++ I'd put the

How to reference different version of dll with MSBuild

天涯浪子 提交于 2019-12-28 03:46:09
问题 I have a web application project which utilises a set of 3rd party dll's. The issue is that the dev/staging environment is 32bit, but production is 64bit. As such, we have to re-reference and build the solution each time we want to deploy. I am now wanting to automate this, but unsure how to go about it with MSBuild? All other dll's are the same, just the 3 3rd party dll's. EDIT I have made some headway, however am coming up with some runtime assembly issues. I have 3 dll files, 1.dll, 2.dll,

.NET 4.0 build server reference assemblies warnings MSB3644

断了今生、忘了曾经 提交于 2019-12-28 03:45:09
问题 I'm getting a bunch of errors on my build server: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(847,9): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC)

How to conditionally deploy an app.config based on build configuration?

﹥>﹥吖頭↗ 提交于 2019-12-28 03:38:06
问题 I have three custom build configurations { Dev, Qs, Prd }. So, I have three app configs { Dev.config, Qs.config, Prd.config }. I know how to edit the .csproj file to output the correct one based on the current build configuration. <Target Name="AfterBuild"> <Delete Files="$(TargetDir)$(TargetFileName).config" /> <Copy SourceFiles="$(ProjectDir)$(Configuration).config" DestinationFiles="$(TargetDir)$(TargetFileName).config" /> </Target> My problem is, I need to have six build configurations {

Including content files in .csproj that are outside the project cone

﹥>﹥吖頭↗ 提交于 2019-12-27 16:50:48
问题 I have a C# project say MyProject.csproj located at "C:\Projects\MyProject\". I also have files that I want copied into the output directory of this project. But, the files are at the location "C:\MyContentFiles\", i.e. they are NOT within the project cone. This directory has sub-directories as well. The contents of the directory is not managed. Hence I have to include all what is under it. When I include them as 'Content' in the project, they are copied, but the directory structure is lost.

.NET Core应用保护新时代!全新Dotfuscator v6.0 Beta强势支持Windows,Mac和Linux跨平台构建保护

无人久伴 提交于 2019-12-27 14:46:39
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> Dotfuscator 是一个.NET的Obfuscator。它提供企业级的应用程序保护,大大降低了盗版、知识产权盗窃和篡改的风险。Dotfuscator的分层混淆、加密、水印、自动失效、防调试、防篡改、报警和防御技术,为世界各地成千上万的应用程序提供保护。 Dotfuscator自2007年以来一直在版本4.x上进行。即使在添加主要新功能,对4.0和4.5等新.NET版本的支持以及对2010年之后的Visual Studio版本的支持的过程中,仍设法在整个过程中出现重大突破。 随着Microsoft明确的指示,.NET Core是未来 ,再加上Xamarin和非Windows开发环境的日益普及以及IDE和构建环境的不断发展,现在是Dotfuscator全面拥抱现代开发的时候了! DOTFUSCATOR 6.0 BETA:进入DOTFUSCATOR的下一个时代 DOTFUSCATOR 6.0 BETA( 点击下载 )实现重大突破——跨平台支持,可在Windows,Mac和Linux上在.NET Core和Mono下进行构建。 尽管Dotfuscator长期以来一直支持处理针对Mono或(最近).NET Core的应用程序,但这是Dotfuscator的构建组件可以在Windows,Mac和Linux上的.NET

Publish web application into azure web app using visual studio online

久未见 提交于 2019-12-25 19:08:21
问题 I have created following Virtual Applications and Directories in the azure portal Click here to view the image And using visual studio online I can build and deploy the site into root folder but I couldn't figure it out how to deploy into a virtual directory I have created earlier. Click here to view the image Any one have experience on this ? Appreciate your thoughts. 回答1: The Azure Web App Deployment task can't deploy a virtual application as it uses Publish-AzureWebSiteProject which can't