Open Alovchin91 opened 3 years ago
I'm not familiar with the <Generator>MSBuild:Compile</Generator>
syntax. @BenVillalobos @Forgind could this be a MSBuild issue?
I suppose this is some kind of an older syntax since these projects have been converted from non-SDK style. UseWPF
syntax could also work for us, but I never saw it being used in .NET FX (net472) projects.
I'm facing the following error when building a specifically setup project:
This is an SDK style project that has a PackageReference to SharpSvn which includes a reference assembly built by refasmer: https://github.com/AmpScm/SharpSvn/blob/6074f8d75e9a33878c3b7c91be3f943dbc0986ec/nuspec/build.cmd#L31
Here's what the project file looks like:
The reason why I'm posting this issue here (and not in SharpSvn or refasmer repos) is because if I change the project file as follows:
-- it builds without an issue.
It seems to me that there is something in
Microsoft.WinFx.targets
that is different for XAML files when built withUseWPF = true
and withGenerator = MSBuild:Compile
.Please find a repro sample attached.
SharpSvnBugRepro.zip