Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Hydhen · Sep 26, 2018 at 05:08 PM · assetresourcesassemblyexcelthird-party

How to correctly use third party DLLs

Hi everyone,


I'm very new with third party assemblies and Unity and that's my first experience with it

I'm currently working on a Unity 2018.2 project in which I need to write into an Excel file

I got 2 main issues :


1 -- I created an Excel file with VSTO, so I got a couple of file :

    Microsoft.Office.Tools.Common.v4.0.Utilities.dll
    Microsoft.Office.Tools.Excel.v4.0.Utilities.dll
    VR Export Workbook.dll
    VR Export Workbook.dll.mdb
    VR Export Workbook.dll.manifest
    VR Export Workbook.pdb
    VR Export Workbook.vsto
    Export.xlsx

Unity cannot load

VR Export Workbook.dll
I got this message :

Unloading broken assembly Assets/Resources/Profils/VR Export Workbook.dll, this assembly can cause crashes in the runtime

What should I do to get rid of this message ?

Also I cannot compile the Unity project without having to manually moved my files, I got this error on build :

ArgumentException: The Assembly Microsoft.VisualStudio.Tools.Applications.Runtime is referenced by VR Export Workbook ('Assets/Resources/Profils/VR Export Workbook.dll'). But the dll is not allowed to be included or could not be found.

I'm not feeling like copy / paste the whole .NET framework assemblies inside my project, what can I do for this ?


2 -- Unity does not export my Resources folder

The whole Excel stuff is located inside my Resources folder, because I want those files to be in the build and editable

I got this folder tree :

Assets/
--- Resources/
      |--- Documentations/ (contains images)
      |--- Lang/ (contains sub folder with JSON files)
      `--- Profils/ (contains my Excel stuff and subfolders)

But nothing is copied on build, even without the Excel VSTO

Any idea ?


Thanks in advance for your replies

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

92 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Loading directories and custom files 0 Answers

Good site for gui stuff 4 Answers

Subfolders with Resources.Load not working 2 Answers

Creating Assets On The Fly 6 Answers

Resources.FindObjectsOfTypeAll() doesn't return all Textures 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges