forked from leocb/MaterialSkin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create new .NET 5 project file for multitargeting .NET versions
Packaging a nuget package is much easier with this project as well
- Loading branch information
1 parent
97d906d
commit 90e0a8e
Showing
2 changed files
with
119 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net5.0-windows;net461</TargetFrameworks> | ||
<OutputType>Library</OutputType> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<UseWindowsForms>true</UseWindowsForms> | ||
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets> | ||
</PropertyGroup> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'net461'"> | ||
<Reference Include="System.Design" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Update="Controls\BaseTextBox.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialListBox.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialScrollBar.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialExpansionPanel.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialSlider.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialSwitch.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialCheckBox.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialCheckedListBox.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialComboBox.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialContextMenuStrip.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialDivider.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialButton.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialFloatingActionButton.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialLabel.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialListView.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialRadioButton.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialMultiLineTextBox.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialMultiLineTextBox2.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialCard.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialTextBox.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialTextBox2.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialTabControl.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialDrawer.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialTabSelector.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
<Compile Update="Controls\MaterialProgressBar.cs"> | ||
<SubType>Component</SubType> | ||
</Compile> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<EmbeddedResource Include="Resources\Roboto-Regular.ttf" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<EmbeddedResource Include="Resources\Roboto-Medium.ttf" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<EmbeddedResource Include="Resources\Roboto-Bold.ttf" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<EmbeddedResource Include="Resources\Roboto-Black.ttf" /> | ||
<EmbeddedResource Include="Resources\Roboto-Light.ttf" /> | ||
<EmbeddedResource Include="Resources\Roboto-Thin.ttf" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Remove="Controls\MaterialMenuStrip.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.3.246501"> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.Windows.Compatibility" Version="5.0.2" /> | ||
</ItemGroup> | ||
</Project> |