-
Notifications
You must be signed in to change notification settings - Fork 1.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
.NET Core 3 Preview 8 WPF Build error on custom BaseIntermediateOutputPath #1718
Comments
Likely related to or duplicate of #366 |
Closing as duplicate of #366 |
@grubioe I'm not sure whether this is a duplicate. It's more about how the compiler resolves line preprocessor statements with relative paths. For example into one of the generated cs files (AvalonDockApplicationControl.g.cs) in the intermediate ouput is the following line statement generated:
I don't know how the compiler can find the path to the xaml file, because the xaml file is not relatively located to the base intermediate output in my case. I'm afraid that there's somewhere an assumption that the intermediate output is below the project directory. I tried to set the property XamlDebuggingInformation to false, but unfortunately it doesn't stop generating the line statements. Any other idea, how i could workaround that issue? |
I think I found the issue. The implementation of ParentFolderPath in the MarkupCompiler class of the PresentationBuildTasks assembly seems not to be clean: Assembly location:
excerpt of decompiled source code: private string ParentFolderPrefix
{
get
{
string empty = string.Empty;
if (this.TargetPath.StartsWith(this.SourceFileInfo.SourcePath, StringComparison.OrdinalIgnoreCase))
{
string[] strArray = (this.TargetPath.Substring(this.SourceFileInfo.SourcePath.Length) + this.SourceFileInfo.RelativeSourceFilePath).Split('\\');
for (int index = 1; index < strArray.Length; ++index)
empty += "..\\";
}
return empty;
}
}
....
private void AddLinePragma(CodeTypeMember ctm, int lineNumber)
{
CodeLinePragma codeLinePragma = new CodeLinePragma(this.ParentFolderPrefix + this.SourceFileInfo.RelativeSourceFilePath + ".xaml", lineNumber);
ctm.set_LinePragma(codeLinePragma);
}
private void AddLinePragma(CodeStatement cs, int lineNumber)
{
CodeLinePragma codeLinePragma = new CodeLinePragma(this.ParentFolderPrefix + this.SourceFileInfo.RelativeSourceFilePath + ".xaml", lineNumber);
cs.set_LinePragma(codeLinePragma);
} The ParentFolderPrefix shall build up the project folder to the xaml files to which the line pragma's points to. In my case the targetpath doesn't start with the sourcefileinfo.sourcepath... therefore an empty string is returned, which is probably wrong. Instead a complex relative path or an absolute path to the project directory would have to be generated. @grubioe please reopen the issue |
@TFTomSun Open source is cool! No need to decompile anymore: wpf/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/MS/Internal/MarkupCompiler/MarkupCompiler.cs Lines 1567 to 1585 in 55815c9
|
off topic
Is there a similar way to do that based on the original sources? Finding and cloning the whole repository seems to be more complicated for me |
@TFTomSun If you know what class name you're looking for, you can go to the homepage for this repo, press the "T" key on your keyboard, and type in the class name into the File Finder page that appears. Since most filenames in this repo share names with the classes they contain, this is usually a good way to find one class from the (admittedly large) repository. Failing that, the src directory contains all the source code for the entire WPF project, organized in subfolders by assembly, then by namespace. If you're using PowerShell, you can use the following command to find a string out of all the C# source files in the repo: cd path_to_wpf_repo_clone\src\Microsoft.DotNet.Wpf\src
dir -Recurse . -Include *.cs | sls "your_string_here" -SimpleMatch Or, if you prefer working on a Linux or Mac box, I would recommend using the ack program instead. All you need to do to use it is type |
@wjk ok, i thought there might be a more feasible way to navigate the sources... i prefer a symbol based navigation support via decompilation until we can do that via visual code directly online one day. |
@TFTomSun something like reference source but for .NET Core repositories? Roslyn and CoreFX have one for their repository as well. I'm still using the Desktop Reference Source for navigating the sources of WPF and WinForms but they are moving apart quickly, in particular WinForms is doing heavy refactoring. But for WPF it is pretty close so it still works nicely. I've created #1967 and dotnet/winforms#1982 to suggest having online browsable source. |
@weltkante yes, that looks promising. I hope something like this will be integrated into github one day, so that you can use it for any project. I even found the class i mentioned above. Unfortunately I don't see a member list. So the useability still needs to be improved. |
@TFTomSun apparently WinForms and the managed part of WPF are already indexed in https://source.dot.net/ |
The fix would be to use full paths to |
* Update dependencies from https://github.com/dotnet/arcade build 20191004.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19504.2 * Update dependencies from https://github.com/dotnet/arcade build 20191005.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19505.1 * Update dependencies from https://github.com/dotnet/arcade build 20191006.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19506.1 * Update dependencies from https://github.com/dotnet/arcade build 20191009.5 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19509.5 * Update dependencies from https://github.com/dotnet/arcade build 20191010.4 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19510.4 * Update dependencies from https://github.com/dotnet/arcade build 20191011.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19511.1 * Update dependencies from https://github.com/dotnet/arcade build 20191015.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19515.1 * Update dependencies from https://github.com/dotnet/arcade build 20191015.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19515.2 * Update dependencies from https://github.com/dotnet/arcade build 20191017.8 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19517.8 * Update dependencies from https://github.com/dotnet/arcade build 20191018.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19518.2 * Update dependencies from https://github.com/dotnet/arcade build 20191021.4 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19521.4 * Update dependencies from https://github.com/dotnet/arcade build 20191022.8 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19522.8 * Update dependencies from https://github.com/dotnet/arcade build 20191023.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19523.3 * Update dependencies from https://github.com/dotnet/arcade build 20191024.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19524.2 * Update dependencies from https://github.com/dotnet/arcade build 20191025.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19525.2 * Update dependencies from https://github.com/dotnet/arcade build 20191026.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19526.1 * Update dependencies from https://github.com/dotnet/arcade build 20191027.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19527.3 * Update dependencies from https://github.com/dotnet/arcade build 20191028.5 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19528.5 * Update dependencies from https://github.com/dotnet/arcade build 20191029.9 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19529.9 * Update dependencies from https://github.com/dotnet/arcade build 20191030.15 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19530.15 * Update dependencies from https://github.com/dotnet/arcade build 20191031.14 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19531.14 * Update dependencies from https://github.com/dotnet/arcade build 20191101.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19551.3 * Update dependencies from https://github.com/dotnet/arcade build 20191102.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19552.1 * Update dependencies from https://github.com/dotnet/arcade build 20191104.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19554.3 * work around dotnet/wpf#1718 by not embedding untracked sources * use arcade mechanism of populating package icons
* Update dependencies from https://github.com/dotnet/arcade build 20191004.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19504.2 * Update dependencies from https://github.com/dotnet/arcade build 20191005.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19505.1 * Update dependencies from https://github.com/dotnet/arcade build 20191006.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19506.1 * Update dependencies from https://github.com/dotnet/arcade build 20191009.5 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19509.5 * Update dependencies from https://github.com/dotnet/arcade build 20191010.4 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19510.4 * Update dependencies from https://github.com/dotnet/arcade build 20191011.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19511.1 * Update dependencies from https://github.com/dotnet/arcade build 20191015.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19515.1 * Update dependencies from https://github.com/dotnet/arcade build 20191015.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19515.2 * Update dependencies from https://github.com/dotnet/arcade build 20191017.8 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19517.8 * Update dependencies from https://github.com/dotnet/arcade build 20191018.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19518.2 * Update dependencies from https://github.com/dotnet/arcade build 20191021.4 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19521.4 * Update dependencies from https://github.com/dotnet/arcade build 20191022.8 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19522.8 * Update dependencies from https://github.com/dotnet/arcade build 20191023.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19523.3 * Update dependencies from https://github.com/dotnet/arcade build 20191024.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19524.2 * Update dependencies from https://github.com/dotnet/arcade build 20191025.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19525.2 * Update dependencies from https://github.com/dotnet/arcade build 20191026.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19526.1 * Update dependencies from https://github.com/dotnet/arcade build 20191027.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19527.3 * Update dependencies from https://github.com/dotnet/arcade build 20191028.5 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19528.5 * Update dependencies from https://github.com/dotnet/arcade build 20191029.9 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19529.9 * Update dependencies from https://github.com/dotnet/arcade build 20191030.15 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19530.15 * Update dependencies from https://github.com/dotnet/arcade build 20191031.14 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19531.14 * Update dependencies from https://github.com/dotnet/arcade build 20191101.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19551.3 * Update dependencies from https://github.com/dotnet/arcade build 20191102.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19552.1 * Update dependencies from https://github.com/dotnet/arcade build 20191104.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19554.3 * Work around dotnet/wpf#1718 by not embedding untracked source * Pack Content for analyzer packages
* Update dependencies from https://github.com/dotnet/arcade build 20191004.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19504.2 * Update dependencies from https://github.com/dotnet/arcade build 20191005.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19505.1 * Update dependencies from https://github.com/dotnet/arcade build 20191006.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19506.1 * Update dependencies from https://github.com/dotnet/arcade build 20191009.5 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19509.5 * Update dependencies from https://github.com/dotnet/arcade build 20191010.4 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19510.4 * Update dependencies from https://github.com/dotnet/arcade build 20191011.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19511.1 * Update dependencies from https://github.com/dotnet/arcade build 20191015.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19515.1 * Update dependencies from https://github.com/dotnet/arcade build 20191015.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19515.2 * Update dependencies from https://github.com/dotnet/arcade build 20191017.8 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19517.8 * Update dependencies from https://github.com/dotnet/arcade build 20191018.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19518.2 * Update dependencies from https://github.com/dotnet/arcade build 20191021.4 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19521.4 * Update dependencies from https://github.com/dotnet/arcade build 20191022.8 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19522.8 * Update dependencies from https://github.com/dotnet/arcade build 20191023.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19523.3 * Update dependencies from https://github.com/dotnet/arcade build 20191024.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19524.2 * Update dependencies from https://github.com/dotnet/arcade build 20191025.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19525.2 * Update dependencies from https://github.com/dotnet/arcade build 20191026.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19526.1 * Update dependencies from https://github.com/dotnet/arcade build 20191027.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19527.3 * Update dependencies from https://github.com/dotnet/arcade build 20191028.5 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19528.5 * Update dependencies from https://github.com/dotnet/arcade build 20191029.9 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19529.9 * Update dependencies from https://github.com/dotnet/arcade build 20191030.15 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19530.15 * Update dependencies from https://github.com/dotnet/arcade build 20191031.14 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19531.14 * Update dependencies from https://github.com/dotnet/arcade build 20191101.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19551.3 * Update dependencies from https://github.com/dotnet/arcade build 20191102.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19552.1 * Update dependencies from https://github.com/dotnet/arcade build 20191104.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19554.3 * work around dotnet/wpf#1718 by not embedding untracked sources * use arcade mechanism of populating package icons
* Update dependencies from https://github.com/dotnet/arcade build 20190923.5 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19473.5 * Update dependencies from https://github.com/dotnet/arcade build 20190926.6 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19476.6 * Update dependencies from https://github.com/dotnet/arcade build 20190927.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19477.2 * Update dependencies from https://github.com/dotnet/arcade build 20190930.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19480.3 * Update dependencies from https://github.com/dotnet/arcade build 20191001.4 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19501.4 * Update dependencies from https://github.com/dotnet/arcade build 20191002.11 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19502.11 * Update dependencies from https://github.com/dotnet/arcade build 20191004.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19504.2 * Update dependencies from https://github.com/dotnet/arcade build 20191005.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19505.1 * Update dependencies from https://github.com/dotnet/arcade build 20191006.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19506.1 * Update dependencies from https://github.com/dotnet/arcade build 20191009.5 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19509.5 * Update dependencies from https://github.com/dotnet/arcade build 20191010.4 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19510.4 * Update dependencies from https://github.com/dotnet/arcade build 20191011.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19511.1 * Update dependencies from https://github.com/dotnet/arcade build 20191015.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19515.1 * Update dependencies from https://github.com/dotnet/arcade build 20191015.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19515.2 * Update dependencies from https://github.com/dotnet/arcade build 20191017.8 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19517.8 * Update dependencies from https://github.com/dotnet/arcade build 20191018.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19518.2 * Update dependencies from https://github.com/dotnet/arcade build 20191021.4 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19521.4 * Update dependencies from https://github.com/dotnet/arcade build 20191022.8 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19522.8 * Update dependencies from https://github.com/dotnet/arcade build 20191023.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19523.3 * Update dependencies from https://github.com/dotnet/arcade build 20191024.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19524.2 * Update dependencies from https://github.com/dotnet/arcade build 20191025.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19525.2 * Update dependencies from https://github.com/dotnet/arcade build 20191026.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19526.1 * Update dependencies from https://github.com/dotnet/arcade build 20191027.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19527.3 * Update dependencies from https://github.com/dotnet/arcade build 20191028.5 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19528.5 * Update dependencies from https://github.com/dotnet/arcade build 20191029.9 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19529.9 * Update dependencies from https://github.com/dotnet/arcade build 20191030.15 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19530.15 * Update dependencies from https://github.com/dotnet/arcade build 20191031.14 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19531.14 * Update dependencies from https://github.com/dotnet/arcade build 20191101.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19551.3 * Update dependencies from https://github.com/dotnet/arcade build 20191102.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19552.1 * Update dependencies from https://github.com/dotnet/arcade build 20191104.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19554.3 * Update dependencies from https://github.com/dotnet/arcade build 20191105.7 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19555.7 * Update dependencies from https://github.com/dotnet/arcade build 20191106.10 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19556.10 * Update dependencies from https://github.com/dotnet/arcade build 20191107.20 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19557.20 * Update dependencies from https://github.com/dotnet/arcade build 20191108.11 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19558.11 * Update dependencies from https://github.com/dotnet/arcade build 20191111.8 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19561.8 * Update dependencies from https://github.com/dotnet/arcade build 20191112.5 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19562.5 * Update dependencies from https://github.com/dotnet/arcade build 20191113.9 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19563.9 * Update dependencies from https://github.com/dotnet/arcade build 20191114.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19564.2 * Update dependencies from https://github.com/dotnet/arcade build 20191114.6 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19564.6 * Update dependencies from https://github.com/dotnet/arcade build 20191115.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19565.1 * Update dependencies from https://github.com/dotnet/arcade build 20191116.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19566.1 * Update dependencies from https://github.com/dotnet/arcade build 20191117.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19567.2 * Update dependencies from https://github.com/dotnet/arcade build 20191118.10 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19568.10 * Update dependencies from https://github.com/dotnet/arcade build 20191119.6 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19569.6 * Update dependencies from https://github.com/dotnet/arcade build 20191120.6 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19570.6 * Update dependencies from https://github.com/dotnet/arcade build 20191121.10 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19571.10 * Update dependencies from https://github.com/dotnet/arcade build 20191122.5 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19572.5 * Update dependencies from https://github.com/dotnet/arcade build 20191123.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19573.1 * Update dependencies from https://github.com/dotnet/arcade build 20191124.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19574.1 * Update dependencies from https://github.com/dotnet/arcade build 20191125.7 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19575.7 * Update dependencies from https://github.com/dotnet/arcade build 20191126.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19576.2 * Update dependencies from https://github.com/dotnet/arcade build 20191127.4 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19577.4 * Update dependencies from https://github.com/dotnet/arcade build 20191128.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19578.1 * Update dependencies from https://github.com/dotnet/arcade build 20191129.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19579.1 * Update dependencies from https://github.com/dotnet/arcade build 20191130.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19580.1 * Update dependencies from https://github.com/dotnet/arcade build 20191201.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19601.1 * Update dependencies from https://github.com/dotnet/arcade build 20191202.4 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19602.4 * Update dependencies from https://github.com/dotnet/arcade build 20191203.17 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19603.17 * Update dependencies from https://github.com/dotnet/arcade build 20191204.4 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19604.4 * Update dependencies from https://github.com/dotnet/arcade build 20191205.6 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19605.6 * Update dependencies from https://github.com/dotnet/arcade build 20191206.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19606.1 * Update dependencies from https://github.com/dotnet/arcade build 20191207.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19607.1 * Update dependencies from https://github.com/dotnet/arcade build 20191208.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19608.1 * Update dependencies from https://github.com/dotnet/arcade build 20191211.6 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19611.6 * Update dependencies from https://github.com/dotnet/arcade build 20191212.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19612.1 * Update dependencies from https://github.com/dotnet/arcade build 20191213.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19613.1 * Update dependencies from https://github.com/dotnet/arcade build 20191214.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19614.1 * Update dependencies from https://github.com/dotnet/arcade build 20191215.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19615.1 * Update dependencies from https://github.com/dotnet/arcade build 20191216.4 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19616.4 * Update dependencies from https://github.com/dotnet/arcade build 20191217.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19617.1 * Update dependencies from https://github.com/dotnet/arcade build 20191219.10 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19619.10 * Update dependencies from https://github.com/dotnet/arcade build 20191220.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19620.1 * Update dependencies from https://github.com/dotnet/arcade build 20191221.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19621.1 * Update dependencies from https://github.com/dotnet/arcade build 20191222.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19622.1 * Update dependencies from https://github.com/dotnet/arcade build 20191223.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19623.1 * Update dependencies from https://github.com/dotnet/arcade build 20191224.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19624.1 * Update dependencies from https://github.com/dotnet/arcade build 20191225.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19625.1 * Update dependencies from https://github.com/dotnet/arcade build 20191226.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19626.1 * Update dependencies from https://github.com/dotnet/arcade build 20191227.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19627.1 * Update dependencies from https://github.com/dotnet/arcade build 20191228.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19628.1 * Update dependencies from https://github.com/dotnet/arcade build 20191229.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19629.1 * Update dependencies from https://github.com/dotnet/arcade build 20191230.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19630.1 * Update dependencies from https://github.com/dotnet/arcade build 20191231.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19631.1 * Update dependencies from https://github.com/dotnet/arcade build 20200101.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20051.1 * Update dependencies from https://github.com/dotnet/arcade build 20200102.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20052.1 * Update dependencies from https://github.com/dotnet/arcade build 20200103.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20053.2 * Update dependencies from https://github.com/dotnet/arcade build 20200104.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20054.1 * Update dependencies from https://github.com/dotnet/arcade build 20200105.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20055.1 * Update dependencies from https://github.com/dotnet/arcade build 20200106.6 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20056.6 * Update dependencies from https://github.com/dotnet/arcade build 20200107.5 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20057.5 * Update dependencies from https://github.com/dotnet/arcade build 20200108.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20058.1 * Update dependencies from https://github.com/dotnet/arcade build 20200109.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20059.3 * Update dependencies from https://github.com/dotnet/arcade build 20200110.4 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20060.4 * Update dependencies from https://github.com/dotnet/arcade build 20200111.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20061.1 * Update dependencies from https://github.com/dotnet/arcade build 20200112.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20062.1 * Update dependencies from https://github.com/dotnet/arcade build 20200113.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20063.2 * Update dependencies from https://github.com/dotnet/arcade build 20200115.5 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20065.5 * Update dependencies from https://github.com/dotnet/arcade build 20200116.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20066.1 * Update dependencies from https://github.com/dotnet/arcade build 20200117.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20067.2 * Update dependencies from https://github.com/dotnet/arcade build 20200118.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20068.1 * Update dependencies from https://github.com/dotnet/arcade build 20200121.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20071.3 * Update dependencies from https://github.com/dotnet/arcade build 20200122.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20072.2 * Update dependencies from https://github.com/dotnet/arcade build 20200122.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20072.3 * Update dependencies from https://github.com/dotnet/arcade build 20200123.17 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20073.17 * Update dependencies from https://github.com/dotnet/arcade build 20200124.6 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20074.6 * Remove unnecessary workarounds * Implement a workaround for dotnet/wpf#1718 Co-authored-by: Sam Harwell <sam@tunnelvisionlabs.com>
I ran into this issue while adding packaging to a dotNet Framework based solution. Working around by narrowing who gets the 'EmbedUntrackedSources' property using a targets file. |
[master] Update dependencies from dotnet/winforms - Coherency Updates: - Microsoft.Win32.Registry: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - System.CodeDom: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - System.Configuration.ConfigurationManager: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - System.Diagnostics.EventLog: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - System.DirectoryServices: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - System.Drawing.Common: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - System.Reflection.MetadataLoadContext: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - System.Security.AccessControl: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - System.Security.Cryptography.Xml: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - System.Security.Permissions: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - System.Security.Principal.Windows: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - System.Windows.Extensions: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - Microsoft.NETCore.Platforms: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - System.IO.Packaging: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - Microsoft.NETCore.ILDAsm: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - Microsoft.NETCore.ILAsm: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - System.Resources.Extensions: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - Microsoft.NETCore.App.Internal: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - Microsoft.NETCore.App.Ref: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-alpha.1.20428.2 to 6.0.0-alpha.1.20515.8 (parent: Microsoft.Private.Winforms) - .NET Core WPF Build error on custom BaseIntermediateOutputPath #1718 (#3120) * Use more robust relative path calculation in markup code generation - Do not reflow lines after measure - disconnect HostVisual on its own thread - Fix three scrolling hangs - remove useless Assert - handle re-entrant request to close ToolTip - Move StackTrace to error branch - FixedPage SOM bugs - Don't add null item peers - Use correct lock object for predefined packages - repair bad copy/paste - fix build break - remove AppContext switch - DataGrid.Copy: fail silently if clipboard is locked - update_intellisense_artifacts - Remove or replace Policheck violations in code comments (#3606) - Merge pull request #3542 from dotnet/rc2-askmode-BaseIntermediateOutputPath Ask-Mode: [release/5.0-rc2] Custom intermediate output paths shouldn't break markup compilation - Merge pull request #3564 from SamBent/VSPFreeze Vsp freeze - Merge pull request #3565 from SamBent/AutomationPeerNull Avoid null item AutomationPeers - Merge pull request #3566 from SamBent/TextReflow Avoid reflow of shaped text - Merge pull request #3567 from SamBent/HostVisualThreading HostVisual threading - Merge pull request #3568 from SamBent/PopupReentrancy Reentrancy when closing ToolTip - Merge pull request #3570 from SamBent/ClearTypeAntiAliasing ClearType anti-aliasing - Merge pull request #3574 from SamBent/NoisyStackTrace Move StackTrace to error branch - Merge pull request #3575 from SamBent/FixedPageOverlap FixedPage SOM bugs - Merge pull request #3576 from SamBent/LockedClipboard DataGrid.Copy: fail silently if clipboard is locked - Merge pull request #3577 from SamBent/PredefinedPackageSynch App resource threading issue - Revert "Merge pull request #3542 from dotnet/rc2-askmode-BaseIntermediateOutputPath" This reverts commit 3d4e91c, reversing changes made to ab840c4. - Merge branch 'release/5.0' of https://github.com/dotnet/wpf into release/5.0 - update intellisense version - missed a version - 1228498 [ wpf ][ PoliCheck ] - Defect : Term "nuked" - Merge pull request #3637 from dotnet/revertPath [release/5.0] Revert path change to markup compiler - Merge pull request #3642 from dotnet/policheck2 1228498 [ wpf ][ PoliCheck ] - Defect : Term "nuked" - Update arcade - Merge remote-tracking branch 'upstream/release/5.0' into darc-master-f9327a78-0358-4132-8625-923a71a6b121 - Update wpf-int dependencies - Replace null comparisons on non-nullable types that now cause compilation errors, due to the .NET SDK update. - PR feedback - PR feedback - Merge pull request #3640 from AdamYoblick/release/5.0 Update intellisense version - Merge remote-tracking branch 'upstream/release/5.0' into darc-master-f9327a78-0358-4132-8625-923a71a6b121 - Merge branch 'darc-master-f9327a78-0358-4132-8625-923a71a6b121' of https://github.com/dotnet/wpf into darc-master-f9327a78-0358-4132-8625-923a71a6b121 - Suppress obsolete API warnings. These must be fixed for 6.0.0. - Merge pull request #3659 from dotnet/fixdarcupdate Temporarily suppress obsolete API errors to get WPF master building - Merge branch 'master' into darc-master-f9327a78-0358-4132-8625-923a71a6b121
* Update dependencies from https://github.com/dotnet/arcade build 20191004.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19504.2 * Update dependencies from https://github.com/dotnet/arcade build 20191005.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19505.1 * Update dependencies from https://github.com/dotnet/arcade build 20191006.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19506.1 * Update dependencies from https://github.com/dotnet/arcade build 20191009.5 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19509.5 * Update dependencies from https://github.com/dotnet/arcade build 20191010.4 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19510.4 * Update dependencies from https://github.com/dotnet/arcade build 20191011.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19511.1 * Update dependencies from https://github.com/dotnet/arcade build 20191015.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19515.1 * Update dependencies from https://github.com/dotnet/arcade build 20191015.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19515.2 * Update dependencies from https://github.com/dotnet/arcade build 20191017.8 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19517.8 * Update dependencies from https://github.com/dotnet/arcade build 20191018.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19518.2 * Update dependencies from https://github.com/dotnet/arcade build 20191021.4 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19521.4 * Update dependencies from https://github.com/dotnet/arcade build 20191022.8 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19522.8 * Update dependencies from https://github.com/dotnet/arcade build 20191023.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19523.3 * Update dependencies from https://github.com/dotnet/arcade build 20191024.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19524.2 * Update dependencies from https://github.com/dotnet/arcade build 20191025.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19525.2 * Update dependencies from https://github.com/dotnet/arcade build 20191026.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19526.1 * Update dependencies from https://github.com/dotnet/arcade build 20191027.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19527.3 * Update dependencies from https://github.com/dotnet/arcade build 20191028.5 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19528.5 * Update dependencies from https://github.com/dotnet/arcade build 20191029.9 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19529.9 * Update dependencies from https://github.com/dotnet/arcade build 20191030.15 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19530.15 * Update dependencies from https://github.com/dotnet/arcade build 20191031.14 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19531.14 * Update dependencies from https://github.com/dotnet/arcade build 20191101.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19551.3 * Update dependencies from https://github.com/dotnet/arcade build 20191102.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19552.1 * Update dependencies from https://github.com/dotnet/arcade build 20191104.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19554.3 * work around dotnet/wpf#1718 by not embedding untracked sources * use arcade mechanism of populating package icons
This is fixed in .NET 6.0 and 5.0 with |
Related: dotnet/sdk#34438 |
Problem description:
I set the BaseIntermediateOutputPath to >$(OutputRootDirectory)obj$(Configuration)$(MSBuildProjectName)
where OutputRootDirectory is a shared Output path of many projects
It is set via a build sdk that is included in the Directory.Build.props and Directory.Build.targets files in the root of my repository.
Actual behavior:
When I build the project I get alot of build errors for xaml files, for example:
It seems like the line information generated in to the g.cs files don't honor the the changed BaseIntermediateOutputPath setting.
Expected behavior:
The build just runs fine
The text was updated successfully, but these errors were encountered: