This repository was archived by the owner on Dec 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Bump .NET version to 7.0 #807
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
482c5bf
Updated projects, removed MonoPInvokeCallback
stephen-hawley 7076692
remove ios cruft
stephen-hawley 4f19295
remove nint/IntPtr conflicts
stephen-hawley df4240c
dependency issues
stephen-hawley bdb3129
rebuild macOS runtime library
stephen-hawley 8bd8643
rebuild ios runtime project
stephen-hawley 0312bb2
type-o-matic changes
stephen-hawley c5e534d
update solution
stephen-hawley 8b5e496
incorrectly linked file
stephen-hawley 6e5acf2
fix tests
stephen-hawley 31c8f28
get tests to run - not pass - run
stephen-hawley e2bfc9d
changes to make unit tests run
stephen-hawley ebece01
changed protocol vtable implementation to use delegate *unmanaged<>
stephen-hawley 65c20df
protocol type change
stephen-hawley 085434e
protocol list fixes
stephen-hawley e966721
more protocol list types
stephen-hawley d2bd0e3
nint/nuint IntPtr UIntPtr aliasing
stephen-hawley 41f893e
closure handlind
stephen-hawley 237b2b9
fixed flow control issue with type codes for IntPtr and UIntPtr, ensu…
stephen-hawley 245c2ee
exception text changed
stephen-hawley 302be41
restore MakeDelegateFromBlindClosure
stephen-hawley 54ec94d
clean up test running code for nullability
stephen-hawley 2e3f312
get that comment committed, thanks.
stephen-hawley 9f0c2a7
remove default elements
stephen-hawley 16646d3
factor out common properties, remove defaults
stephen-hawley ccb5f15
removing defaults etc
stephen-hawley e46ed01
clean up swiftreflector csproj
stephen-hawley db6c826
minor updates
stephen-hawley 42aa91e
removed redundant property group item
stephen-hawley 16f90dd
remove dead makefile rule, cleanup up csproj files
stephen-hawley File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,92 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform> | ||
<ProjectGuid>{2BB83AA6-D9DB-432F-8FC1-7AC83E7FE97B}</ProjectGuid> | ||
<OutputType>Exe</OutputType> | ||
<RootNamespace>DylibBinder</RootNamespace> | ||
<AssemblyName>DylibBinder</AssemblyName> | ||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug</OutputPath> | ||
<DefineConstants>DEBUG;</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<ExternalConsole>true</ExternalConsole> | ||
<PlatformTarget>x64</PlatformTarget> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release</OutputPath> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<ExternalConsole>true</ExternalConsole> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="Mono.Options"> | ||
<HintPath>..\packages\Mono.Options.6.6.0.161\lib\net40\Mono.Options.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Xml" /> | ||
<Reference Include="mscorlib" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Program.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="CheckInventory.cs" /> | ||
<Compile Include="DylibBinderOptions.cs" /> | ||
<Compile Include="InnerX.cs" /> | ||
<Compile Include="StringExtensions.cs" /> | ||
<Compile Include="DBTopLevel.cs" /> | ||
<Compile Include="DBTypeDeclaration.cs" /> | ||
<Compile Include="DBFunc.cs" /> | ||
<Compile Include="DBProperty.cs" /> | ||
<Compile Include="DBParameter.cs" /> | ||
<Compile Include="DBGenericParameter.cs" /> | ||
<Compile Include="DBAssociatedType.cs" /> | ||
<Compile Include="SwiftTypeToString.cs" /> | ||
<Compile Include="DBInnerTypes.cs" /> | ||
<Compile Include="XmlGenerator.cs" /> | ||
<Compile Include="Enums.cs" /> | ||
<Compile Include="SortedSetExtensions.cs" /> | ||
<Compile Include="DylibBinderReflector.cs" /> | ||
<Compile Include="DBModule.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="README.md" /> | ||
<None Include="packages.config" /> | ||
<None Include="Makefile" /> | ||
<None Include="IgnoreList.txt" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Dynamo\Dynamo.csproj"> | ||
<Project>{D0E2964B-34C9-4FEE-A638-A10E2E4A0917}</Project> | ||
<Name>Dynamo</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\SwiftReflector\SwiftReflector.csproj"> | ||
<Project>{65E8BE11-4D82-4EA5-9D14-3CA044D443EF}</Project> | ||
<Name>SwiftReflector</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\SwiftRuntimeLibrary\SwiftRuntimeLibrary.csproj"> | ||
<Project>{B7E6CF5A-B836-41CF-988C-A83607AF5445}</Project> | ||
<Name>SwiftRuntimeLibrary</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\tom-swifty\tom-swifty.csproj"> | ||
<Project>{8CAC7366-9650-440D-A3C5-36D880285DD5}</Project> | ||
<Name>tom-swifty</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<PropertyGroup> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
</Project> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform> | ||
<OutputType>Exe</OutputType> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<Platforms>x86;AnyCPU</Platforms> | ||
<ExternalConsole>true</ExternalConsole> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Dynamo\Dynamo.csproj" /> | ||
<ProjectReference Include="..\SwiftReflector\SwiftReflector.csproj" /> | ||
<ProjectReference Include="..\SwiftRuntimeLibrary\SwiftRuntimeLibrary.csproj" /> | ||
<ProjectReference Include="..\tom-swifty\tom-swifty.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Mono.Options" Version="6.6.0.161" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use Central Package Management to keep all the package versions in sync: https://learn.microsoft.com/en-us/nuget/consume-packages/Central-Package-Management There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Opened an issue for this. |
||
</ItemGroup> | ||
<PropertyGroup> | ||
<LangVersion>latest</LangVersion> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This setting is duplicated in the two condition PropertyGroups above, remove the prior ones. |
||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move the "net7.0" to a variable defined in a root
Directory.Build.props
Then use that variable to set the TargetFramework in every project. i.e:<TargetFramework>$(DOTNET_TFM)</TargetFramework>
or
<TargetFramework>$(DOTNET_TFM)-ios</TargetFramework>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is big enough that I feel it should be its own issue: #809