Initial commit

This commit is contained in:
josephroy99 2023-06-06 23:56:56 +01:00
commit 70f3e458d4
103 changed files with 1977 additions and 0 deletions

View File

@ -0,0 +1,13 @@
# Default ignored files
/shelf/
/workspace.xml
# Rider ignored files
/.idea.LensSimulator.iml
/contentModel.xml
/projectSettingsUpdater.xml
/modules.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

View File

@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\LensSimulatorCore\LensSimulatorCore.csproj" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,46 @@
// See https://aka.ms/new-console-template for more information
using System.Diagnostics;
using LensSimulatorCore;
using LensSimulatorCore.Optical;
using LensSimulatorCore.Shapes;
using LensSimulatorCore.Workspace;
var ellipse = new Ellipse(0.2,3,4,new Point(1,3));
var result = ellipse.GetIntersectionPoints(new Line(-2, 3));
var ListOfPointsOnCircle = (double n) =>
{
List<Point> points = new List<Point>();
for (int i = 0; i < n; i++)
{
var radians = Math.PI * 2 / n * i;
var x = Math.Cos(radians);
var y = Math.Sin(radians);
points.Add(new Point(x, y));
}
return points;
};
var test = ListOfPointsOnCircle(8);
var sellmeier = new SellmeierCoefficients(1.03961212, 0.00600069867, 0.231792344, 0.0200179144, 0, 103);
var material = new Material(sellmeier);
var s = new Stopwatch(); s.Start();
var reflectivity = material.Reflectivity(45, 1.00027717, 450);
var transmissivity = material.Transmissivity(45, 1.00027717, 450);
s.Stop();
var time = s.ElapsedMilliseconds;
Console.Write("F");

View File

@ -0,0 +1,36 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v7.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v7.0": {
"ImplementationTest/1.0.0": {
"dependencies": {
"LensSimulatorCore": "1.0.0"
},
"runtime": {
"ImplementationTest.dll": {}
}
},
"LensSimulatorCore/1.0.0": {
"runtime": {
"LensSimulatorCore.dll": {}
}
}
}
},
"libraries": {
"ImplementationTest/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"LensSimulatorCore/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

View File

@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "net7.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "7.0.0"
}
}
}

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]

View File

@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("ImplementationTest")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("ImplementationTest")]
[assembly: System.Reflection.AssemblyTitleAttribute("ImplementationTest")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@ -0,0 +1 @@
8975356774c8b6d47099d5dcc7ee8414b0c2c371

View File

@ -0,0 +1,11 @@
is_global = true
build_property.TargetFramework = net7.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = ImplementationTest
build_property.ProjectDir = C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\

View File

@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

View File

@ -0,0 +1 @@
ae7ec3cd86a909b8f9ba49744000515440fee29c

View File

@ -0,0 +1,18 @@
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\bin\Debug\net7.0\ImplementationTest.exe
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\bin\Debug\net7.0\ImplementationTest.deps.json
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\bin\Debug\net7.0\ImplementationTest.runtimeconfig.json
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\bin\Debug\net7.0\ImplementationTest.dll
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\bin\Debug\net7.0\ImplementationTest.pdb
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\bin\Debug\net7.0\LensSimulatorCore.dll
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\bin\Debug\net7.0\LensSimulatorCore.pdb
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.csproj.AssemblyReference.cache
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.AssemblyInfoInputs.cache
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.AssemblyInfo.cs
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.csproj.CoreCompileInputs.cache
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.csproj.CopyComplete
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.dll
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\refint\ImplementationTest.dll
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.pdb
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.genruntimeconfig.cache
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ref\ImplementationTest.dll

View File

@ -0,0 +1 @@
c7d32dde6215c49d7a6f303cb22ed4bd115060e1

Binary file not shown.

View File

@ -0,0 +1,132 @@
{
"format": 1,
"restore": {
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj": {}
},
"projects": {
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj",
"projectName": "ImplementationTest",
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj",
"packagesPath": "C:\\Users\\tango\\.nuget\\packages\\",
"outputPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\tango\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj": {
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"
}
}
},
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj",
"projectName": "LensSimulatorCore",
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj",
"packagesPath": "C:\\Users\\tango\\.nuget\\packages\\",
"outputPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\tango\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\tango\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.5.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\tango\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@ -0,0 +1,97 @@
{
"version": 3,
"targets": {
"net7.0": {
"LensSimulatorCore/1.0.0": {
"type": "project",
"framework": ".NETCoreApp,Version=v7.0",
"compile": {
"bin/placeholder/LensSimulatorCore.dll": {}
},
"runtime": {
"bin/placeholder/LensSimulatorCore.dll": {}
}
}
}
},
"libraries": {
"LensSimulatorCore/1.0.0": {
"type": "project",
"path": "../LensSimulatorCore/LensSimulatorCore.csproj",
"msbuildProject": "../LensSimulatorCore/LensSimulatorCore.csproj"
}
},
"projectFileDependencyGroups": {
"net7.0": [
"LensSimulatorCore >= 1.0.0"
]
},
"packageFolders": {
"C:\\Users\\tango\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj",
"projectName": "ImplementationTest",
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj",
"packagesPath": "C:\\Users\\tango\\.nuget\\packages\\",
"outputPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\tango\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj": {
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"
}
}
}
}

View File

@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "zzfWPpLxovBUeUaIeRuHv1gdRHaxAE9iflB77E2K2wNSPVTM2JgQIGd4I5550BR8+2tEI2pOQ7mS0QVnFHrFjw==",
"success": true,
"projectFilePath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj",
"expectedPackageFiles": [],
"logs": []
}

View File

@ -0,0 +1 @@
"restore":{"projectUniqueName":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj","projectName":"ImplementationTest","projectPath":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj","outputPath":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\obj\\","projectStyle":"PackageReference","fallbackFolders":["C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"],"originalTargetFrameworks":["net7.0"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"C:\\Program Files\\dotnet\\library-packs":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net7.0":{"targetAlias":"net7.0","projectReferences":{"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj":{"projectPath":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj"}}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"net7.0":{"targetAlias":"net7.0","imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"}}

View File

@ -0,0 +1 @@
16859980894694798

28
LensSimulator.sln Normal file
View File

@ -0,0 +1,28 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LensSimulatorCore", "LensSimulatorCore\LensSimulatorCore.csproj", "{D40A259B-E5C3-4735-8363-F59539DF4146}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImplementationTest", "ImplementationTest\ImplementationTest.csproj", "{CA24EDE5-4FDA-482A-A2D4-6670CB420124}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LensSimulatorWindows", "LensSimulatorWindows\LensSimulatorWindows.csproj", "{ACDB5AA7-0C3D-4923-9843-E850C3807041}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D40A259B-E5C3-4735-8363-F59539DF4146}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D40A259B-E5C3-4735-8363-F59539DF4146}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D40A259B-E5C3-4735-8363-F59539DF4146}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D40A259B-E5C3-4735-8363-F59539DF4146}.Release|Any CPU.Build.0 = Release|Any CPU
{CA24EDE5-4FDA-482A-A2D4-6670CB420124}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CA24EDE5-4FDA-482A-A2D4-6670CB420124}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CA24EDE5-4FDA-482A-A2D4-6670CB420124}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CA24EDE5-4FDA-482A-A2D4-6670CB420124}.Release|Any CPU.Build.0 = Release|Any CPU
{ACDB5AA7-0C3D-4923-9843-E850C3807041}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ACDB5AA7-0C3D-4923-9843-E850C3807041}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ACDB5AA7-0C3D-4923-9843-E850C3807041}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ACDB5AA7-0C3D-4923-9843-E850C3807041}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,3 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeInspection/PencilsConfiguration/ActualSeverity/@EntryValue">INFO</s:String>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Sellmeier/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>

View File

@ -0,0 +1,15 @@
using LensSimulatorCore.Shapes;
namespace LensSimulatorCore;
public class RayCastHitInfo
{
public RayCastHitInfo(Point? hitPosition, double angleOfIncidence)
{
HitPosition = hitPosition;
AngleOfIncidence = angleOfIncidence;
}
public Point? HitPosition { get; }
public double AngleOfIncidence { get; }
}

View File

@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,6 @@
namespace LensSimulatorCore;
public class LightPathProperties
{
public double WaveLength { get; set; }
}

View File

@ -0,0 +1,23 @@
using LensSimulatorCore.Shapes;
namespace LensSimulatorCore;
public class LightPathSection
{
public LightPathSection(PointVector initialPointVector, LightPathProperties properties)
{
_properties = properties;
_initialPointVector = initialPointVector;
}
private readonly LightPathProperties _properties;
private readonly PointVector _initialPointVector;
public Point Begin => _initialPointVector.Point;
public Point? End => GetRayCastHitInfo().HitPosition;
private RayCastHitInfo GetRayCastHitInfo()
{
return true ? new RayCastHitInfo(new (4,5), 3) : null;
}
}

View File

@ -0,0 +1,53 @@
namespace LensSimulatorCore.MathsLib;
public static class CoreMaths
{
public static double CalculateLCM(double num1, double num2)
{
// Find the greater and lesser numbers
double greaterNum = Math.Max(num1, num2);
double lesserNum = Math.Min(num1, num2);
// Calculate LCM using the formula: LCM = (num1 * num2) / GCD(num1, num2)
double lcm = (greaterNum * lesserNum) / CalculateGCD(greaterNum, lesserNum);
// Return the LCM
return lcm;
}
public static double CalculateGCD(double num1, double num2)
{
// Euclidean algorithm to calculate GCD
while (num2 != 0)
{
double temp = num2;
num2 = num1 % num2;
num1 = temp;
}
// Return the GCD
return num1;
}
public static List<double?> SolveQuadratic(double a, double b, double c)
{
var solutions = new List<double?>();
double discriminant = b * b - 4 * a * c;
if (discriminant < 0)
{
// If the discriminant is less than zero, then there are no real solutions
return solutions;
}
else
{
// Calculate both solutions
double sqrtDiscriminant = Math.Sqrt(discriminant);
double solution1 = (-b + sqrtDiscriminant) / (2 * a);
double solution2 = (-b - sqrtDiscriminant) / (2 * a);
solutions.Add(solution1);
solutions.Add(solution2);
return solutions;
}
}
}

View File

@ -0,0 +1,66 @@
using LensSimulatorCore.Shapes;
namespace LensSimulatorCore.Optical;
/// <summary>
/// An Element contains two surfaces and material coefficients.
/// </summary>
public class Element
{
//This section is for display and rendering
public List<Point> Polygon { get; set; }
//This section is for calculation
private Material _material;
private readonly Surface[] _surfaces = new Surface[2];
public Surface[] Surfaces => _surfaces;
public Point Position { get; set; }
public bool IsValid => !(Polygon[(Polygon.Count / 2) - 1].X > Polygon[(Polygon.Count / 2)].X);
public double Depth { get; }
public double Diameter { get; }
public Element(Material material)
{
}
/// <summary>
///
/// </summary>
/// <param name="position">Element Position</param>
/// <param name="depth">Total Element depth at the centre.</param>
/// <param name="diameter">Diameter of the lens</param>
/// <param name="frontSurface"></param>
/// <param name="rearSurface"></param>
/// <param name="material"></param>
public Element(Point position, double depth, double diameter, Surface frontSurface, Surface rearSurface, Material material)
{
Polygon = new List<Point>();
Surfaces[0] = frontSurface;
Surfaces[0].Parent = this;
Surfaces[0].IsFront = true;
Surfaces[1] = rearSurface;
Surfaces[1].Parent = this;
Surfaces[1].IsFront = false;
Depth = depth;
Diameter = diameter;
_material = material;
Position = position;
foreach (var surface in Surfaces)
{
surface.UpdateSurfacePositions();
surface.GeneratePolyLine();
Polygon.AddRange(surface.PolyLine);
}
}
}

View File

@ -0,0 +1,44 @@
using LensSimulatorCore.Shapes;
namespace LensSimulatorCore.Optical;
class FlatRefractive : SphericalSurface
{
public FlatRefractive(Element parent) : base(parent)
{
}
public override void Calculate(Point hitPosition, Ray ray, SellmeierCoefficients s)
{
double n1, n2;
switch (IsFront)
{
case true:
n1 = s.AirRefractiveIndex(ray.Wavelength);
n2 = s.CalculateRefractiveIndex(ray.Wavelength);
break;
case false:
n1 = s.CalculateRefractiveIndex(ray.Wavelength);
n2 = s.AirRefractiveIndex(ray.Wavelength);
break;
default:
n1 = 0;
n2 = 0;
break;
}
//need to convert vector to angle correctly
var count = ray.PointVectors.Count - 1;
var lineAngle = -Math.Atan2(ray.PointVectors[count].Vector.Y, ray.PointVectors[count].Vector.X);
const double normalAngle = 0; //Math.Asin(hitPosition.Y / (QuadraticSign * face.Radius));
var angleOfIncidence = normalAngle + lineAngle;
var angleOfRefractionFromCentreline = Math.Asin((n1 * Math.Sin(angleOfIncidence)) / n2);
var b = Math.Tan(angleOfRefractionFromCentreline);
var c = hitPosition.Y - (hitPosition.X * b);
ray.PointVectors.Add(new PointVector(new Point(hitPosition.X, hitPosition.Y), Point.AngleToVector(angleOfRefractionFromCentreline)));
ray.Lines.Add(new Line(b, c));
}
}

View File

@ -0,0 +1,65 @@
using LensSimulatorCore.Shapes;
using static System.Double;
namespace LensSimulatorCore.Optical;
/// <summary>
/// Contains the function to find intersection of two Lines.
/// </summary>
class FlatSurface : Surface
{
public override void UpdateSurfacePositions()
{
SideSign = IsFront ? -1 : 1;
_face = new Line(0, SideSign * Parent.Depth / 2);
}
//This line is defined as x = by+c. It will need converting to y = bx+c.
private Line _face;
/// <summary>
/// This function takes a PointVector and checks if there a collision between itself and a Line.
/// </summary>
/// <param name="pointVector">A PointVector where (1,0) is 0 rad.</param>
/// <returns></returns>
public override Point FindIntersection(PointVector pointVector)
{
//Converts point vector to a line.
Line line = pointVector.ToLine();
//This is where the conversion takes place to make it y = bx + c.
Line surfaceLine = new Line(1 / _face.B, (1 / _face.B) * _face.C);
double x, y, t, u;
//If C is infinity it means the line is vertical and can be solved by inserting x into the equation.
if (IsInfinity(surfaceLine.C))
{
y = (line.B * _face.C) + line.C;
x = _face.C;
}
else //If not it means it is angled and therefore needs solving by substitution.
{
t = line.B + surfaceLine.B;
u = line.C + surfaceLine.C;
x = t / u;
y = (line.B * x) + line.C;
}
return new Point(x, y);
}
/// <summary>
/// Generates a PolyLine, which can be merged with another to make a full element shape.
/// </summary>
public override void GeneratePolyLine()
{
PolyLine.Add(new Point(-SideSign * Parent.Depth / 2, SideSign * -Parent.Diameter / 2));
PolyLine.Add(new Point(-SideSign * Parent.Depth / 2, SideSign * Parent.Diameter / 2));
}
protected FlatSurface(Element parent) : base(parent)
{
}
}

View File

@ -0,0 +1,68 @@
namespace LensSimulatorCore.Optical;
public class Material
{
public SellmeierCoefficients Sellmeier { get; set; }
public double RefractiveIndex(double wavelength)
{
return Sellmeier.CalculateRefractiveIndex(wavelength);
}
private readonly Func<double, double, double, double> _reflectivity;
private readonly Func<double, double, double, double> _transmissivity;
public Material(SellmeierCoefficients sellmeierCoefficients)
{
Sellmeier = sellmeierCoefficients;
_reflectivity = ComputeReflectivity;
_transmissivity = (angle, n1, wavelength) => 1.0 - Reflectivity(angle, n1, wavelength);
}
private double ComputeReflectivity(double angleDegrees, double n1, double wavelength)
{
// Convert angle to radians
var angleRadians = angleDegrees * Math.PI / 180.0;
// Check for total internal reflection
var criticalAngle = Math.Asin(RefractiveIndex(wavelength) / n1);
if (angleRadians > criticalAngle)
{
return 1.0;
}
var rs = ComputeFresnelCoefficient(angleRadians, n1, wavelength, isSPolarized: true);
var rp = ComputeFresnelCoefficient(angleRadians, n1, wavelength, isSPolarized: false);
return (rs + rp) / 2.0;
}
private double ComputeFresnelCoefficient(double angle, double n1, double wavelength, bool isSPolarized)
{
double numerator;
double denominator;
if (isSPolarized)
{
numerator = n1 * Math.Cos(angle) - RefractiveIndex(wavelength) * Math.Sqrt(1 - Math.Pow((n1 / RefractiveIndex(wavelength) * Math.Sin(angle)), 2));
denominator = n1 * Math.Cos(angle) + RefractiveIndex(wavelength) * Math.Sqrt(1 - Math.Pow((n1 / RefractiveIndex(wavelength) * Math.Sin(angle)), 2));
}
else
{
numerator = n1 * Math.Sqrt(1 - Math.Pow((n1 / RefractiveIndex(wavelength) * Math.Sin(angle)), 2)) - RefractiveIndex(wavelength) * Math.Cos(angle);
denominator = n1 * Math.Sqrt(1 - Math.Pow((n1 / RefractiveIndex(wavelength) * Math.Sin(angle)), 2)) + RefractiveIndex(wavelength) * Math.Cos(angle);
}
return Math.Pow(numerator / denominator, 2);
}
// ReSharper disable once MemberCanBePrivate.Global
public double Reflectivity(double angle, double n1, double wavelength)
{
return _reflectivity(angle, n1, wavelength);
}
public double Transmissivity(double angle, double n1, double wavelength)
{
return _transmissivity(angle, n1, wavelength);
}
}

View File

@ -0,0 +1,16 @@
using LensSimulatorCore.Shapes;
namespace LensSimulatorCore.Optical
{
public struct ElementHit
{
public Point hitPosition;
public Surface hitSurface;
ElementHit(Point position, Surface surface)
{
hitPosition = position;
hitSurface = surface;
}
}
}

View File

@ -0,0 +1,46 @@
using LensSimulatorCore.Shapes;
namespace LensSimulatorCore.Optical;
/// <summary>
/// A Ray contains a Wavelength, a list of hit points and a list of lines.
/// </summary>
public struct Ray
{
/// <summary>
///
/// </summary>
/// <param name="wavelength">Wavelength in µm</param>
/// <param name="angle">Angle in Radians</param>
/// <param name="startPosition"></param>
public Ray(double wavelength, double angle, Point startPosition)
{
Wavelength = wavelength;
Lines = new List<Line>();
PointVectors = new List<PointVector>();
Lines.Add(new Line(Math.Tan(-angle), startPosition.Y - (startPosition.X * Math.Tan(-angle))));
PointVectors.Add(new PointVector(startPosition, new Point(Math.Cos(-angle),Math.Sin(-angle))));
}
public double Wavelength { get; }
public List<Line> Lines { get; }
public List<PointVector> PointVectors { get; set; }
public ElementHit Cast(List<Element> elements)
{
List<Surface> allSurfaces = elements[0].Surfaces.ToList();
Point hitPosition;
ElementHit hit = new ElementHit();
foreach (Element element in elements)
{
}
return hit;
}
}

