diff --git a/build/corebuild.props b/build/corebuild.props index 0dba6d6..80c3fa1 100644 --- a/build/corebuild.props +++ b/build/corebuild.props @@ -1,63 +1,59 @@ - - - - - v5.0 - + - $(MSBuildThisFileDirectory)..\ + $(MSBuildThisFileDirectory)../ $(ProjectDir)src/ - $(ProjectDir)deps\ - + + win10 + x64 AnyCPU - - Windows_Debug + Windows_Debug Debug - Debug - Release - $(Configuration) + Debug + Release + Debug - true + + true true true + + Windows + Ubuntu + OSX - - + + true false full $(DefineConstants);DEBUG;TRACE - + true true pdbonly $(DefineConstants);TRACE - - win10 + + win10 + ubuntu.14.04 + osx.10.10 + $(DefaultNuGetRuntimeIdentifier) - - ubuntu.14.04 - - - - osx.10.10 - - - - x64 + + x64 + x64 @@ -65,8 +61,8 @@ $(ProjectDir)bin/ $(BinDir)obj/ - $(BinDir)$(Platform)/$(Configuration)/$(MSBuildProjectName) - $(ObjDir)$(Platform)/$(Configuration)/$(MSBuildProjectName) + $(BinDir)$(OSTarget).$(Platform).$(OptimizationGroup)/$(MSBuildProjectName) + $(ObjDir)$(OSTarget).$(Platform).$(OptimizationGroup)/$(MSBuildProjectName) diff --git a/build/corebuild.targets b/build/corebuild.targets index 73f300f..3d61c0b 100644 --- a/build/corebuild.targets +++ b/build/corebuild.targets @@ -1,10 +1,22 @@ - - - - - - - DNXCore,Version=v5.0 - + + + None + + + DNXCore,Version=v5.0 + false + true + + <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory) + <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory) + true + + + + + diff --git a/build/vsdebug.targets b/build/vsdebug.targets index fa04534..00f067b 100644 --- a/build/vsdebug.targets +++ b/build/vsdebug.targets @@ -1,7 +1,8 @@ - - + + $(OutDir) Program $(TargetPath) diff --git a/dir.props b/dir.props index 4f0fe45..dbf3f54 100644 --- a/dir.props +++ b/dir.props @@ -1,3 +1,6 @@ + + $(ProjectDir)deps\ + diff --git a/src/ImGui.NET.SampleProgram.Net46/ImGui.NET.SampleProgram.Net46.csproj b/src/ImGui.NET.SampleProgram.Net46/ImGui.NET.SampleProgram.Net46.csproj index aee3f80..6dbc739 100644 --- a/src/ImGui.NET.SampleProgram.Net46/ImGui.NET.SampleProgram.Net46.csproj +++ b/src/ImGui.NET.SampleProgram.Net46/ImGui.NET.SampleProgram.Net46.csproj @@ -6,8 +6,9 @@ x64 {47EF850E-D555-49E7-814B-68372123CB25} Exe - ImGui.NET.SampleProgram.Net46 - ImGui.NET.SampleProgram.Net46 + ImGuiNET + SampleGUIProgram + .NETFramework v4.6 512 true @@ -50,5 +51,5 @@ - + \ No newline at end of file diff --git a/src/ImGui.NET.SampleProgram/ImGui.NET.SampleProgram.csproj b/src/ImGui.NET.SampleProgram/ImGui.NET.SampleProgram.csproj index 66f347b..1cd9aeb 100644 --- a/src/ImGui.NET.SampleProgram/ImGui.NET.SampleProgram.csproj +++ b/src/ImGui.NET.SampleProgram/ImGui.NET.SampleProgram.csproj @@ -5,10 +5,9 @@ 14.0 {AE9BC745-284F-42F3-8236-C43F00000000} Exe - ImGui + ImGuiNET SampleGUIProgram true - true @@ -25,7 +24,9 @@ - + + True + ImGUI.NET diff --git a/src/ImGui.NET.SampleProgram/Program.cs b/src/ImGui.NET.SampleProgram/Program.cs index 9930369..61f11c9 100644 --- a/src/ImGui.NET.SampleProgram/Program.cs +++ b/src/ImGui.NET.SampleProgram/Program.cs @@ -1,4 +1,4 @@ -namespace ImGui +namespace ImGuiNET { public class Program { diff --git a/src/ImGui.NET.SampleProgram/SampleWindow.cs b/src/ImGui.NET.SampleProgram/SampleWindow.cs index 713592d..7927f65 100644 --- a/src/ImGui.NET.SampleProgram/SampleWindow.cs +++ b/src/ImGui.NET.SampleProgram/SampleWindow.cs @@ -10,7 +10,7 @@ using System.Threading; using System.Drawing; #endif -namespace ImGui +namespace ImGuiNET { public class SampleWindow { diff --git a/src/ImGui.NET.SampleProgram/project.json b/src/ImGui.NET.SampleProgram/project.json index 1cb0b4b..62fac6f 100644 --- a/src/ImGui.NET.SampleProgram/project.json +++ b/src/ImGui.NET.SampleProgram/project.json @@ -1,15 +1,16 @@ { - "dependencies": { - "Microsoft.NETCore.Console": "1.0.0-beta-23430", - "System.Console": "4.0.0-beta-23430", - "System.Reflection.Metadata": "1.1.1-beta-23430", - "System.Threading.Thread": "4.0.0-beta-23430" - }, - "runtimes": { - "win10-x64": {}, - "ubuntu.14.04-x64": {} - }, - "frameworks": { - "dnxcore50": {} - } + "dependencies": { + "Microsoft.NETCore.Console": "1.0.0-beta-23504", + "System.Console": "4.0.0-beta-23504", + "System.Reflection.Metadata": "1.1.1-beta-23504", + "System.Threading.Thread": "4.0.0-beta-23504" + }, + "runtimes": { + "win10-x64": { }, + "ubuntu.14.04-x64": { }, + "osx.10.10-x64": { } + }, + "frameworks": { + "dnxcore50": { } + } } \ No newline at end of file diff --git a/src/ImGui.NET/ImGui.NET.Net46.csproj b/src/ImGui.NET/ImGui.NET.Net46.csproj index 1f9eb19..f8942cf 100644 --- a/src/ImGui.NET/ImGui.NET.Net46.csproj +++ b/src/ImGui.NET/ImGui.NET.Net46.csproj @@ -8,6 +8,7 @@ ImGui ImGui.NET true + .NETFramework v4.6 false @@ -44,5 +45,5 @@ - + \ No newline at end of file diff --git a/src/ImGui.NET/project.json b/src/ImGui.NET/project.json index 4e48cce..105b709 100644 --- a/src/ImGui.NET/project.json +++ b/src/ImGui.NET/project.json @@ -2,10 +2,6 @@ "dependencies": { "Microsoft.NETCore.Console": "1.0.0-beta-23504" }, - "runtimes": { - "win10-x64": { }, - "ubuntu.14.04-x64": { } - }, "frameworks": { "dnxcore50": { } }