Compile Warnings - dummy.resources

Compile Warnings - dummy.resources

JamieVJohnson2
Collaborator Collaborator
366 Views
1 Reply
Message 1 of 2

Compile Warnings - dummy.resources

JamieVJohnson2
Collaborator
Collaborator

I am getting 5 warnings when attempting to build my solution.  It contains Inventor, AutoCAD and Vault references.  I haven't changed any code recently, so I'm thinking its due to the updates in the CAD Software.  My current builds are Inventor (ver 2019.1.1, build 200) and Vault Professional (ver 2019.1; build 24.1.42.0)

The listed file below has file version 24.1.42.0 (vault.resources), and ilogic.types.resources is 20.0.13800.0

 

  • Warning  Assembly 'C:\Program Files\Autodesk\Inventor 2019\Bin\en-US\Autodesk.DataManagement.Client.Framework.Vault.resources.dll' has mismatched identity 'dummy.resources', expected file name: 'dummy.resources.dll'.   
  • Warning  Unable to apply publish properties for item "en-us\autodesk.ilogic.types.resources".   
  • Warning  Assembly 'C:\Program Files\Autodesk\Inventor 2019\Bin\en-US\Autodesk.DataManagement.Client.Framework.resources.dll' has mismatched identity 'dummy.resources', expected file name: 'dummy.resources.dll'.    
  • Warning  Unable to apply publish properties for item "autodesk.ilogic.types".   
  • Warning  Two or more assemblies have the same identity 'dummy.resources, Version=24.1.42.0, Culture=neutral, ProcessorArchitecture=amd64'.
Jamie Johnson : Owner / Sisu Lissom, LLC https://sisulissom.com/
0 Likes
Accepted solutions (1)
367 Views
1 Reply
Reply (1)
Message 2 of 2

JamieVJohnson2
Collaborator
Collaborator
Accepted solution

So not knowing why, but I was also getting a manifest error.  All of it pointing to towards the Vault API dlls.  So I removed all references of the Vault dlls (Autodesk.Connectiviy.WebServices, AutodeskConnectivity.WebServices,WCF, Autodesk.DataManagement.Client.Framework, Autodesk.DataManagement.Client.Framework.Vault, and any others found).  Then I went to project properties\Publish\Application Files...\Show all files.  Then I removed all the same and any other related (which is where I found the .resources .dll files being referenced).  Cleaned project (from the build menu).  Then I re-added just the four main vault dlls listed above, using the dlls found in the Vault folder:  C:\Program Files\Autodesk\Vault Professional 2019\Explorer.  All the warnings have disappeared.  Incidentally, my invalid manifest error (during install) went away with it.  FYI, the original referenced dlls were in the C:\Program Files\Autodesk\Inventor 2019\Bin\ folder.  While fundamentally the two sets of dlls should be the same, I chose to get the files from the 'source', in case there was an update deployment issue.

Jamie Johnson : Owner / Sisu Lissom, LLC https://sisulissom.com/
0 Likes