unitycontainer / configuration

Unity.Configuration package
Apache License 2.0
13 stars 13 forks source link

Include the Schema in the nuget package #31

Open PVLopes opened 4 years ago

PVLopes commented 4 years ago

It would be nice if the XSD schema file was included in the nuget package, just to have intellisense in the web.config

ENikS commented 4 years ago

Is there a guidance anywhere on how it is done?

PVLopes commented 4 years ago

maybe these can help: How to add your custom content files into a nuget package (for Visual Studio) Include both Nuget Package References and project reference DLL using “dotnet pack” [C#] including 3rd DLL file to nuget package

ENikS commented 4 years ago

Could you tell me how are you planning to use the schema? Are there an app you trying to work with?

PVLopes commented 4 years ago

The goal is just to include the schema in the package, no extra action is required. I think this worked on previous versions of Unity, as described in the book Unity Succinctly: image

ENikS commented 4 years ago

IntelliSense must have an algorithm to search for these. I'll do some digging...