I can't find why my pdb is generated in lowercase, even if the /Fd option is given with a mix of lowercase and uppercase letter.
Is that an options? How can I have the output to be $(IntDir)$(TargetName).pdb?
Using VS2013...
Thank you.
I can't find why my pdb is generated in lowercase, even if the /Fd option is given with a mix of lowercase and uppercase letter.
Is that an options? How can I have the output to be $(IntDir)$(TargetName).pdb?
Using VS2013...
Thank you.
Hi
I am trying to build a C# solution,but it's getting frozen(hanged),
From the event viewer I got this logs.
Faulting application name: MSBuildTaskHost.exe, version: 4.0.30319.18020, time stamp: 0x5062ae8cAnd
Faulting application name: TlbImp.exe, version: 3.5.30729.1, time stamp: 0x488ef6baThen I tried to build a simple program, I got this too..
Faulting application name: MSBuild.exe, version: 3.5.30729.7903, time stamp: 0x51ea31ffI reinstalled the visual studio ultimate 2010 along with SP1, but still getting the same error. Please suggest what need to be done.
Thanks
Himadri
Hello - I am trying to compile a project that has both Visual Fortran and C++ code. I keep getting the following error:
error: Required file tracker.exe is missing
referring to File Microsoft.CppCommon.targets Line 347 Column 5
Which is a MSBUILD file that you are warned against modifying.
The product information for what I am using is:
Microsoft Visual Studio Professional 2012 Version 11.0.50727.1 RTMREL
Microsoft .NET Framework Version 4.5.50938
Visual C++ 2012 04938-088-1041026-02607 Microsoft Visual C++ 2012
Intel(R) Visual Fortran Package ID: w_fcompxe_2013_sp1.2.176
Intel(R) Visual Fortran Composer XE 2013 SP1 Update 2 Integration for Microsoft Visual Studio* 2012, 14.0.0086.11, Copyright
I do have the tracker.exe in some a 'bin' directory that I have added to my PATH as well as added the path to the executables that points to the directory containing tracker.exe. At this point I am not sure
if that 'bin' directory was one I copied from my old computer or was the result of one of the SDK's I have installed.
Any advice/insight would be greatly appreciated.
Thanks much
Hi
I was using the msbuild command in Visual Studio 2008 command prompt succesfuly, now stop working and I cannot find the reason.
when I run the command I get the message: 'msbuild' is not recognized as internal or external command, operable command or batch file.
I've checked in C:\Windows\Microsoft.NET\Framework\v2.0.50727 looking for MSBuild.exe and it is in there!
:(
I'm running into a COM bug that is present in the original Visual Studio 2015 MSBuild process, but disappeared with Update 1. The exception being returned is:
Property, indexer, or event 'IChannelData.AvailableRegions' is not supported by the language; try directly calling accessor method 'IChannelData.get_AvailableRegions()'
This exception disappeared with VS 2015 Update 1.
However when setting up build machines with Build Tools 2015, it contains the same compiler as VS 2015.
From "C:\Program Files (x86)\MSBuild\14.0\Bin
MSBuild is version 14.0.23107 with Build Tools 2015
MSBuild is version 14.0.24730.2 with Visual Studio 2015 Update 1.
Now I know this is probably down in the compiler itself, but I am thinking the Build Tools 2015 should have an Update 1 including the same compiler and MSBuild as VS 2015 Update 1.
If there's a workaround for this that doesn't involve deploying VS to all my build agents I would love to know what it is.
Thanks.
Rick Martin
We know that MsBuild is an executable file. But npm msbuil is a js file.
As part of our build process in TFS 2013, we invoke devenv (instead of msbuild) for each of the solutions in our application. Although the build completes and the output packages are created successfully, TFS reports an error on each build related to TestWindowPackage (see the entry from ActivityLog.xml below). Here are the conditions that apply:
Here are the entries from ActivityLog.xml:
<entry>squincy
Hi Guys,
I am a AX Developer. Currently we are into AX 7 development. All AX objects are modified in VS2015. I Added AX forms from Application explorer into Project [Solution Explorer]. When I open the form I am getting two types of errors:
1. Value cannot be null. Parameters name: path 1
2. Object reference not set to an instance of an object.
In my team others can able to open the form.
What is wrong, can anybody help me on this.
So, I am using Microsoft Visual C++ 2010 Express, I create Visual C++ Windows Forms Application and when I try to build it I always get this error. Could someone explain how to fix it? Here is the error:
1>------ Build started: Project: Test, Configuration: Debug Win32 ------ 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MetaGen.targets(91,5): error MSB4062: The "MIBPreProcessDependencyGraph" task could not be loaded from the assembly Microsoft.Build.CppTasks.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Thanks.
Environment: Visual Studio 2013 Update 5
Hello,
I have a .cs file within class library that is referenced by a web application. I build both the class library and the application, and it produces a new .dll for the class library; however, the contents of the dll are not
updated. I use JetBrains DotPeek to decompile the dll to verify that the new version has not updated with the latest changes to the .cs file within the class library.
I can confirm the following:
1)The class library is in the references list for the applicaiton
2)The build action of the .cs file is "compile" & output directory is "Do Not Copy"
3) I am building using both debut and release configurations.
4) I have built, rebuilt and cleaned.
Thanks for you help, this is driving me up the wall and consuming so much time.
Hi,
Since an update (security?) of "Framework .NET" last week, I cannot build my application with Visual Studio any more.
Now, I must leave Visual Studio, delete directory "bin" in my projet start again Visual Studio to finally be able to compile my application.
I find this situation very uncomfortable!
Moreover, I also had problems with the breakpoints which I am not able any more to activated and disable...
Would you have a solution? Does there exist a correction for Visual Studio ?
Thank you,
Vincent
Hi there,
is there a release date for the VC++ 2015 Build Tools or are they coming with VS 2015 Update 2?
Has MS said whether they are going to continuously supppliy update for these build tool with each new compiler version?
Sincerely DrNochi
Hi,
I have a message compile in my build process which using a prebuild event to build it
E.g.
<PreBuildEvent><Command>cd "$(OutDir)" set myTemp=$(OutDir) set myDrive=%myTemp:~0,2% %myDrive% mc "$(ProjectDir)\a.mc"</Command></PreBuildEvent>
Looking at documentation for MSBUILD here you can build your own. I looked at the example for the Message Compiler here and created my own file below.
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"><ItemGroup><Filter Include="Message Source Files"><Extensions>mc;</Extensions><UniqueIdentifier>{B796B525-44D3-4260-8C76-705DBADA1043}</UniqueIdentifier></Filter></ItemGroup><ItemGroup><MessageCompile Include="a.mc"><GenerateBaselineResource>true</GenerateBaselineResource></MessageCompile></ItemGroup><Target Name="Build"><DontKnowWhatGoesHere Sources="@(MessageCompile)"/></Target></Project>
However I have no idea what to put in the DontKnowWhatGoesHere task. For c# it is Csc, is there an equivalent for MC.exe.
Thanks
Hi
I have a requirement of using MSbuild.exe for building the vb6 code and moving the code from build server to webservers.
I am struggling to figure out how will be the build.proj file will look like in this case?
My build.proj file looks like this
<?xml version="1.0" encoding="utf-8" ?><Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ><PropertyGroup><TargetFrameworkVersion>v1.0</TargetFrameworkVersion></PropertyGroup><Target Name="DeployDev"><!-- Delete target folders on web --><Exec Command="RMDIR /S /Q \\machineName\C$\Projects\SERVERS\DEV\WATCH"/><!-- Xcopy files to target ABC web folders --><Exec Command="xcopy /Q /E /I /Y \\MachineName\C$\Projects\TEST_PROJECT\TestApplicationVB6 \machineName\C$\Projects\SERVERS\DEV\WATCH"/></Target><Target Name="DeployUAT"><!-- Delete target folders on web --><Exec Command="RMDIR /S /Q \\machineName\C$\Projects\SERVERS\UAT\WATCH"/><!-- Xcopy files to target ABC web folders --><Exec Command="xcopy /Q /E /I /Y \\machineName\C$\Projects\TEST_PROJECT\TestApplicationVB6 \\machineName\C$\Projects\SERVERS\UAT\WATCH"/></Target></Project>
Any help or suggestion is appreciated.
NA
Hello.
I've made a custom MSBuild project that build ESP Wi-fi Mcu (soon arduino and Atmel). Now I need a Release and Version Selection. The Structure Folder look like this:
+ESPressif+AT+0.5+0.6+Non-Os+1.5+1.5.2+RTOS+1.2.2+1.3.0
I Resolve Release and Version retreiver by
<ItemGroup><ReleaseFolder Include="$([System.IO.Directory]::GetDirectories("$(VisualStudioDir)\XtensaTools\ESPressif\"))" /><ReleaseName Include="@(ReleaseFolder->'$([System.IO.Path]::GetFileName('%(ReleaseFolder.Identity)'))')" /></ItemGroup><ItemGroup><VersionFolder Include="$([System.IO.Directory]::GetDirectories("$(VisualStudioDir)\XtensaTools\ESPressif\$(ReleaseSel)"))" /><VersionName Include="@(VersionFolder->'$([System.IO.Path]::GetFileName('%(VersionFolder.Identity)'))')" /></ItemGroup>
Now does it's possible to link ReleaseName and VersionName ItempGroup to a dynamicenumproperty?
Or I must necessary pass by a custom dynamicenumproperty linked into a DLL file?
I've found something about EnumProvider="ProjectExpression" but. I Can't use @(ReleaseName) for value. I've also try to convert @(ReleaseName) to $() PropertyGroup String... Something missing. This code was taken from microsoft and it's about Platform
version selection and Minimal Platform version.
<DynamicEnumProperty Name="SelectRelease" DisplayName="Select a release type" Category="General" Description="Le type d'élément détermine l'outil de génération ou le fichier." EnumProvider="ProjectExpression"><DynamicEnumProperty.ProviderSettings><NameValuePair Name="Include" Value="Test1;Test2;Test3" /></DynamicEnumProperty.ProviderSettings></DynamicEnumProperty>
Greetings,
I am using the InstallShiled LE Spring 2012 version.
I have several projects that are using some Third party controls. In order to use these controls we add some file references for a set of assemblies registered in the GAC, these references are added to the Main Exe project for the solution. These are registered
as part of an SDK developer package.
When I build the Solution in Visual Studio 2012, the installer includes these registered files and the installed application will work without any issues. However, if I build the Solution through the MSBuild command line these third part DLLs are not present
in the MSI and that causes the application to fail when installed with an installer created by this process.
It basically looks like builds within VS2012 run the .Net Dependency scan, and the others do not.
The issue is that the compiled MSI is DIFFERENT when built via the command line than it is when built via Visual Studio. Since the MSI output by Visual Studio is correct and has all of the necessary referenced DLLs embedded within the installer, I would have to assume the issue is with the way the MSBuild Command line builds the isproj files.
The project builds in both formats without error
The issue is not a failed build, but the fact that the output MSI package from a command line or TFS build does not include all of the necessary files for the application to run once installed. There is some major difference in how the isproj files are being built when using a command line build versus using the Visual Studio IDE to build.
Since I cannot find any method of increasing the verbosity level of an isproj build log in VS IDE, I cannot compare it against the more verbose command line build. All I can tell is that when it is building the MSI, the IDE successfully scans and detects the needed dependencies, but the command line builds don't detect all of the necessary dependencies from the primary output.
Hello.
I've made a custom MSBuild project that build ESP Wi-fi Mcu (soon arduino and Atmel). Now I need a Release and Version Selection. The Structure Folder look like this:
+ESPressif+AT+0.5+0.6+Non-Os+1.5+1.5.2+RTOS+1.2.2+1.3.0
I Resolve Release and Version retreiver by: (Working well inside a targets)
<ItemGroup><ReleaseFolder Include="$([System.IO.Directory]::GetDirectories("$(VisualStudioDir)\XtensaTools\ESPressif\"))" /><ReleaseName Include="@(ReleaseFolder->'$([System.IO.Path]::GetFileName('%(ReleaseFolder.Identity)'))')" /><VersionFolder Include="$([System.IO.Directory]::GetDirectories("$(VisualStudioDir)\XtensaTools\ESPressif\$(ReleaseSel)"))" /><VersionName Include="@(VersionFolder->'$([System.IO.Path]::GetFileName('%(VersionFolder.Identity)'))')" /></ItemGroup>
After I link ReleaseName inside DynamicEnumProperty with a EnumProvider="ProjectExpression". I Also set ProviderSettings to @(ReleaseFolder)
<DynamicEnumProperty Name="SelectRelease" DisplayName="Select a release type" Category="General" EnumProvider="ProjectExpression"><DynamicEnumProperty.ProviderSettings><NameValuePair Name="Include" Value="@(ReleaseFolder)" /></DynamicEnumProperty.ProviderSettings></DynamicEnumProperty>
Now because I'm now outside a targets, I can use only @(ReleaseFolder) who gave me the entire path.
E:\Home\Visual Studio 2015\XtensaTools\Espressif\AT
E:\Home\Visual Studio 2015\XtensaTools\Espressif\RTOS
E:\Home\Visual Studio 2015\XtensaTools\Espressif\NON-OS
When I use @(ReleaseName), I get an error because @(ReleaseName) contain 3 times %(ReleaseFolder.Indentity).
I've also try to do replace string to remove path but i got ("system.string[]".Replace... can't be evaluate) --looks like string array vs string problem.
Look like that item name %() was not support outside targets. Where is my problem?
Hi Mate,
We are using TeamCity to build project to our test site but we are having error in TeamCity that DNX should be install. We try installing dnvm /dnx in the teamcity server using a command but we are having trust relationship for the SSL/TLS secure channel.
Command we used: powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}"
We also allow the IP in the firewall and there is no firewall blocking happening while connecting to the link but we are still having the same issue.
I dont know if I write this on the correct team but if not let me know. Any help are much appreciated. Thanks