- Home /
 
               Question by 
               JamesGameDev · Feb 10, 2017 at 12:25 AM · 
                c#errorbuilddllstandalone  
              
 
              .DLL can't build for Windows Standalone.
Hello Comm-Unity, I have just finished a project, but I am receiving the following error when I try to build for Windows Standalone:
 ArgumentException: The Assembly Office is referenced by Microsoft.Vbe.Interop ('Assets/Plugins/microsoft.vbe.interop.dll'). But the dll is not allowed to be included or could not be found.
 UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:154)
 UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:160)
 UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:160)
 UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:192)
 UnityEditor.HostView:OnGUI()
and:
 Error building Player: Extracting referenced dlls failed.
I have tried switching the API compatibility to ".Net 2.0" and back to ".Net 2.0 subset", as well as putting all of the .dll's into a Plugins folder in the assets hierarchy, and all four combinations of those. I cannot think of anything else to do, so any help would be appreciated. Thank you!
-tiger27
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Does a DLL work in an iOS build? 1 Answer
Compiler errors while switching to android 1 Answer
Can't export game 3 Answers
How is it best to distribute a complex unity project to other devs as asingle dll 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                