-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.cs.pp source code transform files in content folder not been added to projects and transformed #1139
Comments
how is this done in nuget? |
its described in the "Source Code Transformations" and "Specifying Source Code Transformations" sections at |
Then the files: There needs to be some logic for "compatibleContentFilesGroup", i.e. depending on the targeted framework NuGet may apply different transforms... |
Any estimation when this is going to be implemented? At least having source file transformations would be nice, and as far as I can see, this shouldn't be so difficult to implement. As soon as you have a reference to the project file, it's basically just parsing |
It's marked up-for-grabs... |
Related #2231 |
Closing, dupe of #614 |
Ive been using two packages both of which just have a source code file in their content folder which is transformed by putting the projects namespace into the file and adding it into the project.
the first package is liblog, it has the a file called liblog.cs.pp inside a subfolder of the content folder i.e. the following folder contains it
this should be transformed and added into the project as
app_packages\liblog.4.2\liblog.cs
the other package is
liteguard.source
which has the different framework folders under content, each folder containins guard.cs.pp
this file should also be added to the project with the namespace changed and added as guard.cs at the root of the project
i know you dont do the running of ps1 files as part of adding a package but is it a possiblity of processing .cs.pp files ?
paket.dependencies has
paket.references for the project has
The text was updated successfully, but these errors were encountered: