Merge pull request #3324 from rainersigwald/patch-1
preview9 known issue: resx DependentUpon
This commit is contained in:
commit
cd40b25848
|
@ -14,6 +14,19 @@ The PATH issue can be confirmed by typing `echo $PATH | grep "dotnet"` and obser
|
|||
|
||||
To update the path for every new terminal session, the `export` entry will need to be added to your terminal resource file. This file will be different depending upon your default terminal (eg bash, zsh, ...) and configuration (.bash_profile, .bashrc, .zshrc, ...).
|
||||
|
||||
### Preview 9
|
||||
|
||||
- **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:
|
||||
|
||||
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).
|
||||
|
||||
### Preview 5
|
||||
|
||||
- **Visual style in WinForms app not showing correctly when publishing with PublishReadyToRun=true**
|
||||
|
|
Loading…
Reference in a new issue