未验证 提交 982c871d 编写于 作者: G Greg Ingram 提交者: GitHub

Updated sample projects to DefaultSampleTfms. (#1883)

上级 afd800c9
......@@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>$(DefaultSampleTfms)</TargetFramework>
</PropertyGroup>
<ItemGroup>
......
......@@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>$(DefaultSampleTfms)</TargetFramework>
<LangVersion>preview</LangVersion>
</PropertyGroup>
......
......@@ -12,4 +12,4 @@
<ItemGroup>
<ProjectReference Include="../Board.csproj" />
</ItemGroup>
</Project>
\ No newline at end of file
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>$(DefaultSampleTfms)</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Board\Board.csproj" />
......@@ -9,4 +9,4 @@
<ProjectReference Include="..\..\Bno055\Bno055.csproj" />
<ProjectReference Include="..\..\Bmxx80\Bmxx80.csproj" />
</ItemGroup>
</Project>
\ No newline at end of file
</Project>
......@@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>$(DefaultSampleTfms)</TargetFramework>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
</PropertyGroup>
......
......@@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>$(DefaultSampleTfms)</TargetFramework>
<RootNamespace>Iot.Device.Ht1632.Sample</RootNamespace>
</PropertyGroup>
......
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>9</LangVersion>
<LangVersion>10</LangVersion>
<IsPackable>false</IsPackable>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Mcp23xxx.csproj" />
</ItemGroup>
</Project>
\ No newline at end of file
</Project>
......@@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>$(DefaultSampleTfms)</TargetFramework>
<RootNamespace>Nmea.Simulator</RootNamespace>
</PropertyGroup>
......
......@@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>$(DefaultSampleTfms)</TargetFramework>
</PropertyGroup>
<ItemGroup>
......
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>9</LangVersion>
<LangVersion>10</LangVersion>
<IsPackable>false</IsPackable>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Pcx857x.csproj" />
</ItemGroup>
</Project>
\ No newline at end of file
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>$(DefaultSampleTfms)</TargetFramework>
<EnableDefaultItems>false</EnableDefaultItems>
</PropertyGroup>
<ItemGroup>
......@@ -10,4 +10,4 @@
<ItemGroup>
<ProjectReference Include="..\PiJuiceDevice.csproj" />
</ItemGroup>
</Project>
\ No newline at end of file
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>$(DefaultSampleTfms)</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../RotaryEncoder.csproj" />
</ItemGroup>
</Project>
\ No newline at end of file
</Project>
......@@ -8,4 +8,4 @@
<ItemGroup>
<ProjectReference Include="../ServoMotor.csproj" />
</ItemGroup>
</Project>
\ No newline at end of file
</Project>
......@@ -8,4 +8,4 @@
<ItemGroup>
<ProjectReference Include="..\Ssd13xx.csproj" />
</ItemGroup>
</Project>
\ No newline at end of file
</Project>
......@@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>$(DefaultSampleTfms)</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>10.0</LangVersion>
......
......@@ -6,7 +6,7 @@
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>9</LangVersion>
<LangVersion>10</LangVersion>
<IsPackable>false</IsPackable>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
</PropertyGroup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册