-
Notifications
You must be signed in to change notification settings - Fork 25
Description
The way the repository is currently set up, it seems that in order to test your changes, you need to set up a local nuget repository in which you put your new library builds, this being required for every single build.
I think it would be desirable to replace the PackageReferences in the testing projects with ProjectReferences, which would automatically reference the latest build without needing to deal with local nuget repos at all.
I tried doing this, but quickly ran into the following build errror: Could not load file or assembly 'Scriban, Version=6.0.0.0.
By partly reverting the changes in 4ba4b8c (re-enabling PackageScribanIncludeSource and IncludeAssets) I made some progress, with only CsvTextFieldParser causing the same error now.
I managed to make everything compile by commenting out all code whose generators depend on CsvTextFieldParser (since it doesn't seem to provide an equivalent to PackageScribanIncludeSource).
While this works for me, it's not exactly convenient and I feel like this might be a general issue for people seeking to contribute to the library.
I'm not sure what exactly the intended workflow is and maybe I am missing something here! Please do let me know if so.
It's also entirely possible that this is a fundamental limitation of source generators in some way (considering they're not really fully mature) in which case I don't think there's much that can be done.
Either way, I feel like some documentation of how you are supposed to build/work on the library would be really helpful!
Thank you!