Skip to content

Commit

Permalink
Create new .NET 5 project file for multitargeting .NET versions
Browse files Browse the repository at this point in the history
Packaging a nuget package is much easier with this project as well
  • Loading branch information
VolatilePulse committed Sep 25, 2021
1 parent 97d906d commit 90e0a8e
Show file tree
Hide file tree
Showing 2 changed files with 119 additions and 1 deletion.
8 changes: 7 additions & 1 deletion MaterialSkin.sln
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.136
Expand All @@ -12,6 +12,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
README.md = README.md
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MaterialSkinCore", "MaterialSkin\MaterialSkinCore.csproj", "{031DCCA6-79CD-41F0-AA5A-09FDE1C1D308}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -26,6 +28,10 @@ Global
{8EB7611B-68CD-4B8B-987A-11717E2B250C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8EB7611B-68CD-4B8B-987A-11717E2B250C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8EB7611B-68CD-4B8B-987A-11717E2B250C}.Release|Any CPU.Build.0 = Release|Any CPU
{031DCCA6-79CD-41F0-AA5A-09FDE1C1D308}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{031DCCA6-79CD-41F0-AA5A-09FDE1C1D308}.Debug|Any CPU.Build.0 = Debug|Any CPU
{031DCCA6-79CD-41F0-AA5A-09FDE1C1D308}.Release|Any CPU.ActiveCfg = Release|Any CPU
{031DCCA6-79CD-41F0-AA5A-09FDE1C1D308}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
112 changes: 112 additions & 0 deletions MaterialSkin/MaterialSkinCore.csproj
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>

0 comments on commit 90e0a8e

Please sign in to comment.