Package specs not loading in Catalog Browser

Hi,

I have a package in a new project. When I load the package, none of the specs in the project load except for a couple previously loaded from an old project that is being merged into this new project. All of the specs are embedded resources, and I can load each individually without any issues. When I Loadspec the package in my work environment, it loads with no errors. Obviously loading each spec individually isn't optimal when deploying to a new environment so I'd like to figure out why this package is behaving oddly?

Thanks,

Ray Porter

Comments

  • @Ray Porter Can you take us through the process that you use to deploy the specs? Do you typically loadspec to your work environment through Visual Studio to test them out first? What type of project is it (VB vs. C#)? With VB you don't need to have the folder structure spelled out in the CatalogItem tag in the xml where with a C# project you do need to have the folder structure of the specs as well.

  • @Ray Porter, We've run into this issue ourselves in the past. Odds are the way your references to the individual specs are being built when you build your project are different than the way your references appear in your package spec. What we've had to typically do is to replace any whitespace characters in the package spec with underscores. Here's a quick example so you can hopefully fix the issues you're having

    7b6c93d727eb5165029cd40885ebc06b-huge-im
    f8ff6189dcab1e0399d5cb3ad66419d2-huge-im

    As you can see the way it gets built into the DLL the catalog item looks much different than the way it appears in the solution explorer. If you have subfolders that you place your specs into you might need to add the underscores like we have to. If you're still having issues after this I suggest downloading something like Jet Brains Dot Peek and dragging the DLL file into it and seeing how the different resources were built and mirroring it.

    Best of luck

Categories