Is there a way to replace modules (PRO & FREE) with source code but keep framework? I want to do this inside CI, so manually change can't help.
I have tried switch-to-local --paths "path\to\pro\free\modules\"
with batch get-source for all modules. but didn't work for framework references inside free modules.
My CI has +1K package conflict error with netstandard2.0 on my solution when I trying to graph build my project with local framework reference:
conflict System.Runtime 5.x and System.Runtime 8.x inside every proj has reference to Volo.Abp.Core
Why do we still have the netstandard2.0?
I have tried -p:TargetFramework=net8.0
and didn't help
3 Answer(s)
-
0
hi
switch-to-local
You can try to customize the
LocalReferenceConverter
to skip for the framework. Then build a local dotnet global tool and install and use it.https://github.com/abpframework/abp/blob/blazor-full-stack-web-ui/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/SwitchToLocalCommand.cs#L39
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectModification/LocalReferenceConverter.cs#L40
-
0
You can try to customize the LocalReferenceConverter to skip for the framework. Then build a local dotnet global tool and install and use it.
Thank you. I'm working on it. However, it can be useful if we had a switch for it
abp switch-to-local --skip-framework
-
0
We will discuss it internally.