Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added project files to build against NET9 and NET Standard 2.1 #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion M2Mqtt.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
<tags>m2m mqtt queue messaging internetofthings iot cloud netmf embedded micro netduino micro-framework hardware winrt windows8 windows8.1 windowsphone windowsphone8.1 gadgeteer</tags>
</metadata>
<files>
<file src="bin\Release\M2Mqtt.Net\*.*" target="lib\net45" />
<file src="bin\Release\M2Mqtt.NetStd\*.*" target="lib\netstd21" />
<file src="bin\Release\M2Mqtt.NET\*.*" target="lib\net9" />
<file src="bin\Release\M2Mqtt.NetF\*.*" target="lib\net48" />
<file src="bin\Release\M2Mqtt.NetCf39\*.*" target="lib\net39-cf" />
<file src="bin\Release\M2Mqtt.NetMf42\*.*" target="lib\netmf42" />
<file src="bin\Release\M2Mqtt.NetMf42\le\*.p*" target="lib\netmf42\le" />
Expand Down
14 changes: 13 additions & 1 deletion M2Mqtt.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "M2Mqtt.Net", "M2Mqtt\M2Mqtt.Net.csproj", "{A11AEF5A-B246-4FE8-8330-06DB73CC8074}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "M2Mqtt.NetF", "M2Mqtt\M2Mqtt.NetF.csproj", "{A11AEF5A-B246-4FE8-8330-06DB73CC8074}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "M2Mqtt.NetCf39", "M2Mqtt\M2Mqtt.NetCf39.csproj", "{BB9B7FF4-6502-41AF-8851-5060B67645E8}"
EndProject
Expand All @@ -13,6 +13,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "M2Mqtt.NetMf43", "M2Mqtt\M2
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "M2Mqtt.WinRT", "M2Mqtt\M2Mqtt.WinRT.csproj", "{0238F0E3-A02B-428D-8A3F-410D8F15BB50}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "M2Mqtt.netstd", "M2Mqtt\M2Mqtt.netstd.csproj", "{5D91050E-B8CD-4BC3-BC71-0903184D3DC8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "M2Mqtt.NET", "M2Mqtt\M2Mqtt.NET.csproj", "{0AB95267-C0E4-4794-8A72-2A678078C28E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -41,6 +45,14 @@ Global
{0238F0E3-A02B-428D-8A3F-410D8F15BB50}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0238F0E3-A02B-428D-8A3F-410D8F15BB50}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0238F0E3-A02B-428D-8A3F-410D8F15BB50}.Release|Any CPU.Build.0 = Release|Any CPU
{5D91050E-B8CD-4BC3-BC71-0903184D3DC8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5D91050E-B8CD-4BC3-BC71-0903184D3DC8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5D91050E-B8CD-4BC3-BC71-0903184D3DC8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5D91050E-B8CD-4BC3-BC71-0903184D3DC8}.Release|Any CPU.Build.0 = Release|Any CPU
{0AB95267-C0E4-4794-8A72-2A678078C28E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0AB95267-C0E4-4794-8A72-2A678078C28E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0AB95267-C0E4-4794-8A72-2A678078C28E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0AB95267-C0E4-4794-8A72-2A678078C28E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
24 changes: 24 additions & 0 deletions M2Mqtt/M2Mqtt.NET.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<defineConstants>TRACE;NET9;SSL</defineConstants>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>

<ItemGroup>

</ItemGroup>

<ItemGroup>
<Compile Remove="WinRT\**\*.cs" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<OutputPath>..\bin\Debug\M2Mqtt.NET</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<OutputPath>..\bin\Release\M2Mqtt.NET</OutputPath>
</PropertyGroup>

</Project>
6 changes: 3 additions & 3 deletions M2Mqtt/M2Mqtt.Net.csproj → M2Mqtt/M2Mqtt.NetF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>uPLibrary.Networking.M2Mqtt</RootNamespace>
<AssemblyName>M2Mqtt.Net</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\bin\Debug\M2Mqtt.Net</OutputPath>
<OutputPath>..\bin\Debug\M2Mqtt.NetF</OutputPath>
<DefineConstants>TRACE;DEBUG;SSL</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand All @@ -27,7 +27,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\bin\Release\M2Mqtt.Net</OutputPath>
<OutputPath>..\bin\Release\M2Mqtt.NetF</OutputPath>
<DefineConstants>TRACE;SSL</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand Down
23 changes: 23 additions & 0 deletions M2Mqtt/M2Mqtt.netstd.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<ImplicitUsings>disable</ImplicitUsings>
<defineConstants>TRACE;STD21;SSL</defineConstants>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>

<ItemGroup>

</ItemGroup>

<ItemGroup>
<Compile Remove="WinRT\**\*.cs" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<OutputPath>..\bin\Debug\M2Mqtt.NetStd</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<OutputPath>..\bin\Release\M2Mqtt.NetStd</OutputPath>
</PropertyGroup>
</Project>