We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
dotnet publish
1 parent afee46c commit 08f4c8cCopy full SHA for 08f4c8c
src/PowerShellEditorServices.Hosting/PowerShellEditorServices.Hosting.csproj
@@ -6,6 +6,18 @@
6
<AssemblyName>Microsoft.PowerShell.EditorServices.Hosting</AssemblyName>
7
</PropertyGroup>
8
9
+ <!-- HACK: This is a temporary workaround of `dotnet publish` -->
10
+ <Target Name="InjectNetStandardFacadesToPublishDirectory"
11
+ BeforeTargets="ComputeResolvedFilesToPublishList"
12
+ Condition="'@(_NETStandardLibraryNETFrameworkLib)' != ''">
13
+ <ItemGroup>
14
+ <_ResolvedCopyLocalPublishAssets
15
+ Include="@(_NETStandardLibraryNETFrameworkLib)"
16
+ Condition="'%(_NETStandardLibraryNETFrameworkLib.FileName)' != 'netfx.force.conflicts'"
17
+ />
18
+ </ItemGroup>
19
+ </Target>
20
+
21
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
22
<DefineConstants>$(DefineConstants);CoreCLR</DefineConstants>
23
0 commit comments