View File

@ -0,0 +1,35 @@
namespace LensSimulatorCore.Optical;
public struct SellmeierCoefficients
{
double _B1, _B2, _B3, _C1, _C2, _C3;
public SellmeierCoefficients(double B1, double C1, double B2, double C2, double B3, double C3)
{
_B1 = B1;
_B2 = B2;
_B3 = B3;
_C1 = C1;
_C2 = C2;
_C3 = C3;
}
public double CalculateRefractiveIndex(double Wavelength)
{
double wavelenths2 = Math.Pow(Wavelength, 2);
double A1 = _C1 != 0 ? _B1 / (1 - _C1 / wavelenths2) : 0;
double A2 = _C2 != 0 ? _B2 / (1 - _C2 / wavelenths2) : 0;
double A3 = _C3 != 0 ? _B3 / (1 - _C3 / wavelenths2) : 0;
return Math.Sqrt(1 + A1 + A2 + A3);
}
public double AirRefractiveIndex(double Wavelength)
{
double wavelenths2 = Math.Pow(Wavelength, 2);
double A1 = 238.0185 != 0 ? 0.05792105 / (1 - 238.0185 / wavelenths2) : 0;
double A2 = 57.362 != 0 ? 0.00167917 / (1 - 57.362 / wavelenths2) : 0;
return Math.Sqrt(1 + A1 + A2);
}
}

View File

@ -0,0 +1,46 @@
using LensSimulatorCore.Shapes;
namespace LensSimulatorCore.Optical;
class SphericalRefractive : SphericalSurface
{
public SphericalRefractive(double radius, Element parent) : base(parent)
{
face.Radius = radius;
}
public override void Calculate(Point hitPosition, Ray ray, SellmeierCoefficients s)
{
double n1, n2;
switch (IsFront)
{
case true:
n1 = s.AirRefractiveIndex(ray.Wavelength);
n2 = s.CalculateRefractiveIndex(ray.Wavelength);
break;
case false:
n1 = s.CalculateRefractiveIndex(ray.Wavelength);
n2 = s.AirRefractiveIndex(ray.Wavelength);
break;
default:
n1 = 0;
n2 = 0;
break;
}
//need to convert vector to angle correctly
var count = ray.PointVectors.Count - 1;
var lineAngle = -Math.Atan2(ray.PointVectors[count].Vector.Y, ray.PointVectors[count].Vector.X);
var normalAngle = Math.Asin(hitPosition.Y / (QuadraticSign * face.Radius));
var angleOfIncidence = normalAngle + lineAngle;
var angleOfRefraction = Math.Asin((n1 * Math.Sin(angleOfIncidence)) / n2);
var angleOfRefractionFromCentreline = angleOfRefraction - normalAngle;
double b, c;
b = Math.Tan(angleOfRefractionFromCentreline);
c = hitPosition.Y - (hitPosition.X * b);
ray.PointVectors.Add(new PointVector(new Point(hitPosition.X, hitPosition.Y), Point.AngleToVector(angleOfRefractionFromCentreline)));
ray.Lines.Add(new Line(b, c));
}
}

View File

@ -0,0 +1,64 @@
using LensSimulatorCore.Shapes;
namespace LensSimulatorCore.Optical;
internal abstract class SphericalSurface : Surface
{
protected Circle face;
public override void UpdateSurfacePositions()
{
SideSign = IsFront ? -1 : 1;
QuadraticSign = IsFront ? -1 * Math.Sign(face.Radius) : 1 * Math.Sign(face.Radius);
face.Position = new Point((IsFront ? 1 : -1) * (face.Radius - (Parent.Depth / 2)), 0);
}
public override Point FindIntersection(PointVector pointVector)
{
//Convert point vector to a line.
var line = pointVector.ToLine();
var xs2 = (face.Position.X * -2);
var ys2 = (face.Position.Y * -2);
double a, b, c;
//Creates a quadratic formula via substitution of a Line and a Circle equation.
a = 1 + (Math.Pow(line.B, 2));
b = xs2 + (ys2 * line.B) + (line.B * line.C * 2);
c = Math.Pow(line.C, 2) + (line.C * ys2) + Math.Pow(face.Position.X * -1, 2) + Math.Pow(face.Position.Y * -1, 2) - Math.Pow(face.Radius, 2);
var x = (-b + QuadraticSign * Math.Sqrt(Math.Pow(b, 2) - 4 * a * c)) / (2 * a);
var y = (x * line.B) + line.C;
return new Point(x, y);
}
/// <summary>
/// Generates a PolyLine, which can be merged with another to make a full element shape.
/// </summary>
public override void GeneratePolyLine()
{
const int resolution = 80;
var arcTotalSweep = Math.Asin((Parent.Diameter / 2) / face.Radius) * 2;
var arcResolutionSweep = arcTotalSweep / (resolution - 1);
var arcCentre = new Point(face.Position.X, face.Position.Y);
for (var i = 0; i < resolution; i++)
{
var currentAngle = (SideSign * arcTotalSweep / 2) + -SideSign * (arcResolutionSweep * i);
var x = Math.Cos(currentAngle) * SideSign * face.Radius + arcCentre.X;
var y = Math.Sin(currentAngle) * face.Radius;
PolyLine.Add(new Point(x, y));
}
}
protected SphericalSurface(Element parent) : base(parent)
{
}
}

View File

@ -0,0 +1,48 @@
using LensSimulatorCore.Shapes;
namespace LensSimulatorCore.Optical;
public abstract class Surface
{
protected Surface(Element parent)
{
Parent = parent;
}
public bool IsFront { get; set; }
protected int SideSign { get; set; }
//This is the sign for front or rear. 1 if it is the front, -1 if it is the rear.
protected double QuadraticSign;
/// <summary>
/// Parent Element of the Surface.
/// </summary>
public Element Parent { get; set; }
/// <summary>
/// All points go clockwise from the element centre.
/// </summary>
public List<Point> PolyLine { get; } = new();
/// <summary>
/// This function calculates the lines and points through a reflective element and applies this to the Ray given the glass properties.
/// </summary>
/// <param name="sign">This defines if it is the front or rear surface, -1 if it is the front, 1 if it is the rear.</param>
/// <param name="ray">The Ray that will contain the results</param>
public virtual void Calculate(int sign, Ray ray) { }
/// <summary>
/// This function calculates the lines and points through a refractive element and applies this to the Ray given the glass properties.
/// </summary>
/// <param name="hitPosition"></param>
/// <param name="ray">This is the Ray that will contain the results</param>
/// <param name="sellmeierCoefficients">Sellmeier Coefficients</param>
public virtual void Calculate(Point hitPosition, Ray ray, SellmeierCoefficients sellmeierCoefficients) { }
//Functions
public abstract Point FindIntersection(PointVector pointVector);
public abstract void UpdateSurfacePositions();
public abstract void GeneratePolyLine();
}

View File

@ -0,0 +1,13 @@
namespace LensSimulatorCore.Shapes;
public class Circle : Ellipse
{
public Circle(double radius, Point position) : base(0, radius, radius, position)
{
Radius = radius;
Position = position;
}
public double Radius { get; set; }
public Point Position { get; set; }
}

View File

@ -0,0 +1,57 @@
using LensSimulatorCore.MathsLib;
using LensSimulatorCore.Shapes;
namespace LensSimulatorCore.Shapes;
public class Ellipse
{
public Ellipse(double angle, double semiMajorAxis, double semiMinorAxis, Point position)
{
_radianAngle = angle;//* (180 / Math.PI);
_semiMajorAxis = semiMajorAxis;
_semiMinorAxis = semiMinorAxis;
_position = position;
}
private readonly double _semiMajorAxis;
private readonly double _semiMinorAxis;
private readonly Point _position;
private readonly double _radianAngle = 0;
public List<Point> GetIntersectionPoints(Line line)
{
var cosTheta = Math.Cos(_radianAngle);
var sinTheta = Math.Sin(_radianAngle);
var majorSquared = _semiMajorAxis * _semiMajorAxis;
var minorSquared = _semiMinorAxis * _semiMinorAxis;
var LCM = CoreMaths.CalculateLCM(majorSquared, minorSquared);
var intersectionMinusXpos = line.C - _position.X;
var intersectionMinusXposCosTheta = (intersectionMinusXpos * cosTheta);
var intersectionMinusXposSinTheta = (intersectionMinusXpos * sinTheta);
var ySinTheta = _position.Y * sinTheta;
var yCosTheta = _position.Y * cosTheta;
var slopeCosTheta = line.B * cosTheta;
var slopeSinTheta = line.B * sinTheta;
var a1 = minorSquared * Math.Pow(slopeCosTheta - sinTheta, 2);
var b1 = minorSquared * (slopeCosTheta - sinTheta) * (intersectionMinusXposCosTheta + ySinTheta) * 2;
var c1 = minorSquared * Math.Pow(intersectionMinusXposCosTheta + ySinTheta, 2);
var a2 = majorSquared * Math.Pow(slopeSinTheta + cosTheta, 2);
var b2 = majorSquared * (slopeSinTheta + cosTheta) * (intersectionMinusXposSinTheta - yCosTheta) * 2;
var c2 = majorSquared * Math.Pow(intersectionMinusXposSinTheta - yCosTheta, 2);
var a = a1 + a2;
var b = b1 + b2;
var c = c1 + c2 - LCM;
var y = CoreMaths.SolveQuadratic(a, b, c);
return y.Select(y => new Point(line.B * y!.Value + line.C, y.Value)).ToList();
}
}

View File

@ -0,0 +1,74 @@
namespace LensSimulatorCore.Shapes;
public struct Line
{
public double B { get; set; }
public double C { get; set; }
public Line(double b, double c)
{
B = b;
C = c;
}
}
public class Point
{
public Point(double x, double y)
{
X = x;
Y = y;
}
public double X { get; set; }
public double Y { get; set; }
/// <summary>
/// Converts an angle in Radians to a Vector.
/// </summary>
/// <param name="angle"></param>
/// <returns></returns>
public static Point AngleToVector(double angle)
{
return new(Math.Cos(-angle), Math.Sin(-angle));
}
}
public struct PointVector
{
public PointVector(Point point, Point vector)
{
Point = point;
Vector = vector;
}
public Point Point { get; set; }
public Point Vector { get; set; }
public Line ToLine()
{
var angle = -Math.Atan2(this.Vector.Y, this.Vector.X);
var b = Math.Tan(angle);
var c = this.Point.Y - (this.Point.X * b);
return new Line(b, c);
}
}
/// <summary>
/// A circle as defined by (x - a)² + (y - b)² = r².
/// </summary>
//public struct Circle
//{
// public double Radius { get; set; }
//
// public Point Position { get; set; }
//
// public Circle(double radius, Point position)
// {
// Radius = radius;
// Position = position;
// }
//}

View File

@ -0,0 +1,11 @@
namespace LensSimulatorCore.Workspace;
public class LightSource
{
public LightSource(LightPathSection section)
{
Section = section;
}
private LightPathSection Section { get; set; }
}

View File

@ -0,0 +1,9 @@
using LensSimulatorCore.Optical;
namespace LensSimulatorCore.Workspace;
public class Workspace
{
public List<Element> Elements = new List<Element>();
public List<LightSource> LightSources = new List<LightSource>();
}

View File

@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v7.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v7.0": {
"LensSimulatorCore/1.0.0": {
"runtime": {
"LensSimulatorCore.dll": {}
}
}
}
},
"libraries": {
"LensSimulatorCore/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]

View File

@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("LensSimulatorCore")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("LensSimulatorCore")]
[assembly: System.Reflection.AssemblyTitleAttribute("LensSimulatorCore")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@ -0,0 +1 @@
a4b71101a57db2e7cc53aa3368d6967e1ad39701

View File

@ -0,0 +1,11 @@
is_global = true
build_property.TargetFramework = net7.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = LensSimulatorCore
build_property.ProjectDir = C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\

View File

@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

View File

@ -0,0 +1 @@
04bd4ca88629d5173ee0b51ca8fd93faa8aa5ffb

View File

@ -0,0 +1,12 @@
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\bin\Debug\net7.0\LensSimulatorCore.deps.json
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\bin\Debug\net7.0\LensSimulatorCore.dll
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\bin\Debug\net7.0\LensSimulatorCore.pdb
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\LensSimulatorCore.csproj.AssemblyReference.cache
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\LensSimulatorCore.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\LensSimulatorCore.AssemblyInfoInputs.cache
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\LensSimulatorCore.AssemblyInfo.cs
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\LensSimulatorCore.csproj.CoreCompileInputs.cache
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\LensSimulatorCore.dll
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\refint\LensSimulatorCore.dll
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\LensSimulatorCore.pdb
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\ref\LensSimulatorCore.dll

View File

@ -0,0 +1,68 @@
{
"format": 1,
"restore": {
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj": {}
},
"projects": {
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj",
"projectName": "LensSimulatorCore",
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj",
"packagesPath": "C:\\Users\\tango\\.nuget\\packages\\",
"outputPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\tango\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\tango\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.5.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\tango\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@ -0,0 +1,74 @@
{
"version": 3,
"targets": {
"net7.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net7.0": []
},
"packageFolders": {
"C:\\Users\\tango\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj",
"projectName": "LensSimulatorCore",
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj",
"packagesPath": "C:\\Users\\tango\\.nuget\\packages\\",
"outputPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\tango\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"
}
}
}
}

View File

@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "ELXZaLHeA3IsTYCqQkwLGNYurz6FePlxzL+hJrsoVI5FAJX5EGuAHPzCTYS/GslziBFyO44dObttce2pZ+NFkQ==",
"success": true,
"projectFilePath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj",
"expectedPackageFiles": [],
"logs": []
}

View File

@ -0,0 +1 @@
"restore":{"projectUniqueName":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj","projectName":"LensSimulatorCore","projectPath":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj","outputPath":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\obj\\","projectStyle":"PackageReference","fallbackFolders":["C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"],"originalTargetFrameworks":["net7.0"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"C:\\Program Files\\dotnet\\library-packs":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net7.0":{"targetAlias":"net7.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"net7.0":{"targetAlias":"net7.0","imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"}}

View File

@ -0,0 +1 @@
16859882528181098

View File

@ -0,0 +1,9 @@
<Application x:Class="LensSimulatorWindows.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:LensSimulatorWindows"
StartupUri="MainWindow.xaml">
<Application.Resources>
</Application.Resources>
</Application>

View File

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace LensSimulatorWindows
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}

View File

@ -0,0 +1,10 @@
using System.Windows;
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]

View File

@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net7.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,11 @@
<Window x:Class="LensSimulatorWindows.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:LensSimulatorWindows"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
</Grid>
</Window>

View File

@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace LensSimulatorWindows
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
}
}

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]

View File

@ -0,0 +1,70 @@
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3E425E4B3F42BB166D9FF4C8B28F728A93B55702"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using LensSimulatorWindows;
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Controls.Ribbon;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
namespace LensSimulatorWindows {
/// <summary>
/// App
/// </summary>
public partial class App : System.Windows.Application {
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "7.0.3.0")]
public void InitializeComponent() {
#line 5 "..\..\..\App.xaml"
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
#line default
#line hidden
}
/// <summary>
/// Application Entry Point.
/// </summary>
[System.STAThreadAttribute()]
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "7.0.3.0")]
public static void Main() {
LensSimulatorWindows.App app = new LensSimulatorWindows.App();
app.InitializeComponent();
app.Run();
}
}
}

View File

@ -0,0 +1,24 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("LensSimulatorWindows")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("LensSimulatorWindows")]
[assembly: System.Reflection.AssemblyTitleAttribute("LensSimulatorWindows")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@ -0,0 +1 @@
8d237d588aa3da25c5cc632e575a7f1756530966

View File

@ -0,0 +1,11 @@
is_global = true
build_property.TargetFramework = net7.0-windows
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = LensSimulatorWindows
build_property.ProjectDir = C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorWindows\

View File

@ -0,0 +1,20 @@
LensSimulatorWindows
winexe
C#
.cs
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorWindows\obj\Debug\net7.0-windows\
LensSimulatorWindows
none
false
TRACE;DEBUG;NET;NET7_0;NETCOREAPP
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorWindows\App.xaml
11407045341
3-1233169557
1981462702791
MainWindow.xaml;
True

View File

@ -0,0 +1,4 @@

FC:\Users\tango\RiderProjects\LensSimulator\LensSimulatorWindows\MainWindow.xaml;;

View File

@ -0,0 +1,75 @@
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "F00A131DD7A3DD8BE845A0DF7A7CAC5E61751361"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using LensSimulatorWindows;
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Controls.Ribbon;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Effects;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using System.Windows.Media.TextFormatting;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Windows.Shell;
namespace LensSimulatorWindows {
/// <summary>
/// MainWindow
/// </summary>
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "7.0.3.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/LensSimulatorWindows;component/mainwindow.xaml", System.UriKind.Relative);
#line 1 "..\..\..\MainWindow.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "7.0.3.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
this._contentLoaded = true;
}
}
}

View File

@ -0,0 +1,71 @@
{
"format": 1,
"restore": {
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\LensSimulatorWindows.csproj": {}
},
"projects": {
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\LensSimulatorWindows.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\LensSimulatorWindows.csproj",
"projectName": "LensSimulatorWindows",
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\LensSimulatorWindows.csproj",
"packagesPath": "C:\\Users\\tango\\.nuget\\packages\\",
"outputPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\tango\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net7.0-windows"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0-windows7.0": {
"targetAlias": "net7.0-windows",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0-windows7.0": {
"targetAlias": "net7.0-windows",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
},
"Microsoft.WindowsDesktop.App.WPF": {
"privateAssets": "none"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\tango\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.5.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\tango\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@ -0,0 +1,77 @@
{
"version": 3,
"targets": {
"net7.0-windows7.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net7.0-windows7.0": []
},
"packageFolders": {
"C:\\Users\\tango\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\LensSimulatorWindows.csproj",
"projectName": "LensSimulatorWindows",
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\LensSimulatorWindows.csproj",
"packagesPath": "C:\\Users\\tango\\.nuget\\packages\\",
"outputPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\tango\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net7.0-windows"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0-windows7.0": {
"targetAlias": "net7.0-windows",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0-windows7.0": {
"targetAlias": "net7.0-windows",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
},
"Microsoft.WindowsDesktop.App.WPF": {
"privateAssets": "none"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"
}
}
}
}

Some files were not shown because too many files have changed in this diff Show More