Skip to content

Commit

Permalink
[.NET] Update examples per review comments
Browse files Browse the repository at this point in the history
* Add a solution file
* Update author in template.json
  • Loading branch information
burkenyo authored and speth committed Aug 17, 2022
1 parent 759b732 commit fd29c09
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion interfaces/dotnet/examples/.template.config/template.json
@@ -1,6 +1,6 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Sammo Gabay",
"author": "Cantera Developers",
"classifications": [ "Console" ],
"name": "Cantera Examples",
"identity": "Cantera.Examples.CSharp",
Expand Down
1 change: 1 addition & 0 deletions interfaces/dotnet/examples/Application/Program.cs
Expand Up @@ -14,6 +14,7 @@ Application example
// modify and read the Cantera data directories
var homeDir = Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);
Application.DataDirectories.Add(homeDir);
Application.DataDirectories.AddAssemblyDirectory();

Console.WriteLine("Data Directories:");

Expand Down
28 changes: 28 additions & 0 deletions interfaces/dotnet/examples/Cantera-Examples.sln
@@ -0,0 +1,28 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30114.105
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Application", "Application\Application.csproj", "{69FC0268-1676-49B1-8D52-3507D3357B5E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SoundSpeed", "SoundSpeed\SoundSpeed.csproj", "{B8368B83-B6F6-4094-90B5-891DD60392D8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{69FC0268-1676-49B1-8D52-3507D3357B5E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{69FC0268-1676-49B1-8D52-3507D3357B5E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{69FC0268-1676-49B1-8D52-3507D3357B5E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{69FC0268-1676-49B1-8D52-3507D3357B5E}.Release|Any CPU.Build.0 = Release|Any CPU
{B8368B83-B6F6-4094-90B5-891DD60392D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B8368B83-B6F6-4094-90B5-891DD60392D8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B8368B83-B6F6-4094-90B5-891DD60392D8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B8368B83-B6F6-4094-90B5-891DD60392D8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

0 comments on commit fd29c09

Please sign in to comment.