User Tools

Site Tools


notes:tools:netcore

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
notes:tools:netcore [2018/11/12]
leszek
notes:tools:netcore [2019/02/08] (current)
leszek
Line 67: Line 67:
 # RID has to be also specified in csproj'​s RuntimeIdentifier or RuntimeIdentifiers element. # RID has to be also specified in csproj'​s RuntimeIdentifier or RuntimeIdentifiers element.
 dotnet publish -c Release -r ubuntu.16.04-x64 dotnet publish -c Release -r ubuntu.16.04-x64
 +</​code>​
 +
 +Multi-targeting:​
 +<code xml>
 +<Project Sdk="​Microsoft.NET.Sdk">​
 +  <​PropertyGroup>​
 +    <​OutputType>​Exe</​OutputType>​
 +    <​TargetFrameworks>​netcoreapp2.0;​net462</​TargetFrameworks>​
 +  </​PropertyGroup>​
 +</​Project>​
 </​code>​ </​code>​
  
notes/tools/netcore.txt ยท Last modified: 2019/02/08 by leszek