Skip to content

Commit ec35412

Browse files
committed
basic test app
0 parents  commit ec35412

20 files changed

+895
-0
lines changed

.editorconfig

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Copyright Xeno Innovations, Inc.
2+
# Rev 3b - 2017-07-31
3+
#
4+
# Used by Visual Studio add-in for EditorConfig http://EditorConfig.org
5+
# This file provides formatting rules for the project so you can
6+
# keep your own personal defaults for others
7+
#
8+
# Download:
9+
# VS Add-in https://visualstudiogallery.msdn.microsoft.com/c8bccfe2-650c-4b42-bc5c-845e21f96328
10+
# Properties http://editorconfig.org/#supported-properties
11+
# Source https://github.com/editorconfig/editorconfig-visualstudio
12+
# Project Rules https://kent-boogaart.com/blog/editorconfig-reference-for-c-developers
13+
#
14+
15+
# Top-most EditorConfig file
16+
root = true
17+
18+
# All generic files should use MSDOS style endings, not Unix (lf)
19+
[*]
20+
end_of_line = crlf
21+
22+
# 2-column space/tab indentation
23+
[*.{cs,cpp,h,sql,xaml,xml,json}]
24+
indent_style = space
25+
indent_size = 2
26+
trim_trailing_whitespace = true
27+
28+
# .NET specific configurations
29+
dotnet_sort_system_directives_first = true

.gitignore

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Copyright 2017-2019 Xeno Innovations, Inc
2+
3+
4+
# Visual Studio User-specific files
5+
*.suo
6+
*.user
7+
*.sln.docstates
8+
*.opensdf
9+
*.sdf
10+
*.~vsdx
11+
*.userprefs
12+
*.vbw
13+
*.ipch
14+
*.exe
15+
*.exe.config
16+
# Other extensions
17+
*~
18+
*.swp
19+
*.bak
20+
*.orig
21+
*.lnk
22+
23+
# Build results
24+
[Oo]utput/
25+
[Dd]ebug/
26+
[Dd]ebugPublic/
27+
[Rr]elease/
28+
x64/
29+
build/
30+
bld/
31+
[Bb]in/
32+
[Oo]bj/
33+
.vs/
34+
35+
# Xamarin.Android Resource.Designer.cs files
36+
**/*.Android/**/[Rr]esource.[Dd]esigner.cs
37+
**/*.Droid/**/[Rr]esource.[Dd]esigner.cs
38+
**/Android/**/[Rr]esource.[Dd]esigner.cs
39+
**/Droid/**/[Rr]esource.[Dd]esigner.cs
40+
41+
# All test SQLite datbases
42+
*.db3
43+
44+
# MSBUILD Resource Directory
45+
## Ignore all files & subdirectories
46+
Resource/*
47+
## Except for Build subdirectory & these specific files
48+
!Resource/Build/
49+
!Resource/CustomTargets.proj
50+
!Resource/FirstRun.proj
51+
52+
# NuGet Packages
53+
*.nupkg
54+
## The packages folder can be ignored because of Package Restore
55+
**/packages/*
56+
## Except build/, which is used as an MSBuild target.
57+
!**/packages/build/
58+
## Uncomment if necessary however generally it will be regenerated when needed
59+
!**/packages/repositories.config
60+
## NuGet v3's project.json files produces more ignorable files
61+
*.nuget.props
62+
*.nuget.targets
63+
64+
65+
# Custom ignore crap
66+

Test.RPiConsoleNet/App.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
5+
</startup>
6+
</configuration>

Test.RPiConsoleNet/Program.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
7+
namespace Test.RPiConsoleNet
8+
{
9+
class Program
10+
{
11+
static void Main(string[] args)
12+
{
13+
}
14+
}
15+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using System.Runtime.InteropServices;
4+
5+
// General Information about an assembly is controlled through the following
6+
// set of attributes. Change these attribute values to modify the information
7+
// associated with an assembly.
8+
[assembly: AssemblyTitle("Test.RPiConsoleNet")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("Test.RPiConsoleNet")]
13+
[assembly: AssemblyCopyright("Copyright © 2019")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// Setting ComVisible to false makes the types in this assembly not visible
18+
// to COM components. If you need to access a type in this assembly from
19+
// COM, set the ComVisible attribute to true on that type.
20+
[assembly: ComVisible(false)]
21+
22+
// The following GUID is for the ID of the typelib if this project is exposed to COM
23+
[assembly: Guid("3fc0863b-677d-40dc-9cb7-745abf872d39")]
24+
25+
// Version information for an assembly consists of the following four values:
26+
//
27+
// Major Version
28+
// Minor Version
29+
// Build Number
30+
// Revision
31+
//
32+
// You can specify all the values or you can default the Build and Revision Numbers
33+
// by using the '*' as shown below:
34+
// [assembly: AssemblyVersion("1.0.*")]
35+
[assembly: AssemblyVersion("1.0.0.0")]
36+
[assembly: AssemblyFileVersion("1.0.0.0")]
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{3FC0863B-677D-40DC-9CB7-745ABF872D39}</ProjectGuid>
8+
<OutputType>Exe</OutputType>
9+
<RootNamespace>Test.RPiConsoleNet</RootNamespace>
10+
<AssemblyName>Test.RP.ConsoleNet</AssemblyName>
11+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
12+
<FileAlignment>512</FileAlignment>
13+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
14+
<Deterministic>true</Deterministic>
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17+
<PlatformTarget>AnyCPU</PlatformTarget>
18+
<DebugSymbols>true</DebugSymbols>
19+
<DebugType>full</DebugType>
20+
<Optimize>false</Optimize>
21+
<OutputPath>bin\Debug\</OutputPath>
22+
<DefineConstants>DEBUG;TRACE</DefineConstants>
23+
<ErrorReport>prompt</ErrorReport>
24+
<WarningLevel>4</WarningLevel>
25+
</PropertyGroup>
26+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27+
<PlatformTarget>AnyCPU</PlatformTarget>
28+
<DebugType>pdbonly</DebugType>
29+
<Optimize>true</Optimize>
30+
<OutputPath>bin\Release\</OutputPath>
31+
<DefineConstants>TRACE</DefineConstants>
32+
<ErrorReport>prompt</ErrorReport>
33+
<WarningLevel>4</WarningLevel>
34+
</PropertyGroup>
35+
<ItemGroup>
36+
<Reference Include="System" />
37+
<Reference Include="System.Core" />
38+
<Reference Include="System.Xml.Linq" />
39+
<Reference Include="System.Data.DataSetExtensions" />
40+
<Reference Include="Microsoft.CSharp" />
41+
<Reference Include="System.Data" />
42+
<Reference Include="System.Net.Http" />
43+
<Reference Include="System.Xml" />
44+
</ItemGroup>
45+
<ItemGroup>
46+
<Compile Include="Program.cs" />
47+
<Compile Include="Properties\AssemblyInfo.cs" />
48+
</ItemGroup>
49+
<ItemGroup>
50+
<None Include="App.config" />
51+
</ItemGroup>
52+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
53+
</Project>

Test.RPiWinNet/App.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
5+
</startup>
6+
</configuration>

Test.RPiWinNet/Form1.Designer.cs

Lines changed: 74 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Test.RPiWinNet/Form1.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
using System;
2+
using System.Windows.Forms;
3+
4+
namespace Test.RaspberryPiNet
5+
{
6+
public partial class Form1 : Form
7+
{
8+
public Form1()
9+
{
10+
InitializeComponent();
11+
}
12+
13+
private void button1_Click(object sender, EventArgs e)
14+
{
15+
label1.Text = "Hello There!";
16+
MessageBox.Show("Hello");
17+
}
18+
}
19+
}

0 commit comments

Comments
 (0)