Merge pull request #3337 from thomasclaudiushuber/patch-2

Update 3.0.0-preview-known-issues.md
This commit is contained in:
Lee Coward 2019-09-09 13:21:13 -07:00 committed by GitHub
commit 66c80e8626
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,14 +18,9 @@ To update the path for every new terminal session, the `export` entry will need
- **Builds fail with `MSB3041` when a `.resx` file is in a subfolder [microsoft/msbuild#4695](https://github.com/microsoft/msbuild/issues/4695)**
MSBuild incorrectly constructs paths to `DependentUpon` source files related to `.resx` files that aren't at the project root. There are two possible workarounds:
MSBuild incorrectly constructs paths to `DependentUpon` source files related to `.resx` files that aren't at the project root. There is a workaround:
1. Revert to preview8 behavior by setting this property in your project (or in a [`Directory.Build.props`](https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2019#directorybuildprops-and-directorybuildtargets) for all of your projects).
```xml
<EmbeddedResourceUseDependentUponConvention>false</EmbeddedResourceUseDependentUponConvention>
```
2. Explicitly set `DependentUpon` metadata for resource files ([example for Entity Framework migrations](https://github.com/aspnet/EntityFramework6/issues/1225#issuecomment-528571274).
Explicitly set `DependentUpon` metadata for resource files ([example for Entity Framework migrations](https://github.com/aspnet/EntityFramework6/issues/1225#issuecomment-528571274)).
### Preview 5