Quantcast
Channel: MSBuild forum
Viewing all 2763 articles
Browse latest View live

Download Hotfix Rollup KB2828841

$
0
0

Hi,

We want to download Hotfix Rollup KB2828841 patches, which is not available currently to download, because of this hotfix our work stoped , Can you please provide the downloaded link.

thanks 

Babji B



How to retry task if it errors

$
0
0
I have a <copy> task that is copying a very large list of files. Sometimes my network blips for a second and it gets an error trying to copy one of those files. When that happens my entire build fails.

How can I modify my task statement:
    <Copy SourceFiles="@(RarFiles)" DestinationFolder="$(ReleaseDir)" />

So that if it fails to copy a file the first time, it tries again a few seconds later and only then gives up and fails.

I'm used to nAnt and the <trycatch> feature. I don't see anything like that in MSBuild. Am I missing something?

Thanks

Provide BuildNumber with msbuild argument

$
0
0

Hi,

I want to start a tfs build from the command line. My build definition has only 1 activity and that is the creation of a buildnumber. 

How can I pass the buildnumber from the command line into the build process?

Kind regards,

batch file to start a process and get its PID

$
0
0
I want to start a batch from a batch and get the process Id of the batch i started. Is there any way of doing it?

\m/

Problem occurred while exporting binary data to pdf

$
0
0

Hi, 

I have migrated my asp.net 4.0 application from Windows server 2008 32 bits to Windows server 2008 64 bits server, I have encountered problem while exporting byte stream to pdf using HttpResponse.BinaryWrite() method. Can you please help out in this.

Regards,

Umesh B


Not able to read Registry Value for installed app using BMS .

$
0
0

I am currently creating a msi file and exe file with custom prerequisite . I wanted to check whether JRE is installed in that machine or not . 

My installation condition is like this

<UIChecks>
      <RegistryCheck RegKey="HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" RegValue="Java7FamilyVersion" Property="Java7FamilyVersion" />
    </UIChecks>
<UIInstallConditions>
      <UIInstallCondition Type="ByPassIf" Property="Java7FamilyVersion" Operator="Ver &gt;=" Value="1.7.0_25" Message="Sample_Check" />
    </UIInstallConditions>

But in some machines , i am unable to read the Java7FamilyVersion value , it throws "Unable to read registry value error"

32 bit machine works fine , issue is seen only on 64 bit machines that too SP2 ( Server version throws error) . Windows 7 Professional edition works fine.

Your help is much appreciated.

Thanks,

Pravin

NuGet andf MSBuild

$
0
0

I have multiple NuGet packages and some reference others.

What I would like to do in my MSBuild script is to update Packages for current project from NuGet repository and create NuGet package for current project and then push it to the repository. I have got everything working but I don't know how to sequence things the way I want. I can't seem to find a way to tell MSBuild to update NuGet package before building "A PROJECT" and then pushing it to the NuGet repository



Batch file sheduled doesnot show pop up

$
0
0
I have created a batch file which shows a pop up and i have scheduled the file to run everyday at 7 pm from task scheduler. The file works at the mentioned time but the pop up doesnot appear on desktop. I dont know what is wrong with it . When i tested without task scheduler the pop was appearing and after scheduling it just does not appear. The code i am using for pop up is as follows:
echo set WshShell = WScript.CreateObject("WScript.Shell") > %tmp%\tmp.vbs

echo WScript.Quit (WshShell.Popup( "The system will shutdown in 15 minutes, Click OK to ABORT !!" , 900 ,"Shutdown", 0)) >> %tmp%\tmp.vbs

cscript /nologo %tmp%\tmp.vbs
 del %tmp%\tmp.vbs



\m/


RunspaceFactory.CreateRunspace causes CLR error.

$
0
0

I have an application that uses PowerShell to check the status of a particular service on a remote server.  The app runs fine on my Windows 8 development computer but generates an error when published via click-once to a Windows 2008 R2 server. The error occurs on the CreateRunspace command.  Here is the code (I'm using Visual Studio 2013 - Basic Language):

            Dim connectionInfo As New WSManConnectionInfo(serverUri, SHELL_URI, remotecred)
            Dim myRunSpace As Runspace = RunspaceFactory.CreateRunspace(connectionInfo)

As soon as the program hits the 2nd line above, I get the following error:

"Common Language Runtime detected an invalid program"

I thought at first that it might have something to do with the "Target CPU" setting but it does not seem to have any effect.  I have also included all references in the "Application Files" section of the Publish page but that doesn't work either.  I read somewhere to try the "Clean" function on my app but that did not work.

Can anyone suggest what to try next?

Thanks.

Mike


"MC"


MsBuild can't find publish profile

$
0
0

I have a VS 2012 solution that contains two projects (WCF C# Service App and a VB Web UI) that I'm trying to deploy via TeamCity/MsBuild command line. Each project contains a publish profile - let's call it "Test Profile" - that works fine when executed from withing the IDE ("Test Profile" is also the name of a valid solution & project build configuration).

However, when executed as two consecutive build steps, the C# project deploys fine, but the VB project fails with the following error:

[09:27:05][ValidatePublishProfileSettings] GetPublishingLocalizedString [09:27:05][GetPublishingLocalizedString] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets(4435, 5): The value for PublishProfile is set to 'Test Profile', expected to find the file at 'C:\BuildAgent\work\61493e349d61af8c\Yms.Web.Ui__profiles\Test Profile.pubxml' but it could not be found.

Each build step is setup to use MsBuild v4.0, Run Platform x64, ToolsVersion 4.0. The command line parameters are:

/P:Configuration="Test Profile"
/p:DeployOnBuild=true /p:PublishProfile="Test Profile"
/p:VisualStudioVersion=11.0 /p:Password=james2

When run as a single build step against the solution rather than projects, I get the same error, except "Ui_profiles" in the error message is replaced with "PublishProfiles".

Any help at all is much appreciated, this is driving me batty

CheckRemoteFx45 Target failing

$
0
0

I'm performing a Web Deploy of a provider-hosted SharePoint app using Visual Studio 2013.

When publishing (rightclick, and publish), I get the error

Error 4 The "CheckRemoteFx45" task could not be loaded from the assembly C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.Tasks.dll.  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.  0 0 ProviderAppWeb

Microsoft.Web.Publishing.Tasks.dll exists.

The targets file contains

<UsingTask TaskName="CheckRemoteFx45" AssemblyFile="Microsoft.Web.Publishing.Tasks.dll"/>

 <!--********************************************************************-->
    <!-- Target _CheckRemoteFx45-->
    <!--********************************************************************-->
    <Target Name="_CheckRemoteFx45" Condition="'$(TargetFrameworkVersion)' == 'v4.5' and $(_Enable45Check) != 'false'">
      <CheckRemoteFx45 Condition="'$(MsDeployServiceUrl)' != ''"
        ServiceUrl="$(MsDeployServiceUrl)">
       </CheckRemoteFx45>
    </Target>

Can i safely disable this check?

Jørgen


Jorgen

output directory changes for different projects

$
0
0

we have a robust custom build definition running for a while in VS 2012. Currently there is an output directory in  aspecific format for all the projects. Here is my question which might be a simple one but its been a problem: there are solutions which are in the same directory in the source ocntrol and they have similar properties but they produce outputs with different output path formats.

the one that's odd includes in the output path the sourceontrol path like $\..\..\. The normal ones are working fine.

This might be a specific problem but is there any place in the solution that I can look into and figure it out ? Please advice.


fatal error LNK1318: Unexpected PDB error; RPC (23) '( 0x000006BA)'

$
0
0

I am facing the fatal error LNK1318: Unexpected PDB error; RPC (23) '( 0x000006BA)' error while making a build on VS2008. I have tried multiple options for compilation but i didn't find any solution. Can you please let me know what is a better solution oveercome this issue. I tried in many sites but nothing worked. 

Regards.

error MSB3323: Unable to find manifest signing certificate in the certificate store.

$
0
0
Problems began when I received the MSDN Final VS 2005 v8.0.50727.42 and uninstalled the RC build which I had worked with without issue and replaced it with the previously mentioned.

After four or so installs/uninstalls I got past the Invalid license data. Reinstall is required. http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=162712&SiteID=1

I have tested C++ project builds for managed and unmanaged code and both work without a problem. My C# projects however fail to build, the error I get is:

------ Rebuild All started: Project: D And P, Configuration: Release Any CPU ------
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1718,7): error MSB3323: Unable to find manifest signing certificate in the certificate store.
Done building project "D And P.csproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

If anyone has any idea of what a next step is please let me know.

Some compiler issue...

$
0
0

Hi there!

I'm facing a really strange bug  and I hope that somebody can help me with this.

I'm trying to compile a complexe project made by my company but when I try to, I've got a strange issue :

There is a window popup which tells that Microsoft C/C++ Compiler has stop to run. I also have an error message which tells me that this is an unknown software exception (0xc0000409).

The strangest thing is that I have compiled this project in Release mode but when I try the Debug mode, I alway have this problem.

Here is my configuration :

- OS Version : Windows 7 64bits

- Compiler version : VS 2010 Compiler for 64bits

- The code of my software is in C++ ....

If you need further information, just let me know.

Thank you,

Olivier



nmake error MSB 3073

$
0
0

this error comes during building a project, i have downloaded the source code of this project online and when tried to compile it this error occurs

1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "nmake -f Makefile.vc "DEBUG=1"" exited with code 2.

How to disable cl.exe's **internal** multithreading?

$
0
0

In my search for lower compilation times with VS2013, I noticed since VS2012 that cl.exe is now capable of multithreading in the same process.

In my quad core machine, a single cl.exe has been capable of reaching 60-70% of all CPU usage.

That got me thinking, as normally it is pointless to try to achieve thread-level parallelism when you've already got process-level parallelism (and often scalability suffers, since there are only more context switches, stalls due to waiting for timer interrupts, higher lock contention and sync points) so I tried compiling with /MP3 instead of /MP

Effectively, the number of cl.exe processes went down to 3 (from 4) while the CPU usage spiked between 90% and 100% (instead of being at a constant 100%) and, not surprisingly,the compilation time went down.

It was not by big amount, so it could be just noise from other processes: 7:14 (/MP) vs 7:09 (/MP3). (434393ms vs 429962ms)

Clearly, oversubscribing is hurting the compilation performance so (or at least, not doing anything useful), my question is then... how do I disable cl.exe's "internal" multithreading so I can just use process-level parallelism?

Thanks

Matias Goldberg

Error when creating Virtual Directory during build process. The system cannot find the path specified.

$
0
0

Hello,

I'm hitting this error with our builds, seemingly at random....

): The system cannot find the path specified. at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.RefreshCache() at Automation.IIS.SetAnonymousAccessHelper.SetAccess(String machineName, String virtualDirectory, String childObjectName, IISObjectType childObjectType, AuthFlagValues desiredAuthentication) in C:\IIS\SetAnonymousAccessHelper.vb:line 59

Does anyone have any ideas on what's going on here?

Very slow build times

$
0
0

Hi,

I recently got an SSD drive (Samsung Evo 840 240GB), mostly to reduce my build times with visual studio.
Now, I have a very big project with thousands of files, but I thought the SSD will reduce build times significantly.
But, it seems they didn't change at all.
The project files and visual studio are on my ssd, visual studio takes around 6% of the CPU time.
Any suggestions? Should I just make a ram drive?

I'm using visual studio 2013 pro with only resharper and web essentials as plugins.

Oh, and by the way, other than that, I see huge difference in speed compared to my old HD.

Thanks

VS2008 suddenly starts to rattle Floppy Disks whole compiling, yielding slooow compilations!!

$
0
0

I was happyliy compiling over 54+ projects under VS2008, running under Windows 7 ultimate x64 mode

suddenly the floppy disk begun to rattle and lighten its light while compiling.. yielding the compilation too-slow

I thought my project files went wrong-corrupted! so decided to start an empty project..

same thing, to compile a single-class the system waits 20 seconds while executingf the MSBuild

set Diagnostics mode on, but the output is too confusing, found no literature to understand what the heck is there!

Some the strange things are that the sistem desn't find many of the System Files in the correct Framework Directories.. might this be the cause of the problem?

copied the output log of a single compile here!

