The C# dynamic type seems not to compile when UseHostCompilerIfAvailable is set to false. I have both the required references Microsoft.CSharp and System.Core in my project, but it refuses to recognize it. Using the integrated Visual Studio compiler works, however.
The offending line is:
dynamic obj = this.Engine.Operations.CreateInsta...
Need to write the script for deploying of web site to shared directory. But for access to this directory needs enter login/password. How can i do it?
The part of MSBuild config:
<PropertyGroup Condition="'$(SERVER)'=='DEV'">
<DeploymentFolder>\\server\dir$</DeploymentFolder>
<CopyConfig>dev.web.config</CopyConfig>
<Zip...
Hi,
Is it just me or is the documentation on this project really scarce?
I'm trying to find how to use the FtpCreateRemoteDirectory and FTP functionality in general, but can't seem to find anything.
Googling FtpCreateRemoteDirectory, only shows the project's source code...
...
I've used AstroGrep and searched both C:\Windows\Microsoft.NET and C:\Program Files (x86)\MSBuild
and I can't find anything that refers to _CopyWebApplication besides the file itself. I also tried to search for webapplication to see if something was importing that file, no luck. I have vs2008 and vs2010 ultimate installed.
I'm troublesh...
The VS2010 Deployment package feature creates the package with a directory structure like:
Package\Archive\Content\C_C\Sources\Website1\Web\obj\Debug\Package\PackageTmp
I want to have the contents of the last PackageTmp in the root and not the whole directory structure. What is the best way to do this, create a custom task which copies...
In the project file(s) I have the following
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" />
Which I am not able to change.
So far my attempts at
<Properties>CustomAfterMicrosoftCommonTargets=D:\Projects\OverrideCopyWebApplication.targets</Properties>
are no...
I'd like to run a command to execute a subversion command from the TFS custom activity. Should I create a msbuild script to exec the svn command and call msbuild from the activity?
Thanks. Anyone?
...
I have had my first successful build using CC.Net + MSBuild on legacy project. Only took 8 hours.
My newb question is: Where is the output?
My ArtifactDirectory is empty. Where did everything go?
...
Is it possible to take a list of projects and parallel build them only if they aren't up to date?
<Target Name="DependenciesLevel7" DependsOnTargets="DependenciesLevel6">
<Message Text="5 items to build" />
<MSBuild Projects="C:\Projects\ApplicationManager.csproj;C:\Projects\Metrics.csproj" Properties="$(CustomAllProperties)" BuildInPar...
I've got the weirdest thing I've seen in a long while with VS2010.
I have the same solution, checked out from svn, into two different folders.
One builds one doesn't... but MSBuild doesn't actual fail to build. All the assemblies build and it will run, but VS2010 keeps saying one project fails. If anyones seen this before or can see what...
I have refer msbuild path in tfsbuild.config.exe to msbuild4.0
and also change tools version in tfsbuild.config to 4
but when i build, i found out that it build solution with tools version 2.0..
Does anyone face this problem before ??
my vs2010 solution consists of vs2010 and vs2008 project.
...
Hi, I have a thirdparty .net dll being reference and used by my dll/class library project “A”. My console app project “B” references project “A”.
My problem is the thirdparty dll is not being copied to the build out for console app project “B”.
What’s the problem here? The thirdparty dll ref’d in my dll/class library is set to LocalCo...
Hello,
My "entry point" project has explicit x86 and x64 platform configuration. All referenced projects are of Any CPU.
When I try to build my project with /p:Configuration=Debug;Platform=x86 it fails on referenced projects with messages
The OutputPath property is not set for this project. Please check to make sure that you have spec...
Why am I getting the following Build error?
C:\WINDOWS\Microsoft.NET\Framework\v3.5\msbuild.exe C:\Code\EduBenesysNET\EduBenesysNET\EduBenesysNET.vbproj /t:publish /p:Configuration=Release /p:Platform=AnyCPU /v:detailed /p:PublishDir="\\BSIIS3\c$\DATA\WEBSITES\benesys.net\benesys.net\TotalEducationTest\" /p:InstallUrl="https://www.bene...
I have a project that is for a piece of software. So I reference DLL libraries for that software in my project so I can code and make some nice plugins and extensions for the software via their API.
The problem is that the software has many kinds of versions: Enterprise, Lite, version 1.6, version 1.7, version 2.0, etc. If I want my pro...
This is similar to these 2 questions:
http://stackoverflow.com/questions/2604594/why-does-msbuild-fail-from-the-command-line-where-vs2008-succeeds
http://stackoverflow.com/questions/280559/how-to-get-cmd-line-build-command-for-vs-solution
When I build from Visual Studio 2008, the build succeeds. If I build from the command line using ...
We have a build machine running in our development department, which we've set up to build continuously throughout the working day.
What this does is:
Deletes the source code previously checked out (5 minutes)
Does a clean checkout from subversion (15 minutes)
Builds a whole bunch of C++ and .NET code (35 minutes)
Builds installers and...
It seems that MsBuild creates a folder called, "BuildType" on the build server and this folder is where the .proj file is copied. In source control I have several files that are in the same folder as the build project file. I have a workspace mapped to this location.
I would like to be able to specify explicitly which files from this wo...
I'm setting up a new deployment of tfs 2010. I've got a couple stub projects to be built sitting inside a solution, and I'm attempting to configure a continuous integration build on it. So, I configured a build with all the defaults, and kicked it off. I got this error:
TF215097: An error occurred while initializing a build for build de...
Hello everybody,
imagine the following scenario:
Assembly "Foo.dll" references the ADOX-Library (Microsoft ADO Ext. 2.8 for DDL and Security) which was added as Interop.ADOX.dll in the bin-directory by VS 2010. "Local copy" of this reference was set to true, too.
Assembly "Bar.exe" references both Foo.dll and additionally the ADOX-Lib...