Last post May 12, 2020 10:15 PM by EnenDaveyBoy
May 11, 2020 10:31 PM|EnenDaveyBoy|LINK
Ihave an azure functions project built using the command line, how do i add it to the solution folder?
the command which i useto add all my other project is
dotnet sln add .\Services\Categories\Categories.Functions\Categories.Functions.csproj
i have tried adding the solution name but again its not working
since there azure functions doesn't use dotnet it uses func is the same command i have checked the folder names and they are correct
the error says it cannot find the project or directory but i was wondering if this is a azure functions issue since its working with my other class libraries
May 12, 2020 01:54 AM|Brando ZWZ|LINK
According to your description, I guess you may not use the right project path. I suggest you could try to use physical path instead of the reactive path.
More details, you could refer to below command:
dotnet sln add "D:\Durable Function Test\Durable Function Test.csproj"
May 12, 2020 10:15 PM|EnenDaveyBoy|LINK
thanks it turns out when you add a functions project the project file name replaces . with _ but the folder stays the same,so i change project name in the command and it worked