msbuild is not able to resolve the COM reference showing the warning for the COM dllVisual Studio build successful, MSBuild failsError with existing COM Reference or adding a new oneMSBuild doesn't copy references (DLL files) if using project dependencies in solutionFound conflicts between different versions of the same dependent assembly that could not be resolvedCan't build in visual studio 2015 because 'Microsoft.Build.Tasks.v14.0.dll' cannot be foundVS2015 build with TFS2013MSBuild Warning MSB3884 when building from command lineAppVeyor build error MSB3774: Could not find SDK “Microsoft.AdMediator.Universal”Visual Studio project wont compile on Dev machine. error : The element <#text> beneath element <Target> is unrecognizedxcopy /s /y “$(SolutionDir)packagesApache.Ignite.1.6.0Libs*.*” “$(TargetDir)Libs” error while building in jenkinsMSBuild 15.0: warning MSB3245: Could not re solve this reference. Expected a file but got directory “bin”MSBuild error: “Could not resolve this reference. Could not locate the assembly…”

A particular customize with green line and letters for subfloat

What happens if you roll doubles 3 times then land on "Go to jail?"

Anatomically Correct Strange Women In Ponds Distributing Swords

Integer addition + constant, is it a group?

Escape a backup date in a file name

How does buying out courses with grant money work?

Is there a good way to store credentials outside of a password manager?

What is paid subscription needed for in Mortal Kombat 11?

Class Action - which options I have?

How to write papers efficiently when English isn't my first language?

Gears on left are inverse to gears on right?

What is the best translation for "slot" in the context of multiplayer video games?

What is the intuitive meaning of having a linear relationship between the logs of two variables?

Why Were Madagascar and New Zealand Discovered So Late?

Do all network devices need to make routing decisions, regardless of communication across networks or within a network?

Closest Prime Number

For a non-Jew, is there a punishment for not observing the 7 Noahide Laws?

Are student evaluations of teaching assistants read by others in the faculty?

Large drywall patch supports

Crossing the line between justified force and brutality

Detecting if an element is found inside a container

Proof of work - lottery approach

Why escape if the_content isnt?

How can we prove that any integral in the set of non-elementary integrals cannot be expressed in the form of elementary functions?



msbuild is not able to resolve the COM reference showing the warning for the COM dll


Visual Studio build successful, MSBuild failsError with existing COM Reference or adding a new oneMSBuild doesn't copy references (DLL files) if using project dependencies in solutionFound conflicts between different versions of the same dependent assembly that could not be resolvedCan't build in visual studio 2015 because 'Microsoft.Build.Tasks.v14.0.dll' cannot be foundVS2015 build with TFS2013MSBuild Warning MSB3884 when building from command lineAppVeyor build error MSB3774: Could not find SDK “Microsoft.AdMediator.Universal”Visual Studio project wont compile on Dev machine. error : The element <#text> beneath element <Target> is unrecognizedxcopy /s /y “$(SolutionDir)packagesApache.Ignite.1.6.0Libs*.*” “$(TargetDir)Libs” error while building in jenkinsMSBuild 15.0: warning MSB3245: Could not re solve this reference. Expected a file but got directory “bin”MSBuild error: “Could not resolve this reference. Could not locate the assembly…”













-2















getting the below error while build the solution file using MSBuild.




Creating new cache file at "objWin32dbgCssLib.csproj.ResolveComReference.cache".
C:Program Files (x86)MSBuild14.0binMicrosoft.Common.CurrentVersion.targets(2399,5): warning MSB3284: Cannot get the file path for type library "33449eaa-8056-4d28-8d42-552b7c6c8954" version 1.0. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))




When building the solution from Visual Studio 2015 there is no warning or error and works perfectly. Any input would be very highly appreciated as already spent more then one and half days to troubleshoot.



We need this to build the solution from batch file for automation.










share|improve this question
























  • What kind project you use? And what kind of com ref? Have you checked if it has been registered, please use the regsvr to check if they've been registered. Have a look at this similar issue.Check if it helps.

    – Lance Li-MSFT
    Mar 8 at 10:19












  • com dll which is getting referred in C# project. I checked the registry and entry is present for the com dll. We are registering the com dll by RegisterOutput project setting. Below is the MSbuild log for the same still getting the warning and error. regsvr32 /s /n /i:user "..Win32dbgComProj.dll" Any setting or environment change we need to make. We have another machine on which it work correctly but not on other machine. Please correct me if i am doing something wrong.

    – gaurav mahor
    Mar 11 at 18:31












  • Usually, if one project builds well in visual studio 2015, then it will also builds well with the msbuild tool under its path. Do you use the msbuild tool and visual studio at the same machine?

    – Lance Li-MSFT
    Mar 12 at 7:13











  • And please make sure you have same configurations as what in VS IDE. Do you use the command like: msbuild xxx.csproj /p:Configuration=xxx /p:Platform=xxx? The configuration and platform must correspond to what you use in successful build in VS.If this persists, delete the bin and obj folder to test it again. You can have a look at this similar issue.

    – Lance Li-MSFT
    Mar 12 at 7:19















-2















getting the below error while build the solution file using MSBuild.




Creating new cache file at "objWin32dbgCssLib.csproj.ResolveComReference.cache".
C:Program Files (x86)MSBuild14.0binMicrosoft.Common.CurrentVersion.targets(2399,5): warning MSB3284: Cannot get the file path for type library "33449eaa-8056-4d28-8d42-552b7c6c8954" version 1.0. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))




When building the solution from Visual Studio 2015 there is no warning or error and works perfectly. Any input would be very highly appreciated as already spent more then one and half days to troubleshoot.



We need this to build the solution from batch file for automation.










share|improve this question
























  • What kind project you use? And what kind of com ref? Have you checked if it has been registered, please use the regsvr to check if they've been registered. Have a look at this similar issue.Check if it helps.

    – Lance Li-MSFT
    Mar 8 at 10:19












  • com dll which is getting referred in C# project. I checked the registry and entry is present for the com dll. We are registering the com dll by RegisterOutput project setting. Below is the MSbuild log for the same still getting the warning and error. regsvr32 /s /n /i:user "..Win32dbgComProj.dll" Any setting or environment change we need to make. We have another machine on which it work correctly but not on other machine. Please correct me if i am doing something wrong.

    – gaurav mahor
    Mar 11 at 18:31












  • Usually, if one project builds well in visual studio 2015, then it will also builds well with the msbuild tool under its path. Do you use the msbuild tool and visual studio at the same machine?

    – Lance Li-MSFT
    Mar 12 at 7:13











  • And please make sure you have same configurations as what in VS IDE. Do you use the command like: msbuild xxx.csproj /p:Configuration=xxx /p:Platform=xxx? The configuration and platform must correspond to what you use in successful build in VS.If this persists, delete the bin and obj folder to test it again. You can have a look at this similar issue.

    – Lance Li-MSFT
    Mar 12 at 7:19













-2












-2








-2








getting the below error while build the solution file using MSBuild.




Creating new cache file at "objWin32dbgCssLib.csproj.ResolveComReference.cache".
C:Program Files (x86)MSBuild14.0binMicrosoft.Common.CurrentVersion.targets(2399,5): warning MSB3284: Cannot get the file path for type library "33449eaa-8056-4d28-8d42-552b7c6c8954" version 1.0. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))




When building the solution from Visual Studio 2015 there is no warning or error and works perfectly. Any input would be very highly appreciated as already spent more then one and half days to troubleshoot.



We need this to build the solution from batch file for automation.










share|improve this question
















getting the below error while build the solution file using MSBuild.




Creating new cache file at "objWin32dbgCssLib.csproj.ResolveComReference.cache".
C:Program Files (x86)MSBuild14.0binMicrosoft.Common.CurrentVersion.targets(2399,5): warning MSB3284: Cannot get the file path for type library "33449eaa-8056-4d28-8d42-552b7c6c8954" version 1.0. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))




When building the solution from Visual Studio 2015 there is no warning or error and works perfectly. Any input would be very highly appreciated as already spent more then one and half days to troubleshoot.



We need this to build the solution from batch file for automation.







visual-studio c#-4.0 msbuild






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 7 at 13:07









Gerhard Barnard

9,23331233




9,23331233










asked Mar 7 at 12:53









gaurav mahorgaurav mahor

23




23












  • What kind project you use? And what kind of com ref? Have you checked if it has been registered, please use the regsvr to check if they've been registered. Have a look at this similar issue.Check if it helps.

    – Lance Li-MSFT
    Mar 8 at 10:19












  • com dll which is getting referred in C# project. I checked the registry and entry is present for the com dll. We are registering the com dll by RegisterOutput project setting. Below is the MSbuild log for the same still getting the warning and error. regsvr32 /s /n /i:user "..Win32dbgComProj.dll" Any setting or environment change we need to make. We have another machine on which it work correctly but not on other machine. Please correct me if i am doing something wrong.

    – gaurav mahor
    Mar 11 at 18:31












  • Usually, if one project builds well in visual studio 2015, then it will also builds well with the msbuild tool under its path. Do you use the msbuild tool and visual studio at the same machine?

    – Lance Li-MSFT
    Mar 12 at 7:13











  • And please make sure you have same configurations as what in VS IDE. Do you use the command like: msbuild xxx.csproj /p:Configuration=xxx /p:Platform=xxx? The configuration and platform must correspond to what you use in successful build in VS.If this persists, delete the bin and obj folder to test it again. You can have a look at this similar issue.

    – Lance Li-MSFT
    Mar 12 at 7:19

















  • What kind project you use? And what kind of com ref? Have you checked if it has been registered, please use the regsvr to check if they've been registered. Have a look at this similar issue.Check if it helps.

    – Lance Li-MSFT
    Mar 8 at 10:19












  • com dll which is getting referred in C# project. I checked the registry and entry is present for the com dll. We are registering the com dll by RegisterOutput project setting. Below is the MSbuild log for the same still getting the warning and error. regsvr32 /s /n /i:user "..Win32dbgComProj.dll" Any setting or environment change we need to make. We have another machine on which it work correctly but not on other machine. Please correct me if i am doing something wrong.

    – gaurav mahor
    Mar 11 at 18:31












  • Usually, if one project builds well in visual studio 2015, then it will also builds well with the msbuild tool under its path. Do you use the msbuild tool and visual studio at the same machine?

    – Lance Li-MSFT
    Mar 12 at 7:13











  • And please make sure you have same configurations as what in VS IDE. Do you use the command like: msbuild xxx.csproj /p:Configuration=xxx /p:Platform=xxx? The configuration and platform must correspond to what you use in successful build in VS.If this persists, delete the bin and obj folder to test it again. You can have a look at this similar issue.

    – Lance Li-MSFT
    Mar 12 at 7:19
















What kind project you use? And what kind of com ref? Have you checked if it has been registered, please use the regsvr to check if they've been registered. Have a look at this similar issue.Check if it helps.

– Lance Li-MSFT
Mar 8 at 10:19






What kind project you use? And what kind of com ref? Have you checked if it has been registered, please use the regsvr to check if they've been registered. Have a look at this similar issue.Check if it helps.

– Lance Li-MSFT
Mar 8 at 10:19














com dll which is getting referred in C# project. I checked the registry and entry is present for the com dll. We are registering the com dll by RegisterOutput project setting. Below is the MSbuild log for the same still getting the warning and error. regsvr32 /s /n /i:user "..Win32dbgComProj.dll" Any setting or environment change we need to make. We have another machine on which it work correctly but not on other machine. Please correct me if i am doing something wrong.

– gaurav mahor
Mar 11 at 18:31






com dll which is getting referred in C# project. I checked the registry and entry is present for the com dll. We are registering the com dll by RegisterOutput project setting. Below is the MSbuild log for the same still getting the warning and error. regsvr32 /s /n /i:user "..Win32dbgComProj.dll" Any setting or environment change we need to make. We have another machine on which it work correctly but not on other machine. Please correct me if i am doing something wrong.

– gaurav mahor
Mar 11 at 18:31














Usually, if one project builds well in visual studio 2015, then it will also builds well with the msbuild tool under its path. Do you use the msbuild tool and visual studio at the same machine?

– Lance Li-MSFT
Mar 12 at 7:13





Usually, if one project builds well in visual studio 2015, then it will also builds well with the msbuild tool under its path. Do you use the msbuild tool and visual studio at the same machine?

– Lance Li-MSFT
Mar 12 at 7:13













And please make sure you have same configurations as what in VS IDE. Do you use the command like: msbuild xxx.csproj /p:Configuration=xxx /p:Platform=xxx? The configuration and platform must correspond to what you use in successful build in VS.If this persists, delete the bin and obj folder to test it again. You can have a look at this similar issue.

– Lance Li-MSFT
Mar 12 at 7:19





And please make sure you have same configurations as what in VS IDE. Do you use the command like: msbuild xxx.csproj /p:Configuration=xxx /p:Platform=xxx? The configuration and platform must correspond to what you use in successful build in VS.If this persists, delete the bin and obj folder to test it again. You can have a look at this similar issue.

– Lance Li-MSFT
Mar 12 at 7:19












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55044273%2fmsbuild-is-not-able-to-resolve-the-com-reference-showing-the-warning-for-the-com%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55044273%2fmsbuild-is-not-able-to-resolve-the-com-reference-showing-the-warning-for-the-com%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved