How to get assembly meta data to generate
-
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.
-
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.
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.