Forum Discussion

EHP's avatar
EHP
Icon for Advocate I rankAdvocate I
5 years ago
Solved

[Expression.Error] We couldn't find the file 'secrets.json'

Hi there,   I'm getting this error "[Expression.Error] We couldn't find the file 'secrets.json'" in VS in my custom connector.  It happens when I try to use values from my Azure environment secret ...
  • EHP's avatar
    5 years ago

    I found a solution - adding this section to the .mproj file worked.  A rebuild of the solution after changing the file property to Compile may also have worked too.

     

    <Compile Include="secrets.json">
    <SubType>Content</SubType>
    </Compile>