Open Mustafa-ah opened 1 year ago
I have found this may help
https://githubmemory.com/repo/dansiegel/Mobile.BuildTools/issues/282
use the following in a Directory.Build.props
<Target Name="MBTHack"
BeforeTargets="Secrets"
DependsOnTargets="MobileBuildToolsInit">
</Target>
Description
I need to use mobile.buildtools in a xamarin native project.
here is my solution structure:
Reproduction Steps
1-install mobile.buildtools(2.0.245) in AppShared(PCL) to be accessible from all mobile apps
2- build AppShared(PCL)
Expected Behavior
Build and generate Appsettings class
Actual Behavior
I get this error after building Shared PCL :
/Users/Mustafa/.nuget/packages/mobile.buildtools/2.0.245/build/Secrets.targets(5,5): Error MSB4044: The "SecretsJsonTask" task was not given a value for the required parameter "ConfigurationPath". (MSB4044)
Environment