1- # Sample TinyCLR Project
1+ # Sample Dotnet Core TinyCLR Project
22
33[ ![ Build Status] ( https://img.shields.io/github/workflow/status/microcompiler/tinyclr-github/Build%20CI?style=flat-square )] ( https://github.com/microcompiler/tinyclr-github/actions )
44
@@ -20,51 +20,51 @@ This repo contains a sample Visual Studio project leveraging github actions to b
2020## Required CSPROJ file settings
2121
2222``` xml
23+ <Project Sdk =" Microsoft.NET.Sdk" >
24+ <PropertyGroup >
25+ <TargetFramework >net452</TargetFramework >
26+ <FrameworkPathOverride >$(NugetPackagesPath)\.nuget\packages\ghielectronics.tinyclr.core\1.0.0\</FrameworkPathOverride >
27+ <DisableImplicitFrameworkReferences >true</DisableImplicitFrameworkReferences >
28+ </PropertyGroup >
29+ <ItemGroup >
30+ <PackageReference Include =" GHIElectronics.TinyCLR.Core" Version =" 1.0.0" PrivateAssets =" all" />
31+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" PrivateAssets =" all" />
32+ </ItemGroup >
33+ </Project >
34+ ```
35+
36+ ### Required Directory.Build.props file settings
37+
38+ ``` xml
39+ <Project >
40+ <!-- Nuget Pack Properties -->
2341 <PropertyGroup >
24- <!-- Nuget Pack Properties -->
25- <RuntimeIdentifier >win</RuntimeIdentifier >
2642 <GenerateDocumentationFile >true</GenerateDocumentationFile >
27- <IncludeSymbols >true </IncludeSymbols >
43+ <IncludeSymbols >false </IncludeSymbols >
2844 <SymbolPackageFormat >snupkg</SymbolPackageFormat >
29- <PackageId >$(AssemblyName)</ PackageId >
30- <AssemblyTitle >$(AssemblyName)</ AssemblyTitle >
45+ <AssemblyVersion >1.0.6.0</ AssemblyVersion >
46+ <FileVersion >1.0.6.0</ FileVersion >
3147 <VersionPrefix >1.0.0</VersionPrefix >
3248 <Version Condition =" '$(Version)' == '' and '$(VersionSuffix)' != '' " >$(VersionPrefix)-$(VersionSuffix)</Version >
33- <Version Condition =" '$(Version)' == '' " >$(VersionPrefix)</Version >
49+ <Version Condition =" '$(Version)' == '' " >$(VersionPrefix)</Version >
50+ <GenerateAssemblyInfo >true</GenerateAssemblyInfo >
51+ <AssemblyVersion >$(VersionPrefix).0</AssemblyVersion >
52+ <FileVersion >$(VersionPrefix).0</FileVersion >
3453 <Authors >Microcompiler</Authors >
35- <Company >$(AssemblyCompany)</Company >
36- <Description >Simple TinyCLR Cube Library</Description >
37- <PackageTags >TinyCLR, firmware, iot</PackageTags >
38- <PackageProjectUrl >https://github.com/microcompiler/</PackageProjectUrl >
39- <RepositoryUrl >https://github.com/microcompiler/tinyclr</RepositoryUrl >
54+ <Company >Bytewizer Inc.</Company >
55+ <RepositoryUrl >https://github.com/microcompiler/tinyclr-github</RepositoryUrl >
56+ <PackageId >$(AssemblyName)</PackageId >
57+ <PackageTags >TinyCLR TinyCLROS</PackageTags >
4058 <PackageLicenseFile >LICENSE.md</PackageLicenseFile >
4159 <PackageIcon >logo.png</PackageIcon >
42- <NoWarn >NU5105</NoWarn >
43- <!-- Nuget Pack Properties -->
60+ <NoWarn >NU5105</NoWarn >
4461 </PropertyGroup >
45- <ItemGroup >
46- <PackageReference Include =" GHIElectronics.TinyCLR.Core" Version =" 1.0.0" />
47- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" PrivateAssets =" all" />
48- <PackageReference Include =" NuGet.Build.Tasks.Pack" Version =" 5.5.0-preview.1.6319" >
49- <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
50- <PrivateAssets >all</PrivateAssets >
51- </PackageReference >
52- </ItemGroup >
62+ <!-- Nuget Pack Properties -->
5363 <!-- Embedded files -->
5464 <ItemGroup >
55- <None Include =" ..\..\LICENSE.md" Link =" LICENSE.md" >
56- <Pack >True</Pack >
57- <PackagePath >
58- </PackagePath >
59- </None >
65+ <None Include =" ..\..\LICENSE.md" Pack =" true" PackagePath =" $(PackageLicenseFile)" />
66+ <None Include =" ..\..\images\logo.png" Pack =" true" PackagePath =" \" />
6067 </ItemGroup >
61- <ItemGroup >
62- <None Include =" ..\..\images\logo.png" >
63- <Pack >True</Pack >
64- <PackagePath >
65- </PackagePath >
66- </None >
67- </ItemGroup >
68- <!-- Embedded files -->
69- ```
70-
68+ <!-- Embedded files -->
69+ </Project >
70+ ```
0 commit comments