Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to get assembly meta data to generate

How to get assembly meta data to generate

Scheduled Pinned Locked Moved C#
questioncsharpc++helptutorial
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    Xpnctoc
    wrote on last edited by
    #1

    Does anyone know why when I build a C# class library assembly that the meta file would contain any data? Is there some project setting I need to enable? My class library has 6 classes, but when I open up the MyLibrary.dll.meta file it just says "No meta data found." This is a problem because then my main project -- about 300 source files and 100,000 lines of code -- wants to rebuild itself every time I make the smallest change to my library. The compiler gives me the message: Cannot inspect MyLibrary.dll.meta. Assuming significant changes... So if I change even one line of code in the library project, I have to sit here for several minutes while the main project rebuilds from scratch. What a waste of time! Has anyone seen this before? How do I get the meta data file to properly populate when I build the library project? P.S. -- Using Windows 7 64-bit (project set for 32-bit platforms), VS2008 with all service packs applied, and the same thing happens when I try to create a managed C++/CLI library as well. I can't get meta data to generate for any library in any language.

    X 1 Reply Last reply
    0
    • X Xpnctoc

      Does anyone know why when I build a C# class library assembly that the meta file would contain any data? Is there some project setting I need to enable? My class library has 6 classes, but when I open up the MyLibrary.dll.meta file it just says "No meta data found." This is a problem because then my main project -- about 300 source files and 100,000 lines of code -- wants to rebuild itself every time I make the smallest change to my library. The compiler gives me the message: Cannot inspect MyLibrary.dll.meta. Assuming significant changes... So if I change even one line of code in the library project, I have to sit here for several minutes while the main project rebuilds from scratch. What a waste of time! Has anyone seen this before? How do I get the meta data file to properly populate when I build the library project? P.S. -- Using Windows 7 64-bit (project set for 32-bit platforms), VS2008 with all service packs applied, and the same thing happens when I try to create a managed C++/CLI library as well. I can't get meta data to generate for any library in any language.

      X Offline
      X Offline
      Xpnctoc
      wrote on last edited by
      #2

      FYI... It looks like I resolved it by cleaning the solution and rebuilding everything. Now all my .dll.meta data file have metadata in them and I can't reproduce the problem when I make additional updates to the class library. Looks like a Visual Studio glitch.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups