Skip to content

Commit

Permalink
Net Core - Produce reference assemblies for c# projects
Browse files Browse the repository at this point in the history
- Produce ref assembly for Release builds only

#3197
  • Loading branch information
amaitland committed Aug 7, 2020
1 parent 0183c42 commit e1ca2f0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CefSharp.OffScreen/CefSharp.OffScreen.netcore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
<DefineConstants>OFFSCREEN</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\CefSharp.Core\CefSharp.Core.netcore.vcxproj" />
<ProjectReference Include="..\CefSharp\CefSharp.netcore.csproj" />
Expand Down
4 changes: 4 additions & 0 deletions CefSharp.WinForms/CefSharp.WinForms.netcore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
<DefineConstants>WINFORMS</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\CefSharp.Core\CefSharp.Core.netcore.vcxproj" />
<ProjectReference Include="..\CefSharp\CefSharp.netcore.csproj" />
Expand Down
4 changes: 4 additions & 0 deletions CefSharp.Wpf/CefSharp.Wpf.netcore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
<DefineConstants>WPF</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\CefSharp.Core\CefSharp.Core.netcore.vcxproj" />
<ProjectReference Include="..\CefSharp\CefSharp.netcore.csproj" />
Expand Down
4 changes: 4 additions & 0 deletions CefSharp/CefSharp.netcore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
<AssemblyOriginatorKeyFile>..\CefSharp.snk</AssemblyOriginatorKeyFile>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='Release'">
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
</PropertyGroup>

<ItemGroup>
<!-- Don't include items from the "bin" and "obj" folders used by the .NET Framework projects. -->
Expand Down

0 comments on commit e1ca2f0

Please sign in to comment.