Skip to content
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

Receiving message required parameter ConfigurationPath not given. #282

Open
MarkLFT opened this issue Jul 24, 2021 · 5 comments
Open

Receiving message required parameter ConfigurationPath not given. #282

MarkLFT opened this issue Jul 24, 2021 · 5 comments
Labels

Comments

@MarkLFT
Copy link

MarkLFT commented Jul 24, 2021

I am receiving a build time error. The "SecretsJsonTask" task was not given a value for the required parameter "ConfigurationPath".

But I cannot find where I am supposed to provide this path, and what value I should enter. I have searched the documentation and generally on the internet, but I can find no reference to this. What step am I missing?

Many thanks.

@MarkLFT
Copy link
Author

MarkLFT commented Jul 24, 2021

Some addition info, the path to the error is c:\users\name.nuget\packages\mobile.buildtools\2.0.245\build, file Secrets.targets, Line 16

@Seuleuzeuh
Copy link

Seuleuzeuh commented Jul 26, 2021

It's in local build from VS ? Or with a CI Platforms (AzureDevOps, AppCenter , ...) ?

EDIT : i read your other issue, i assume it's form DevOps so. I think it's related with my issue #281.
You must attach the bin log like specified in this issue.

@MarkLFT
Copy link
Author

MarkLFT commented Jul 26, 2021

For this problem it is on a local VS build. he other issues are on an Azure DevOps build.

For this problem, it is random. It has not happened today. But yesterday, happened about 10 times.

@aritchie
Copy link

aritchie commented Jul 27, 2021

Here's the bin log from https://github.com/shinyorg/shiny/tree/dev/tests/Shiny.Tests.Device - this is failing on a local build

shinytestsdevice.zip

ConfigurationPath is indeed, not being passed to the task.

Things to note: The build parameter for solution directory is c:\dev\shinylibs\shiny\tests\ when in actual fact, it is c:\dev\shinylibs\shiny\

@dansiegel dansiegel added the bug label Jul 27, 2021
@dansiegel
Copy link
Owner

It appears there is a verified bug here... Until I can get a new build out please use the following in a Directory.Build.props

<Target Name="MBTHack"
        BeforeTargets="Secrets"
        DependsOnTargets="MobileBuildToolsInit">
</Target>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants