Skip to content

Commit

Permalink
C# assemblies info added
Browse files Browse the repository at this point in the history
  • Loading branch information
matkatz committed Aug 19, 2018
1 parent 7ff411a commit 3afd0f3
Show file tree
Hide file tree
Showing 11 changed files with 158 additions and 13 deletions.
3 changes: 2 additions & 1 deletion wrappers/csharp/Intel.RealSense/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ add_library(${PROJECT_NAME}
Types.cs
SoftwareDevice.cs
.nuget/Intel.RealSense.targets

Properties/AssemblyInfo.cs
)

csharp_set_designer_cs_properties(
.nuget/Intel.RealSense.targets
Properties/AssemblyInfo.cs
)

if(BUILD_UNITY_BINDINGS)
Expand Down
19 changes: 8 additions & 11 deletions wrappers/csharp/Intel.RealSense/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Intel.RealSense")]
[assembly: AssemblyDescription(".NET Wrapper for Intel RealSense SDK 2.0")]
[assembly: AssemblyTitle("Intel(R) RealSense(TM) SDK C# Wrapper")]
[assembly: AssemblyDescription("Intel(R) RealSense(TM) SDK C# Wrapper")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Intel")]
[assembly: AssemblyProduct("Intel.RealSense")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCompany("Intel(R) Corporation")]
[assembly: AssemblyProduct("Intel(R) RealSense(TM) SDK C# Wrapper")]
[assembly: AssemblyCopyright("Copyright © 2017, Intel Corporation. All rights reserved")]
[assembly: AssemblyTrademark("Intel(R) RealSense(TM)")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
Expand All @@ -20,7 +20,7 @@
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("e488694f-f2fa-45ad-b1b8-8d4fabe34e86")]
[assembly: Guid("71c85ee0-c7c2-4e2e-8020-6af818537a14")]

// Version information for an assembly consists of the following four values:
//
Expand All @@ -29,8 +29,5 @@
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
5 changes: 4 additions & 1 deletion wrappers/csharp/cs-tutorial-1-depth/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ cmake_minimum_required( VERSION 3.8.0 )

project(cs-tutorial-1-depth)

add_executable(${PROJECT_NAME} Program.cs)
add_executable(${PROJECT_NAME}
Program.cs
Properties/AssemblyInfo.cs
)

set_property(TARGET ${PROJECT_NAME} PROPERTY VS_DOTNET_TARGET_FRAMEWORK_VERSION "v${DOTNET_VERSION_EXAMPLES}")
# set_property(TARGET ${PROJECT_NAME} PROPERTY WIN32_EXECUTABLE TRUE)
Expand Down
33 changes: 33 additions & 0 deletions wrappers/csharp/cs-tutorial-1-depth/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Intel(R) RealSense(TM) SDK C# Wrapper Tutorial-1 Example")]
[assembly: AssemblyDescription("Intel(R) RealSense(TM) C# Wrapper Examples")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Intel(R) Corporation")]
[assembly: AssemblyProduct("Intel(R) RealSense(TM) SDK C# Wrapper")]
[assembly: AssemblyCopyright("Copyright © 2017, Intel Corporation. All rights reserved")]
[assembly: AssemblyTrademark("Intel(R) RealSense(TM)")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("71c85ee0-c7c2-4e2e-8020-6af818537a14")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
2 changes: 2 additions & 0 deletions wrappers/csharp/cs-tutorial-2-capture/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ add_executable(${PROJECT_NAME}
Program.cs
Window.xaml
Window.xaml.cs

Properties/AssemblyInfo.cs
)

set_property(TARGET ${PROJECT_NAME} PROPERTY VS_DOTNET_TARGET_FRAMEWORK_VERSION "v${DOTNET_VERSION_EXAMPLES}")
Expand Down
33 changes: 33 additions & 0 deletions wrappers/csharp/cs-tutorial-2-capture/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Intel(R) RealSense(TM) SDK C# Wrapper Tutorial-2 Example")]
[assembly: AssemblyDescription("Intel(R) RealSense(TM) C# Wrapper Examples")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Intel(R) Corporation")]
[assembly: AssemblyProduct("Intel(R) RealSense(TM) SDK C# Wrapper")]
[assembly: AssemblyCopyright("Copyright © 2017, Intel Corporation. All rights reserved")]
[assembly: AssemblyTrademark("Intel(R) RealSense(TM)")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("71c85ee0-c7c2-4e2e-8020-6af818537a14")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
2 changes: 2 additions & 0 deletions wrappers/csharp/cs-tutorial-3-processing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ add_executable(${PROJECT_NAME}
Program.cs
Window.xaml
Window.xaml.cs

Properties/AssemblyInfo.cs
)

set_property(TARGET ${PROJECT_NAME} PROPERTY VS_DOTNET_TARGET_FRAMEWORK_VERSION "v${DOTNET_VERSION_EXAMPLES}")
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Intel(R) RealSense(TM) SDK C# Wrapper Tutorial-3 Example")]
[assembly: AssemblyDescription("Intel(R) RealSense(TM) C# Wrapper Examples")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Intel(R) Corporation")]
[assembly: AssemblyProduct("Intel(R) RealSense(TM) SDK C# Wrapper")]
[assembly: AssemblyCopyright("Copyright © 2017, Intel Corporation. All rights reserved")]
[assembly: AssemblyTrademark("Intel(R) RealSense(TM)")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("71c85ee0-c7c2-4e2e-8020-6af818537a14")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
2 changes: 2 additions & 0 deletions wrappers/csharp/cs-tutorial-4-software-dev/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ add_executable(${PROJECT_NAME}
Program.cs
Window.xaml
Window.xaml.cs

Properties/AssemblyInfo.cs
)

set_property(TARGET ${PROJECT_NAME} PROPERTY VS_DOTNET_TARGET_FRAMEWORK_VERSION "v${DOTNET_VERSION_EXAMPLES}")
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Intel(R) RealSense(TM) SDK C# Wrapper Tutorial-4 Example")]
[assembly: AssemblyDescription("Intel(R) RealSense(TM) C# Wrapper Examples")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Intel(R) Corporation")]
[assembly: AssemblyProduct("Intel(R) RealSense(TM) SDK C# Wrapper")]
[assembly: AssemblyCopyright("Copyright © 2017, Intel Corporation. All rights reserved")]
[assembly: AssemblyTrademark("Intel(R) RealSense(TM)")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("71c85ee0-c7c2-4e2e-8020-6af818537a14")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
6 changes: 6 additions & 0 deletions wrappers/unity/ProjectSettings/PresetManager.asset
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1386491679 &1
PresetManager:
m_ObjectHideFlags: 0
m_DefaultList: []

0 comments on commit 3afd0f3

Please sign in to comment.