------ Build started: Project: Test, Configuration: Debug Any CPU ------
Build started 10/01/2014 01:46:40 p.m..
Building with tools version "3.5".
Target _CheckForInvalidConfigurationAndPlatform:
  Task "Error" skipped, due to false condition; ( '$(_InvalidConfigurationError)' == 'true' ) was evaluated as ( '' == 'true' ).
  Task "Warning" skipped, due to false condition; ( '$(_InvalidConfigurationWarning)' == 'true' ) was evaluated as ( '' == 'true' ).
  Task "Message"
    Configuration=Debug
  Done executing task "Message".
  Task "Message"
    Platform=AnyCPU
  Done executing task "Message".
  Task "Error" skipped, due to false condition; ('$(OutDir)' != '' and !HasTrailingSlash('$(OutDir)')) was evaluated as ('bin\Debug\' != '' and !HasTrailingSlash('bin\Debug\')).
  Task "Error" skipped, due to false condition; ('$(BaseIntermediateOutputPath)' != '' and !HasTrailingSlash('$(BaseIntermediateOutputPath)')) was evaluated as ('obj\' != '' and !HasTrailingSlash('obj\')).
  Task "Error" skipped, due to false condition; ('$(IntermediateOutputPath)' != '' and !HasTrailingSlash('$(IntermediateOutputPath)')) was evaluated as ('obj\Debug\' != '' and !HasTrailingSlash('obj\Debug\')).
Target EntityDeploy:
  Using "EntityDeploy" task from assembly "C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Data.Entity.Build.Tasks.dll".
  Task "EntityDeploy"
    Processing 0 EDMX files.
    Finished processing 0 EDMX files.
  Done executing task "EntityDeploy".
Target BeforeBuild:
Target BuildOnlySettings:
Target GetFrameworkPaths:
  Task "GetFrameworkPath"
  Done executing task "GetFrameworkPath".
  Task "GetFrameworkSdkPath"
  Done executing task "GetFrameworkSdkPath".
Target PrepareForBuild:
  Task "FindAppConfigFile"
  Done executing task "FindAppConfigFile".
  Task "MakeDir"
  Done executing task "MakeDir".
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target BeforeResolveReferences:
Target "SplitProjectReferencesByType" skipped, due to false condition; ('@(ProjectReference)'!='') was evaluated as (''!='').
Target "SplitProjectReferencesByType" skipped, due to false condition; ('@(ProjectReference)'!='') was evaluated as (''!='').
Target _SplitProjectReferencesByFileExistence:
  Task "ResolveNonMSBuildProjectOutput" skipped, due to false condition; ('$(BuildingInsideVisualStudio)'=='true' and '@(NonVCProjectReference)'!='') was evaluated as ('true'=='true' and ''!='').
Target ResolveProjectReferences:
  Task "MSBuild" skipped, due to false condition; ('@(NonVCProjectReference)'!='' and ('$(BuildingSolutionFile)' == 'true' or '$(BuildingInsideVisualStudio)' == 'true' or '$(BuildProjectReferences)' != 'true') and '@(_MSBuildProjectReferenceExistent)' != '') was evaluated as (''!='' and ('' == 'true' or 'true' == 'true' or 'true' != 'true') and '' != '').
  Task "MSBuild" skipped, due to false condition; ('@(NonVCProjectReference)'!='' and '$(BuildingInsideVisualStudio)' != 'true' and '$(BuildingSolutionFile)' != 'true' and '$(BuildProjectReferences)' == 'true' and '@(_MSBuildProjectReferenceExistent)' != '') was evaluated as (''!='' and 'true' != 'true' and '' != 'true' and 'true' == 'true' and '' != '').
  Task "MSBuild" skipped, due to false condition; ('@(NonVCProjectReference)'!='' and '$(BuildingProject)'=='true' and '@(_MSBuildProjectReferenceExistent)'!='') was evaluated as (''!='' and 'true'=='true' and ''!='').
  Task "Warning" skipped, due to false condition; ('@(NonVCProjectReference)'!='' and '@(_MSBuildProjectReferenceNonexistent)'!='') was evaluated as (''!='' and ''!='').
Target "SplitProjectReferencesByType" skipped, due to false condition; ('@(ProjectReference)'!='') was evaluated as (''!='').
Target ResolveVCProjectReferences:
  Task "ResolveNonMSBuildProjectOutput" skipped, due to false condition; ('$(BuildingInsideVisualStudio)'=='true' and '@(VCProjectReference)'!='') was evaluated as ('true'=='true' and ''!='').
  Task "ResolveVCProjectOutput" skipped, due to false condition; ('$(BuildingSolutionFile)'=='true' and '@(VCProjectReference)'!='') was evaluated as (''=='true' and ''!='').
  Task "Error" skipped, due to false condition; ('$(BuildingSolutionFile)'!='true' and '$(BuildingInsideVisualStudio)'!='true' and '@(VCProjectReference)'!='') was evaluated as (''!='true' and 'true'!='true' and ''!='').
Target "ResolveNativeReferences" skipped, due to false condition; ('@(NativeReference)'!='') was evaluated as (''!='').
Target "GetFrameworkPaths" skipped. Previously built successfully.
Target GetWinFXPath:
  Using "GetWinFXPath" task from assembly "PresentationBuildTasks, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35".
  Task "GetWinFXPath"
    
    
    Microsoft (R) Build Task 'GetWinFXPath' Version '3.0.6920.4902 built by: NetFXw7'.
    Copyright (C) Microsoft Corporation 2005. All rights reserved.
    
    
  Done executing task "GetWinFXPath".
Target GetReferenceAssemblyPaths:
Target "PrepareForBuild" skipped. Previously built successfully.
Target ResolveAssemblyReferences:
  Task "ResolveAssemblyReference"
    Assemblies:
        System
        System.Core
        System.Xml.Linq
        System.Data.DataSetExtensions
        System.Data
        System.Xml
    AssemblyFiles:
    CandidateAssemblyFiles:
    TargetFrameworkDirectories:
        C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\,C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0,C:\Windows\Microsoft.NET\Framework\v3.5,C:\Windows\Microsoft.NET\Framework\v3.0,C:\Windows\Microsoft.NET\Framework\v2.0.50727
    InstalledAssemblyTables:
    IgnoreInstalledAssemblyTable:
        False
    SearchPaths:
        {CandidateAssemblyFiles}
        {HintPathFromItem}
        {TargetFrameworkDirectory}
        {Registry:Software\Microsoft\.NetFramework,v3.5,AssemblyFoldersEx}
        {AssemblyFolders}
        {GAC}
        {RawFileName}
        bin\Debug\
    AllowedAssemblyExtensions:
        .exe
        .dll
    AllowedRelatedFileExtensions:
        .pdb
        .xml
    AppConfigFile:
        
    AutoUnify:
        True
    TargetProcessorArchitecture:
        x86
    StateFile:
        obj\Debug\ResolveAssemblyReference.cache
    InstalledAssemblySubsetTables:
    IgnoreInstalledAssemblySubsetTable:
        False
    TargetFrameworkSubsets:
    FullTargetFrameworkSubsetNames:
        Full
    No TargetFramework subset exclusion list will be generated. No TargetFrameworkSubsets were provided and no additional subset files were passed in to InstalledAssemblySubsetTables.
    Primary reference "System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
        Resolved file path is "C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll".
        Reference found at search path location "{TargetFrameworkDirectory}".
            For SearchPath "{TargetFrameworkDirectory}".
            Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.exe", but it didn't exist.
            Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.dll", but it didn't exist.
            Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\System.Data.exe", but it didn't exist.
            Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\System.Data.dll", but it didn't exist.
            Considered "C:\Windows\Microsoft.NET\Framework\v3.5\System.Data.exe", but it didn't exist.
            Considered "C:\Windows\Microsoft.NET\Framework\v3.5\System.Data.dll", but it didn't exist.
            Considered "C:\Windows\Microsoft.NET\Framework\v3.0\System.Data.exe", but it didn't exist.
            Considered "C:\Windows\Microsoft.NET\Framework\v3.0\System.Data.dll", but it didn't exist.
            Considered "C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.exe", but it didn't exist.
        This reference is not "CopyLocal" because it's a prerequisite file.
    Primary reference "System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
        Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.DataSetExtensions.dll".
        Reference found at search path location "{TargetFrameworkDirectory}".
            For SearchPath "{TargetFrameworkDirectory}".
            Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.DataSetExtensions.exe", but it didn't exist.
        This reference is not "CopyLocal" because it's a prerequisite file.
    Primary reference "System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
        Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll".
        Reference found at search path location "{TargetFrameworkDirectory}".
            For SearchPath "{TargetFrameworkDirectory}".
            Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.exe", but it didn't exist.
        This reference is not "CopyLocal" because it's in a Frameworks directory.
    Primary reference "System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
        Resolved file path is "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.dll".
        Reference found at search path location "{TargetFrameworkDirectory}".
            For SearchPath "{TargetFrameworkDirectory}".
            Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.exe", but it didn't exist.
        This reference is not "CopyLocal" because it's in a Frameworks directory.
    Primary reference "System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
        Resolved file path is "C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll".
        Reference found at search path location "{TargetFrameworkDirectory}".
            For SearchPath "{TargetFrameworkDirectory}".
            Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.exe", but it didn't exist.
            Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.dll", but it didn't exist.
            Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\System.exe", but it didn't exist.
            Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\System.dll", but it didn't exist.
            Considered "C:\Windows\Microsoft.NET\Framework\v3.5\System.exe", but it didn't exist.
            Considered "C:\Windows\Microsoft.NET\Framework\v3.5\System.dll", but it didn't exist.
            Considered "C:\Windows\Microsoft.NET\Framework\v3.0\System.exe", but it didn't exist.
            Considered "C:\Windows\Microsoft.NET\Framework\v3.0\System.dll", but it didn't exist.
            Considered "C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.exe", but it didn't exist.
        This reference is not "CopyLocal" because it's a prerequisite file.
    Primary reference "System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
        Resolved file path is "C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll".
        Reference found at search path location "{TargetFrameworkDirectory}".
            For SearchPath "{TargetFrameworkDirectory}".
            Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.exe", but it didn't exist.
            Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.dll", but it didn't exist.
            Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\System.Xml.exe", but it didn't exist.
            Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.0\System.Xml.dll", but it didn't exist.
            Considered "C:\Windows\Microsoft.NET\Framework\v3.5\System.Xml.exe", but it didn't exist.
            Considered "C:\Windows\Microsoft.NET\Framework\v3.5\System.Xml.dll", but it didn't exist.
            Considered "C:\Windows\Microsoft.NET\Framework\v3.0\System.Xml.exe", but it didn't exist.
            Considered "C:\Windows\Microsoft.NET\Framework\v3.0\System.Xml.dll", but it didn't exist.
            Considered "C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.exe", but it didn't exist.
        This reference is not "CopyLocal" because it's a prerequisite file.
  Done executing task "ResolveAssemblyReference".
Target "ResolveComReferences" skipped, due to false condition; ('@(COMReference)'!='' or '@(COMFileReference)'!='') was evaluated as (''!='' or ''!='').
Target AfterResolveReferences:
Target "ResolveTestReferences" skipped, due to false condition; ('@(Shadow)'!='') was evaluated as (''!='').
Target ResolveReferences:
Target "MarkupCompilePass1" skipped, due to false condition; ('@(Page)@(ApplicationDefinition)' != '' ) was evaluated as ('' != '' ).
Target AfterMarkupCompilePass1:
Target "MarkupCompilePass2ForMainAssembly" skipped, due to false condition; ('$(_RequireMCPass2ForMainAssembly)' == 'true' ) was evaluated as ('false' == 'true' ).
Target FileClassification:
  Task "FileClassifier" skipped, due to false condition; ('@(GeneratedBaml)@(Resource)@(Font)' != '') was evaluated as ('' != '').
  Task "Message" skipped, due to false condition; ('$(MSBuildTargetsVerbose)'=='true') was evaluated as (''=='true').
  Task "Message" skipped, due to false condition; ('$(MSBuildTargetsVerbose)'=='true') was evaluated as (''=='true').
Target "MainResourcesGeneration" skipped, due to false condition; ('@(MainEmbeddedFiles)'!='') was evaluated as (''!='').
Target "AssignWinFXEmbeddedResource" skipped, due to false condition; ('@(WinFXEmbeddedResource)' != '') was evaluated as ('' != '').
Target AssignTargetPaths:
  Task "AssignTargetPath"
  Done executing task "AssignTargetPath".
  Task "AssignTargetPath"
  Done executing task "AssignTargetPath".
  Task "AssignTargetPath"
  Done executing task "AssignTargetPath".
  Task "AssignTargetPath"
  Done executing task "AssignTargetPath".
  Task "AssignTargetPath" skipped, due to false condition; ('@(_DeploymentBaseManifestWithTargetPath)'=='' and '%(None.Extension)'=='.manifest') was evaluated as (''=='' and ''=='.manifest').
Target "AssignTargetPaths" skipped. Previously built successfully.
Target SplitResourcesByCulture:
  Task "Warning" skipped, due to false condition; ('@(ResxWithNoCulture)'!='') was evaluated as (''!='').
  Task "Warning" skipped, due to false condition; ('@(ResxWithCulture)'!='') was evaluated as (''!='').
  Task "Warning" skipped, due to false condition; ('@(NonResxWithCulture)'!='') was evaluated as (''!='').
  Task "Warning" skipped, due to false condition; ('@(NonResxWithNoCulture)'!='') was evaluated as (''!='').
  Task "AssignCulture"
  Done executing task "AssignCulture".
Target "CreateManifestResourceNames" skipped, due to false condition; ('@(EmbeddedResource)' != '') was evaluated as ('' != '').
Target CreateCustomManifestResourceNames:
Target PrepareResourceNames:
Target "ResolveAssemblyReferences" skipped. Previously built successfully.
Target "SplitResourcesByCulture" skipped. Previously built successfully.
Target BeforeResGen:
Target CoreResGen:
  Task "GenerateResource" skipped, due to false condition; ( '%(EmbeddedResource.Type)' == 'Resx' and '%(EmbeddedResource.GenerateResource)' != 'false') was evaluated as ( '' == 'Resx' and '' != 'false').
Target AfterResGen:
Target ResGen:
Target "CompileLicxFiles" skipped, due to false condition; ('@(_LicxFile)'!='') was evaluated as (''!='').
Target PrepareRdlFiles:
  Task "CreateItem" skipped, due to false condition; ('%(Extension)'=='.rdlc') was evaluated as (''=='.rdlc').
Target "RunRdlCompiler" skipped, due to false condition; ('@(RdlFile)'!='') was evaluated as (''!='').
Target CompileRdlFiles:
Target PrepareResources:
Target "ResolveKeySource" skipped, due to false condition; ($(SignManifests) == 'true' or $(SignAssembly) == 'true') was evaluated as ( == 'true' or  == 'true').
Target "ResolveReferences" skipped. Previously built successfully.
Target "ResolveKeySource" skipped, due to false condition; ($(SignManifests) == 'true' or $(SignAssembly) == 'true') was evaluated as ( == 'true' or  == 'true').
Target "ResolveComReferences" skipped, due to false condition; ('@(COMReference)'!='' or '@(COMFileReference)'!='') was evaluated as (''!='' or ''!='').
Target "ResolveNativeReferences" skipped, due to false condition; ('@(NativeReference)'!='') was evaluated as (''!='').
Target "_SetExternalWin32ManifestProperties" skipped, due to false condition; ('$(GenerateClickOnceManifests)'=='true' or '@(NativeReference)'!='' or '@(ResolvedIsolatedComModules)'!='') was evaluated as (''=='true' or ''!='' or ''!='').
Target _SetEmbeddedWin32ManifestProperties:
  Task "GetFrameworkPath"
  Done executing task "GetFrameworkPath".
Target SetWin32ManifestProperties:
Target _GenerateCompileInputs:
  Task "Warning" skipped, due to false condition; ('@(ManifestResourceWithNoCulture)'!='' and '%(ManifestResourceWithNoCulture.EmittedForCompatibilityOnly)'=='') was evaluated as (''!='' and ''=='').
  Task "Warning" skipped, due to false condition; ('@(ManifestNonResxWithNoCultureOnDisk)'!='' and '%(ManifestNonResxWithNoCultureOnDisk.EmittedForCompatibilityOnly)'=='') was evaluated as (''!='' and ''=='').
Target BeforeCompile:
Target "_TimeStampBeforeCompile" skipped, due to false condition; ('$(RunPostBuildEvent)'=='OnOutputUpdated' or ('$(RegisterForComInterop)'=='true' and '$(OutputType)'=='library')) was evaluated as (''=='OnOutputUpdated' or (''=='true' and 'Library'=='library')).
Target DesignTimeMarkupCompilation:
  Task "CallTarget" skipped, due to false condition; ('$(BuildingProject)' != 'true') was evaluated as ('true' != 'true').
Target _ComputeNonExistentFileProperty:
Target CoreCompile:
  Building target "CoreCompile" completely.
  Output file "obj\Debug\Test.dll" does not exist.
  Task "Csc"
    Command:
    C:\Windows\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Data.DataSetExtensions.dll" /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.dll" /debug+ /debug:full /filealign:512 /optimize- /out:obj\Debug\Test.dll /target:library Class1.cs Properties\AssemblyInfo.cs

Compile complete -- 0 errors, 0 warnings
  Done executing task "Csc".
Target "_TimeStampAfterCompile" skipped, due to false condition; ('$(RunPostBuildEvent)'=='OnOutputUpdated' or ('$(RegisterForComInterop)'=='true' and '$(OutputType)'=='library')) was evaluated as (''=='OnOutputUpdated' or (''=='true' and 'Library'=='library')).
Target AfterCompile:
Target "PrepareResourcesForSatelliteAssemblies" skipped, due to false condition; ('$(UICulture)' != '') was evaluated as ('' != '').
Target "MergeLocalizationDirectives" skipped, due to false condition; ('@(GeneratedLocalizationFiles)' !='') was evaluated as ('' !='').
Target AfterCompileWinFX:
Target _AfterCompileWinFXInternal:
Target Compile:
Target "UnmanagedUnregistration" skipped, due to false condition; ((('$(_AssemblyTimestampBeforeCompile)' != '$(_AssemblyTimestampAfterCompile)' or '$(RegisterForComInterop)' != 'true' or '$(OutputType)' != 'library') or
                    ('$(_AssemblyTimestampBeforeCompile)' == '')) and
                   Exists('@(_UnmanagedRegistrationCache)')) was evaluated as ((('' != '' or '' != 'true' or 'Library' != 'library') or
                    ('' == '')) and
                   Exists('obj\Test.csproj.UnmanagedRegistration.cache')).
Target "GenerateSerializationAssemblies" skipped, due to false condition; ('$(_SGenGenerateSerializationAssembliesConfig)' == 'On' or ('@(WebReferenceUrl)'!='' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto')) was evaluated as ('Off' == 'On' or (''!='' and 'Off' == 'Auto')).
Target _GenerateSatelliteAssemblyInputs:
  Task "Warning" skipped, due to false condition; ('@(ManifestResourceWithCulture)'!='' and '%(ManifestResourceWithCulture.EmittedForCompatibilityOnly)'=='') was evaluated as (''!='' and ''=='').
  Task "Warning" skipped, due to false condition; ('@(ManifestNonResxWithCultureOnDisk)'!='' and '%(ManifestNonResxWithCultureOnDisk.EmittedForCompatibilityOnly)'=='') was evaluated as (''!='' and ''=='').
Target "ComputeIntermediateSatelliteAssemblies" skipped, due to false condition; (@(EmbeddedResource->'%(WithCulture)') != '') was evaluated as ( != '').
Target "GenerateSatelliteAssemblies" skipped, due to false condition; ('@(_SatelliteAssemblyResourceInputs)' != '') was evaluated as ('' != '').
Target CreateSatelliteAssemblies:
Target "GenerateManifests" skipped, due to false condition; ('$(GenerateClickOnceManifests)'=='true' or '@(NativeReference)'!='' or '@(ResolvedIsolatedComModules)'!='') was evaluated as (''=='true' or ''!='' or ''!='').
Target GetTargetPath:
  Building target "GetTargetPath" completely.
  No input files were specified.
Target "ComputeIntermediateSatelliteAssemblies" skipped, due to false condition; (@(EmbeddedResource->'%(WithCulture)') != '') was evaluated as ( != '').
Target _CopyFilesMarkedCopyLocal:
  Task "Copy"
  Done executing task "Copy".
Target "AssignTargetPaths" skipped. Previously built successfully.
Target "_SplitProjectReferencesByFileExistence" skipped. Previously built successfully.
Target GetCopyToOutputDirectoryItems:
  Task "MSBuild" skipped, due to false condition; ('@(_MSBuildProjectReferenceExistent)' != '' and '$(_GetChildProjectCopyToOutputDirectoryItems)' == 'true' and '%(_MSBuildProjectReferenceExistent.Private)' != 'false') was evaluated as ('' != '' and 'true' == 'true' and '' != 'false').
  Task "AssignTargetPath"
  Done executing task "AssignTargetPath".
Target "_CopyOutOfDateSourceItemsToOutputDirectory" skipped, due to false condition; ( '@(_SourceItemsToCopyToOutputDirectory)' != '' ) was evaluated as ( '' != '' ).
Target "_CopyOutOfDateSourceItemsToOutputDirectoryAlways" skipped, due to false condition; ( '@(_SourceItemsToCopyToOutputDirectoryAlways)' != '' ) was evaluated as ( '' != '' ).
Target _CopySourceItemsToOutputDirectory:
Target "_CopyAppConfigFile" skipped, due to false condition; ( '@(AppConfigWithTargetPath)' != '' ) was evaluated as ( '' != '' ).
Target "_CopyManifestFiles" skipped, due to false condition; ( '$(_DeploymentCopyApplicationManifest)'=='true' or '$(GenerateClickOnceManifests)'=='true' ) was evaluated as ( ''=='true' or ''=='true' ).
Target _CheckForCompileOutputs:
Target "_SGenCheckForOutputs" skipped, due to false condition; ('$(_SGenGenerateSerializationAssembliesConfig)' == 'On' or ('@(WebReferenceUrl)'!='' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto')) was evaluated as ('Off' == 'On' or (''!='' and 'Off' == 'Auto')).
Target CopyFilesToOutputDirectory:
  Task "Copy"
    Copying file from "obj\Debug\Test.dll" to "bin\Debug\Test.dll".
    Command:
    copy /y "obj\Debug\Test.dll" "bin\Debug\Test.dll"
  Done executing task "Copy".
  Task "Message"
    Test -> D:\_install\Dictionary\AndyNLP\RegExLing\Test\bin\Debug\Test.dll
  Done executing task "Message".
  Task "Copy"
  Done executing task "Copy".
  Task "Copy" skipped, due to false condition; ('$(_SGenDllCreated)'=='true') was evaluated as ('false'=='true').
  Task "Copy"
    Copying file from "obj\Debug\Test.pdb" to "bin\Debug\Test.pdb".
    Command:
    copy /y "obj\Debug\Test.pdb" "bin\Debug\Test.pdb"
  Done executing task "Copy".
  Task "Copy" skipped, due to false condition; ('$(_DocumentationFileProduced)'=='true') was evaluated as ('false'=='true').
  Task "Copy"
  Done executing task "Copy".
  Task "Copy"
  Done executing task "Copy".
Target PrepareForRun:
Target "UnmanagedRegistration" skipped, due to false condition; ('$(RegisterForComInterop)'=='true' and '$(OutputType)'=='library') was evaluated as (''=='true' and 'Library'=='library').
Target "_CheckForCompileOutputs" skipped. Previously built successfully.
Target "_SGenCheckForOutputs" skipped, due to false condition; ('$(_SGenGenerateSerializationAssembliesConfig)' == 'On' or ('@(WebReferenceUrl)'!='' and '$(_SGenGenerateSerializationAssembliesConfig)' == 'Auto')) was evaluated as ('Off' == 'On' or (''!='' and 'Off' == 'Auto')).
Target _CleanGetCurrentAndPriorFileWrites:
  Task "ReadLinesFromFile"
  Done executing task "ReadLinesFromFile".
  Task "ConvertToAbsolutePath"
  Done executing task "ConvertToAbsolutePath".
  Task "FindUnderPath"
    Comparison path is "D:\_install\Dictionary\AndyNLP\RegExLing\Test".
  Done executing task "FindUnderPath".
  Task "FindUnderPath"
    Comparison path is "bin\Debug\".
    Path "D:\_install\Dictionary\AndyNLP\RegExLing\Test\obj\Debug\ResolveAssemblyReference.cache" is outside the comparison path.
    Path "D:\_install\Dictionary\AndyNLP\RegExLing\Test\obj\Debug\Test.dll" is outside the comparison path.
    Path "D:\_install\Dictionary\AndyNLP\RegExLing\Test\obj\Debug\Test.pdb" is outside the comparison path.
    Path "D:\_install\Dictionary\AndyNLP\RegExLing\Test\bin\Debug\Test.dll" is inside the comparison path.
    Path "D:\_install\Dictionary\AndyNLP\RegExLing\Test\bin\Debug\Test.pdb" is inside the comparison path.
  Done executing task "FindUnderPath".
  Task "FindUnderPath"
    Comparison path is "obj\Debug\".
    Path "D:\_install\Dictionary\AndyNLP\RegExLing\Test\obj\Debug\ResolveAssemblyReference.cache" is inside the comparison path.
    Path "D:\_install\Dictionary\AndyNLP\RegExLing\Test\obj\Debug\Test.dll" is inside the comparison path.
    Path "D:\_install\Dictionary\AndyNLP\RegExLing\Test\obj\Debug\Test.pdb" is inside the comparison path.
    Path "D:\_install\Dictionary\AndyNLP\RegExLing\Test\bin\Debug\Test.dll" is outside the comparison path.
    Path "D:\_install\Dictionary\AndyNLP\RegExLing\Test\bin\Debug\Test.pdb" is outside the comparison path.
  Done executing task "FindUnderPath".
  Task "RemoveDuplicates"
  Done executing task "RemoveDuplicates".
Target IncrementalClean:
  Task "FindUnderPath"
    Comparison path is "bin\Debug\".
  Done executing task "FindUnderPath".
  Task "FindUnderPath"
    Comparison path is "obj\Debug\".
  Done executing task "FindUnderPath".
  Task "Delete"
  Done executing task "Delete".
  Task "RemoveDuplicates"
  Done executing task "RemoveDuplicates".
  Task "WriteLinesToFile"
  Done executing task "WriteLinesToFile".
Target "PostBuildEvent" skipped, due to false condition; (
            '$(PostBuildEvent)'!=''
            and
            (
                '$(RunPostBuildEvent)'!='OnOutputUpdated'
                or
                '$(_AssemblyTimestampBeforeCompile)'!='$(_AssemblyTimestampAfterCompile)'
            )
        ) was evaluated as (
            ''!=''
            and
            (
                ''!='OnOutputUpdated'
                or
                ''!=''
            )
        ).
Target CoreBuild:
  Task "CallTarget" skipped, due to false condition; ('$(UnloadProjectsOnCompletion)'=='true') was evaluated as ('false'=='true').
  Task "CallTarget" skipped, due to false condition; ('$(UnloadProjectsOnCompletion)'=='true') was evaluated as ('false'=='true').
  Task "CallTarget" skipped, due to false condition; ('$(UnloadProjectsOnCompletion)'=='true') was evaluated as ('false'=='true').
Target AfterBuild:
Target Build:
  Building target "Build" completely.
  No input files were specified.

Done building project "Test.csproj".

Build succeeded.

Time Elapsed 00:00:16.64
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

Viewing all 2763 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>