1
- <?xml version =" 1.0" encoding =" utf-8" ?>
2
- <Project ToolsVersion =" 16.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
- <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
4
2
<PropertyGroup >
5
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
6
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
7
- <ProjectGuid >{101D57AD-D22F-4905-A992-DE15E723F164}</ProjectGuid >
8
- <OutputType >Library</OutputType >
9
- <AppDesignerFolder >Properties</AppDesignerFolder >
10
- <RootNamespace >nanoFramework.Tools.Debugger</RootNamespace >
11
- <AssemblyName >nanoFramework.Tools.Debugger.Net</AssemblyName >
12
- <TargetFrameworkVersion >v4.7.2</TargetFrameworkVersion >
13
- <FileAlignment >512</FileAlignment >
14
- <AutoGenerateBindingRedirects >true</AutoGenerateBindingRedirects >
15
- <NuGetPackageImportStamp >
16
- </NuGetPackageImportStamp >
17
- <TargetFrameworkProfile />
18
- <RestorePackagesWithLockFile >true</RestorePackagesWithLockFile >
3
+ <OutputType >library</OutputType >
4
+ <TargetFrameworks >net6.0;net472</TargetFrameworks >
5
+ <PlatformTarget >anycpu</PlatformTarget >
6
+ <PackageOutputPath >../</PackageOutputPath >
7
+ <LangVersion >latest</LangVersion >
19
8
<EmbedUntrackedSources >true</EmbedUntrackedSources >
20
9
<PublishRepositoryUrl >true</PublishRepositoryUrl >
21
10
<Deterministic >true</Deterministic >
26
15
<!-- need this here to rebuild the packages.lock.json file in case the hashes fail to validate -->
27
16
<!-- <DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder> -->
28
17
</PropertyGroup >
18
+
29
19
<PropertyGroup >
30
20
<PackageId >nanoFramework.Tools.Debugger.Net</PackageId >
31
21
<Authors >nanoframework</Authors >
32
22
<Product >.NET nanoFramework debug library (.NET)</Product >
33
23
<Copyright >Copyright (c) .NET Foundation and Contributors</Copyright >
34
- <Company >.NET nanoFramework</Company >
35
24
<RepositoryType >git</RepositoryType >
25
+ <PackageIcon >images\nf-logo.png</PackageIcon >
36
26
<RepositoryUrl >https://github.com/nanoframework/nf-debugger</RepositoryUrl >
37
27
<PackageProjectUrl >https://github.com/nanoframework/nf-debugger</PackageProjectUrl >
38
- <PackageIconUrl >
39
- </PackageIconUrl >
40
28
<Description >This .NET library provides a debug client for .NET nanoFramework devices using USB or Serial connection to a board.</Description >
41
- <PackageTags >nanoFramework C# csharp netmf netnf</PackageTags >
29
+ <PackageTags >nanoFramework;C#; csharp; netmf; netnf;nanoframework;iot </PackageTags >
42
30
<PackageLicenseFile >LICENSE.md</PackageLicenseFile >
43
31
<PackageIcon >images\nf-logo.png</PackageIcon >
44
32
<PackageReadmeFile >README.md</PackageReadmeFile >
45
33
</PropertyGroup >
46
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
47
- <DebugSymbols >true</DebugSymbols >
48
- <DebugType >full</DebugType >
49
- <Optimize >false</Optimize >
50
- <OutputPath >bin\Debug\</OutputPath >
51
- <DefineConstants >DEBUG;TRACE</DefineConstants >
52
- <ErrorReport >prompt</ErrorReport >
53
- <WarningLevel >4</WarningLevel >
54
- <PlatformTarget >AnyCPU</PlatformTarget >
55
- <LangVersion >default</LangVersion >
56
- <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
57
- </PropertyGroup >
58
34
<ItemGroup >
59
35
<None Include =" ..\README.md" >
60
36
<Pack >True</Pack >
70
46
</PackagePath >
71
47
</None >
72
48
</ItemGroup >
73
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
74
- <DebugType >portable</DebugType >
75
- <DebugSymbols >true</DebugSymbols >
76
- <Optimize >true</Optimize >
77
- <OutputPath >bin\Release\</OutputPath >
78
- <DefineConstants >TRACE</DefineConstants >
79
- <ErrorReport >prompt</ErrorReport >
80
- <WarningLevel >4</WarningLevel >
81
- <PlatformTarget >AnyCPU</PlatformTarget >
82
- <LangVersion >default</LangVersion >
83
- <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
84
- </PropertyGroup >
85
49
<PropertyGroup >
86
50
<SignAssembly >true</SignAssembly >
87
51
</PropertyGroup >
88
52
<PropertyGroup >
89
53
<AssemblyOriginatorKeyFile >key.snk</AssemblyOriginatorKeyFile >
54
+ <AutoGenerateBindingRedirects >True</AutoGenerateBindingRedirects >
55
+ <GenerateDocumentationFile >True</GenerateDocumentationFile >
56
+ <GeneratePackageOnBuild >True</GeneratePackageOnBuild >
57
+ <AllowUnsafeBlocks >True</AllowUnsafeBlocks >
90
58
</PropertyGroup >
91
- <ItemGroup >
92
- <Reference Include =" PresentationFramework" />
93
- <Reference Include =" Microsoft.CSharp" />
94
- <Reference Include =" System" />
95
- <Reference Include =" System.ComponentModel.DataAnnotations" />
96
- <Reference Include =" System.Runtime" />
97
- <Reference Include =" System.Runtime.Serialization" />
98
- </ItemGroup >
99
- <ItemGroup >
100
- <Compile Include =" BinaryFormatter.cs" />
101
- <Compile Include =" PortDefinitions\PortBase.cs" />
102
- <Compile Include =" Properties\AssemblyInfo.cs" />
103
- </ItemGroup >
104
59
<ItemGroup >
105
60
<None Include =" app.config" />
106
61
<None Include =" key.snk" />
107
- <None Include =" packages.lock.json" />
108
62
</ItemGroup >
109
63
<ItemGroup >
110
64
<PackageReference Include =" Fody" >
111
65
<Version >4.2.1</Version >
112
66
<IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
113
67
<PrivateAssets >all</PrivateAssets >
114
68
</PackageReference >
69
+ <PackageReference Include =" Microsoft.Extensions.Options.DataAnnotations" Version =" 6.0.0" />
115
70
<PackageReference Include =" Microsoft.SourceLink.GitHub" >
116
71
<Version >1.1.1</Version >
117
72
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
130
85
<PackageReference Include =" Polly" >
131
86
<Version >7.2.3</Version >
132
87
</PackageReference >
133
- <PackageReference Include =" Polly.Contrib.WaitAndRetry" >
134
- <Version >1.1.1</Version >
135
- </PackageReference >
136
88
<PackageReference Include =" PropertyChanged.Fody" >
137
89
<Version >2.6.1</Version >
138
90
</PackageReference >
139
91
<PackageReference Include =" System.IO.Ports" >
140
92
<Version >6.0.0</Version >
141
93
</PackageReference >
142
- <PackageReference Include =" System.Threading.Tasks.Extensions" >
143
- <Version >4.5.4</Version >
144
- </PackageReference >
145
- <PackageReference Include =" System.ValueTuple" >
146
- <Version >4.5.0</Version >
147
- </PackageReference >
148
94
</ItemGroup >
149
95
<ItemGroup >
150
96
<Content Include =" FodyWeavers.xml" />
151
97
</ItemGroup >
152
98
<Import Project =" ..\nanoFramework.Tools.DebugLibrary.Shared\nanoFramework.Tools.DebugLibrary.Net.projitems" Label =" Shared" />
153
- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
154
99
</Project >
0 commit comments