-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Tools 1.0.0-msbuild3-final does not work when BaseIntermediateOutputPath is set #7685
Comments
This is, unfortunately, a limitation in the way we interact with MSBuild. If you customize the |
I am trying to run a Docker container that has code mounted into it while also developing inside of an IDE. The IDE keeps running Dotnet Restore and conflicting with the Docker container's Dotnet Restore. I have to do multiple mounts to exclude the Is this a common use case? Does anyone know a solution for it? I'm also going to ask NuGet/Home#4463 if there's any way to make the Host and Docker use a different |
Are the conflicts just runtime differences? You can restore for multiple runtimes using <PropertyGroup>
<RuntimeIdentifiers>win7-x64;debian.8-x64</RuntimeIdentifiers>
</PropertyGroup> |
I tried adding that, but I still get issues. A couple of the nuget related files have filepaths stored in them, which are different on the Host and on the Docker Container. I've worked out a slightly complicated fix involving symlinking everything except for |
I closed the issue as I can workaround if this is how things must be. If you want this as an internal tracking issue feel free to reopen, I'm glad to test it if a solution is on the table at some point in the future. |
I have changed the locations of the
bin
andobj
folders in my application:ERROR 1
This is because it is sitll looking in
<project root>/obj
. It should be reading theBaseIntermediateOutputPath
though.ERROR 2
If I create
obj
in my project root to get past Error 1, the migration creation script hangs indefinitely:FULL RECREATE
VERSION INFO
Operating Systems: Windows 10 x64 and Ubuntu 16.04 x64
Entity Framework Tools Version: Entity Framework Core .NET Command Line Tools 1.0.0-msbuild3-final
Dotnet CLI Version: 1.0.0-rc4-004771
The text was updated successfully, but these errors were encountered: