Closed henningst closed 8 years ago
Thanks for submitting this.
What do you have in global.json
?
c:\temp\MySolution\Falcon\global.json
{
"projects": [ "../Shared/src", "src", "../Shared/test" ],
"sdk": {
"version": "1.0.0-rc1-final"
}
}
@victorhurdugaci Do you know if this repros with dotnet apps?
I am not able to reproduce this with dotnet watch. Using that project structure, the watcher works perfectly and it picks chances from all project.
Unfortunately, we're not going to create a fix for rc1 so I'll close this issue
I'm submitting this issue on request from @victorhurdugaci after posting a question on Stackoverflow. http://stackoverflow.com/questions/36711354/dnx-watch-stopped-working-and-throwing-argumentexception-because-directory-was-n
I've now stripped down my solution as much as possible. The problem is that I'm getting an ArgumentException as shown below when running dnx-watch in a project using RC1-Final.
Here is the directory structure of my solution:
There are actually 2 different solutions. The main solution with the web project is in c:\temp\MySolution\Falcon and I have a solution with shared projects in c:\temp\MySolution\Shared. The shared project is added both in Shared.sln and Falcon.sln.
This is the contents of c:\temp\MySolution\Falcon\src\Web\project.json:
And here is the contents of c:\temp\MySolution\Shared\src\TenantService\project.json